Re: [PATCH 0/8] v2 De-Couple sysfs memory directories from memory sections
From: Kay Sievers
Date: Wed Sep 29 2010 - 09:40:27 EST
On Wed, Sep 29, 2010 at 14:37, Greg KH <greg@xxxxxxxxx> wrote:
> On Wed, Sep 29, 2010 at 10:32:34AM +0200, Avi Kivity wrote:
>> ÂOn 09/29/2010 04:50 AM, Greg KH wrote:
>>> >
>>> > ÂBecause the old ABI creates 129,000+ entries inside
>>> > Â/sys/devices/system/memory with their associated links from
>>> > Â/sys/devices/system/node/node*/ back to those directory entries.
>>> >
>>> > ÂThankfully things like rpm, hald, and other miscellaneous commands scan
>>> > Âthat information.
>>>
>>> Really? ÂWhy? ÂWhy would rpm care about this? Âhald is dead now so we
>>> don't need to worry about that anymore,
>>
>> That's not what compatiblity means. ÂWe can't just support
>> latest-and-greatest userspace on latest-and-greatest kernels.
>
> Oh, I know that, that's not what I was getting at at all here, sorry if
> it came across that way.
>
> I wanted to know so we could go fix programs that are mucking around in
> these files, as odds are, the shouldn't be doing that in the first
> place.
>
> Like rpm, why would it matter what the memory in the system looks like?
HAL does many inefficient things, but I don't think it's using
/sys/system/, besides that it may check the cpufreq govenors state
there.
Kay
--
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/