]> git.baikalelectronics.ru Git - kernel.git/commit
mm: export find_extend_vma() and handle_mm_fault() for driver use
authorJesse Barnes <jbarnes@virtuousgeek.org>
Sat, 13 Dec 2014 00:55:27 +0000 (16:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:47 +0000 (12:42 -0800)
commit9380d16324df461de079f4193384dba4dcd68baf
tree60cba1a90f20e629af163fb7d4f0abb8b4ee78b9
parent6d808c20ed5ae5d4fb0264e7254cea41e446a7e5
mm: export find_extend_vma() and handle_mm_fault() for driver use

This lets drivers like the AMD IOMMUv2 driver handle faults a bit more
simply, rather than doing tricks with page refs and get_user_pages().

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Oded Gabbay <oded.gabbay@amd.com>
Cc: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c
mm/mmap.c