[03/17] Fix: find_or_create_page does not spread memory.

2007-04-24 Thread clameter
The find_or_create function calls alloc_page with the gfp_mask passed to it which is derived from the mappings gfp mask. So the allocation flags are right (assuming my bugfix to fs/buffer.c is applied). However, we call a alloc_page instead of page_cache_alloc in find_or_create_page. This means

[03/17] Fix: find_or_create_page does not spread memory.

2007-04-24 Thread clameter
The find_or_create function calls alloc_page with the gfp_mask passed to it which is derived from the mappings gfp mask. So the allocation flags are right (assuming my bugfix to fs/buffer.c is applied). However, we call a alloc_page instead of page_cache_alloc in find_or_create_page. This means