diff options
| author | Shaohua Li <[email protected]> | 2009-09-22 00:01:17 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-22 14:17:25 +0000 |
| commit | 6fb332fabd7288af9dbe7992394aa6ba97c1a537 (patch) | |
| tree | 261fe72f01461d65532730f283108be2306b80b5 /mm/sparse.c | |
| parent | memory hotplug: update zone pcp at memory online (diff) | |
| download | kernel-6fb332fabd7288af9dbe7992394aa6ba97c1a537.tar.gz kernel-6fb332fabd7288af9dbe7992394aa6ba97c1a537.zip | |
memory hotplug: exclude isolated page from pco page alloc
Pages marked as isolated should not be allocated again. If such pages
reside in pcp list, they can be allocated too, so there is a ping-pong
memory offline frees some pages to pcp list and the pages get allocated
and then memory offline frees them again, this loop will happen again and
again.
This should have no impact in normal code path, because in normal code
path, pages in pcp list aren't isolated, and below loop will break in the
first entry.
Signed-off-by: Shaohua Li <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Yakui Zhao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
