2013/01/18 15:25, H. Peter Anvin wrote:
We already do DMI parsing in the kernel...
Thank you for giving the infomation.
Is your mention /sys/firmware/dmi/entries?
If so, my box does not have memory information.
My box has only type 0, 1, 2, 3, 4, 7, 8, 9, 38, 127 in DMI.
At least, my box cannot use the information...
If users use the boot parameter for investigating firmware bugs
or debugging, users cannot use DMI information on like my box.
Thanks,
Yasuaki Ishimatsu
Yasuaki Ishimatsu <isimatu.yasuaki@xxxxxxxxxxxxxx> wrote:
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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>