Re: [PATCH v2 0/5] Add movablecore_map boot option

From: Tang Chen
Date: Wed Nov 28 2012 - 20:25:05 EST


On 11/29/2012 08:43 AM, Jaegeuk Hanse wrote:
Hi Tang,

I haven't read the patchset yet, but could you give a short describe how
you design your implementation in this patchset?

Regards,
Jaegeuk


Hi Jaegeuk,

Thanks for your joining in. :)

This feature is used in memory hotplug.

In order to implement a whole node hotplug, we need to make sure the
node contains no kernel memory, because memory used by kernel could
not be migrated. (Since the kernel memory is directly mapped,
VA = PA + __PAGE_OFFSET. So the physical address could not be changed.)

With this boot option, user could specify all the memory on a node to
be movable(which means they are in ZONE_MOVABLE), so that the node
could be hot-removed.

Thanks.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/