]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Avoid using __GFP_HIGHMEM with slab allocator
authorYan Zheng <zheng.yan@oracle.com>
Thu, 12 Feb 2009 15:06:04 +0000 (10:06 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 12 Feb 2009 15:06:04 +0000 (10:06 -0500)
commitb18c8dcd1d035db4ca11e59533bebb61708f0d17
treef99286083d21fdc298b50d3d47dc96a9f1f54bb8
parent442d09fa94f0e803199aaef7b1b3d5278bf68b9c
Btrfs: Avoid using __GFP_HIGHMEM with slab allocator

btrfs_releasepage may call kmem_cache_alloc indirectly,
and provide same GFP flags it gets to kmem_cache_alloc.
So it's possible to use __GFP_HIGHMEM with the slab
allocator.

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/inode.c