]> err.no Git - linux-2.6/commit
Fix: find_or_create_page skips cpuset memory spreading.
authorChristoph Lameter <clameter@sgi.com>
Wed, 16 May 2007 06:57:09 +0000 (23:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 04:19:15 +0000 (21:19 -0700)
commit43c0f3d25c602dc96b201ed81ffda0bc600ff969
tree88ecad9eda4797693a97e0bcdf7ced13be99f3bd
parent8382d2b9a7205fe1fb262f59237715a40c911880
Fix: find_or_create_page skips cpuset memory spreading.

We call alloc_page where we should be calling __page_cache_alloc.

__page_cache_alloc performs cpuset memory spreading.  alloc_page does not.
There is no reason that pages allocated via find_or_create should be
exempt.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c