diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2009-09-22 02:01:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 16:17:30 +0200 |
commit | 945a11136ebdfa7fcce319ee6215958e84cb85f6 (patch) | |
tree | 0553ecd55e5805ea147d6a0f6eae0686d5630cf5 /kernel/exec_domain.c | |
parent | vmscan: kill unnecessary prefetch (diff) | |
download | linux-945a11136ebdfa7fcce319ee6215958e84cb85f6.tar.xz 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 'kernel/exec_domain.c')
0 files changed, 0 insertions, 0 deletions