Re: [RFC 2/8] Basic allocation for higher order page cache pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: > Variable Order Page Cache: Add basic allocation functions > > Extend __page_cache_alloc to take an order parameter and > modify caller sites. Modify mapping_set_gfp_mask to set > __GFP_COMP if the mapping requires higher order allocations.

Re: [RFC 2/8] Basic allocation for higher order page cache pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: Variable Order Page Cache: Add basic allocation functions Extend __page_cache_alloc to take an order parameter and modify caller sites. Modify mapping_set_gfp_mask to set __GFP_COMP if the mapping requires higher order allocations.

[RFC 2/8] Basic allocation for higher order page cache pages

2007-04-19 Thread Christoph Lameter
Variable Order Page Cache: Add basic allocation functions Extend __page_cache_alloc to take an order parameter and modify caller sites. Modify mapping_set_gfp_mask to set __GFP_COMP if the mapping requires higher order allocations. put_page() is already capable of handling compound pages. So

[RFC 2/8] Basic allocation for higher order page cache pages

2007-04-19 Thread Christoph Lameter
Variable Order Page Cache: Add basic allocation functions Extend __page_cache_alloc to take an order parameter and modify caller sites. Modify mapping_set_gfp_mask to set __GFP_COMP if the mapping requires higher order allocations. put_page() is already capable of handling compound pages. So