Re: about page migration on UMA

Dave Hansen
2007-11-09T21:30:53Z

On Fri, 2007-11-09 at 11:58 -0800, Christoph Lameter wrote:
> Well one idea is to generate a sysfs file that can take a physical memory
> range? echo the range to the sysfs file. The kernel can then try to
> vacate the memory range.

When memory hotplug is on, you should see memory broken up into
"sections", and exported in sysfs today:

/sys/devices/system/memory

You can on/offline memory from there, and it should be pretty easy to
figure out the physical addresses with the phys_index file.

-- Dave