commit | 945a11136ebdfa7fcce319ee6215958e84cb85f6 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Mon Sep 21 17:01:47 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Sep 22 07:17:30 2009 -0700 |
tree | 0553ecd55e5805ea147d6a0f6eae0686d5630cf5 | |
parent | a26f5320c4ee3d46a0da48fa0f3ac6a00b575793 [diff] |
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>