[PATCH] mm: clean up pagecache allocation
authorNick Piggin <npiggin@suse.de>
Sat, 28 Oct 2006 17:38:23 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:50 +0000 (11:30 -0700)
commit2ae88149a27cadf2840e0ab8155bef13be285c03
treee6873cc050973db6f2b01568a5e1faa6c981d139
parent858cbcdd4f7a235f609249b9ca681b7ec5d786a3
[PATCH] mm: clean up pagecache allocation

- Consolidate page_cache_alloc

- Fix splice: only the pagecache pages and filesystem data need to use
  mapping_gfp_mask.

- Fix grab_cache_page_nowait: same as splice, also honour NUMA placement.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/splice.c
include/linux/pagemap.h
mm/filemap.c