summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorAkinobu Mita2009-09-22 02:01:47 +0200
committerLinus Torvalds2009-09-22 16:17:30 +0200
commit945a11136ebdfa7fcce319ee6215958e84cb85f6 (patch)
tree0553ecd55e5805ea147d6a0f6eae0686d5630cf5 /mm/vmalloc.c
parentvmscan: kill unnecessary prefetch (diff)
downloadkernel-qcow2-linux-945a11136ebdfa7fcce319ee6215958e84cb85f6.tar.gz
kernel-qcow2-linux-945a11136ebdfa7fcce319ee6215958e84cb85f6.tar.xz
kernel-qcow2-linux-945a11136ebdfa7fcce319ee6215958e84cb85f6.zip
mm: add gfp mask checking for __get_free_pages()
__get_free_pages() with __GFP_HIGHMEM is not safe because the return address cannot represent a highmem page. get_zeroed_page() already has such a debug checking. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions