Skip to content
  • Cliff Wickman's avatar
    mm: export mmu notifier invalidates · fa794199
    Cliff Wickman authored
    
    
    We at SGI have a need to address some very high physical address ranges
    with our GRU (global reference unit), sometimes across partitioned
    machine boundaries and sometimes with larger addresses than the cpu
    supports.  We do this with the aid of our own 'extended vma' module
    which mimics the vma.  When something (either unmap or exit) frees an
    'extended vma' we use the mmu notifiers to clean them up.
    
    We had been able to mimic the functions
    __mmu_notifier_invalidate_range_start() and
    __mmu_notifier_invalidate_range_end() by locking the per-mm lock and
    walking the per-mm notifier list.  But with the change to a global srcu
    lock (static in mmu_notifier.c) we can no longer do that.  Our module has
    no access to that lock.
    
    So we request that these two functions be exported.
    
    Signed-off-by: default avatarCliff Wickman <cpw@sgi.com>
    Acked-by: default avatarRobin Holt <holt@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    fa794199