diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-05-06 14:50:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 12:12:57 -0700 |
commit | 906e0be197232c219197d058ef5095baa7764cd4 (patch) | |
tree | 0b2401f5448ddb1b856da8c080e71e0080183c41 /arch/blackfin/lib | |
parent | 4ab688c51226188f2d4ad4f789032c107944ef89 (diff) | |
download | linux-stable-906e0be197232c219197d058ef5095baa7764cd4.tar.gz linux-stable-906e0be197232c219197d058ef5095baa7764cd4.tar.bz2 linux-stable-906e0be197232c219197d058ef5095baa7764cd4.zip |
page migration: Only migrate pages if allocation in the highest zone is possible
Address spaces contain an allocation flag that specifies restriction on the
zone for pages placed in the mapping. I.e. some device may require pages
to be allocated from a DMA zone. Block devices may not be able to use
pages from HIGHMEM.
Memory policies and the common use of page migration works only on the
highest zone. If the address space does not allow allocation from the
highest zone then the pages in the address space are not migratable simply
because we can only allocate memory for a specified node if we allow
allocation for the highest zone on each node.
Acked-by: Hugh Dickins <hugh@veritas.com>
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>
Diffstat (limited to 'arch/blackfin/lib')
0 files changed, 0 insertions, 0 deletions