aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2007-05-16 22:11:21 -0700
committerLinus Torvalds <[email protected]>2007-05-17 05:23:06 -0700
commitea125892a17f43919c726777ed1e4929d41e7984 (patch)
tree4d349a456bca4005d021d10c063ecb79c42ff4bc /include/linux/debugobjects.h
parent8d98a690f58e0d6ecf424b7ca84488475cf87bd9 (diff)
Fix page allocation flags in grow_dev_page()
grow_dev_page() simply passes GFP_NOFS to find_or_create_page. This means the allocation of radix tree nodes is done with GFP_NOFS and the allocation of a new page is done using GFP_NOFS. The mapping has a flags field that contains the necessary allocation flags for the page cache allocation. These need to be consulted in order to get DMA and HIGHMEM allocations etc right. And yes a blockdev could be allowing Highmem allocations if its a ramdisk. Cc: Hugh Dickins <[email protected]> Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions