diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-05-06 23:50:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 21:12:57 +0200 |
commit | 906e0be197232c219197d058ef5095baa7764cd4 (patch) | |
tree | 0b2401f5448ddb1b856da8c080e71e0080183c41 /kernel/exit.c | |
parent | slob: fix page order calculation on not 4KB page (diff) | |
download | linux-906e0be197232c219197d058ef5095baa7764cd4.tar.xz linux-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 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions