Re: [RFC PATCH] memory driver: make phys_index/end_phys_index reflect the start/end section number
From: Nathan Fontenot
Date: Tue Apr 08 2014 - 14:23:28 EST
On 04/08/2014 11:13 AM, Dave Hansen wrote:
> On 04/08/2014 01:27 AM, Li Zhong wrote:
>> If Dave and others don't have further objections, it seems this small
>> userspace incompatibility could be accepted by most of us, and I don't
>> need to make a version 2.
>
> Let me ask another question then. What are the units of
> phys_index/end_phys_index? How do we expose those units to userspace?
>
The documentation for these files just states that the files contain
the first and last section id of memory in the memory block for
phys_index and end_phys_index respectively.
I'm not sure the values have ever been units of anything, at least not
that I remember.
-Nathan
--
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/