summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorAndi Kleen2009-12-16 12:20:00 +0100
committerAndi Kleen2009-12-16 12:20:00 +0100
commitd15f107d97bd74c74d8f5144843d372666ddbdac (patch)
tree6c12d3c738c3118ccab724b5b984fc07c7e58082 /mm/Kconfig
parentHWPOISON: add an interface to switch off/on all the page filters (diff)
downloadkernel-qcow2-linux-d15f107d97bd74c74d8f5144843d372666ddbdac.tar.gz
kernel-qcow2-linux-d15f107d97bd74c74d8f5144843d372666ddbdac.tar.xz
kernel-qcow2-linux-d15f107d97bd74c74d8f5144843d372666ddbdac.zip
HWPOISON: Use get_user_page_fast in hwpoison madvise
The previous version didn't take the mmap_sem before calling gup(), which is racy. Use get_user_pages_fast() instead which doesn't need any locks. This is also faster of course, but then it doesn't really matter because this is just a testing path. Based on report from Nick Piggin. Cc: npiggin@suse.de Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions