Re: [RFC v2 PATCH 4/8] mm: add mirrored memory to buddy system

2015-06-29 Thread Kamezawa Hiroyuki
On 2015/06/27 11:25, Xishi Qiu wrote: Before free bootmem, set mirrored pageblock's migratetype to MIGRATE_MIRROR, so they could free to buddy system's MIGRATE_MIRROR list. When set reserved memory, skip the mirrored memory. Signed-off-by: Xishi Qiu --- include/linux/memblock.h | 3 +++ mm/

[RFC v2 PATCH 4/8] mm: add mirrored memory to buddy system

2015-06-26 Thread Xishi Qiu
Before free bootmem, set mirrored pageblock's migratetype to MIGRATE_MIRROR, so they could free to buddy system's MIGRATE_MIRROR list. When set reserved memory, skip the mirrored memory. Signed-off-by: Xishi Qiu --- include/linux/memblock.h | 3 +++ mm/memblock.c| 21 +++