]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm: add zap_vma_ptes(): a library function to unmap driver ptes
authorJack Steiner <steiner@sgi.com>
Wed, 30 Jul 2008 05:33:53 +0000 (22:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:47 +0000 (09:41 -0700)
commitc627f9cc046c7cd93b4525d89377fb409e170a18
tree851913d2ebd2946b577592fb410f750e6fdc943b
parentf718cd4add5aea9d379faff92f162571e356cc5f
mm: add zap_vma_ptes(): a library function to unmap driver ptes

zap_vma_ptes() is intended to be used by drivers to unmap ptes assigned to the
driver private vmas.  This interface is similar to zap_page_range() but is
less general & less likely to be abused.

Needed by the GRU driver.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/memory.c