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

From: Yasuaki Ishimatsu
Date: Fri Jan 18 2013 - 01:06:34 EST


2013/01/18 5:28, KOSAKI Motohiro wrote:
On 1/17/2013 11:30 AM, Luck, Tony wrote:
2. If the user *does* care which nodes are movable, then the user needs
to be able to specify that *in a way that makes sense to the user*.
This may mean involving the DMI information as well as SRAT in order to
get "silk screen" type information out.

One reason they might care would be which I/O devices are connected
to each node. DMI might be a good way to get an invariant name for the
node, but they might also want to specify in terms of what they actually
want. E.g. "eth0 and eth4 are a redundant bonded pair of NICs - don't
mark both these nodes as removable". Though this is almost certainly not
a job for kernel options, but for some user configuration tool that would
spit out the DMI names.

I agree DMI parsing should be done in userland if we really need DMI parsing.


If users use the boot parameter for bugs or debugging, users need
a method which sets in detail range of movable memory. So specifying
node number is not enough because whole memory becomes movable memory.

For this, we are discussing other ways, memory range and DMI information.
By using DMI information, users may get an invariant name. But is it
really user friendly interface? I don't think so.

You will think using memory range is not user friendly interface too.
But I think that using memory range is friendlier than using DMI
information since we can get easily memory range. So from developper
side, using memory range is good.

Of course, using SRAT information is necessary solution. So we are
developing it now.

Thanks,
Yasuaki Ishimatsu




--
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/