Repository navigation
Commit 8e7e40d
memory hotplug: make pages from movable zone always isolatable
Pages on movable zone have two types, MIGRATE_MOVABLE and MIGRATE_RESERVE,
both them can be movable, because only movable memory allocation can get
pages from movable zone. This makes pages in movable zone always be able
to migrate.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Yakui Zhao <yakui.zhao@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 6fb332f commit 8e7e40d
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4906 | 4906 | | |
4907 | 4907 | | |
4908 | 4908 | | |
| 4909 | + | |
4909 | 4910 | | |
4910 | 4911 | | |
| 4912 | + | |
4911 | 4913 | | |
4912 | 4914 | | |
4913 | 4915 | | |
4914 | 4916 | | |
4915 | | - | |
| 4917 | + | |
| 4918 | + | |
4916 | 4919 | | |
4917 | 4920 | | |
4918 | 4921 | | |
| |||
0 commit comments