diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2009-09-22 04:01:47 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 18:17:30 +0400 |
commit | 945a11136ebdfa7fcce319ee6215958e84cb85f6 (patch) | |
tree | 0553ecd55e5805ea147d6a0f6eae0686d5630cf5 /mm/vmalloc.c | |
parent | a26f5320c4ee3d46a0da48fa0f3ac6a00b575793 (diff) | |
download | linux-945a11136ebdfa7fcce319ee6215958e84cb85f6.tar.xz |
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