Re: [PATCH 0/8] v5 De-couple sysfs memory directories from memory sections

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nathan Fontenot
Date: Monday, August 16, 2010 - 7:34 am

On 08/12/2010 02:08 PM, Andrew Morton wrote:

Yes, those hours are spent creating the sysfs directories for each
of the memory sections.


This shouldn't break existing installations, unless an architecture chooses
to do so.  With my patch only the powerpc/pseries arch is updated such that
what is seen in userspace is different.

The default behavior is maintained for all architectures unless they define
their own version of memory_block_size_bytes().  The default definition of
this routine (defined as __weak in Patch 5/8) sets the memory block size
to the same size it currently is, and thus preserving the exisitng 1 sysfs
directory per memory section.  The only change that will be seen is a new
propery for memory section, end_phys_addr, which will have the same value
as the existing 'phys_addr' property.


Yes,  I am working on getting more time on our large systems to get
performance numbers with this patch.  I'll post them when I get them.

-Nathan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/8] v5 Move the find_memory_block() routine up, Nathan Fontenot, (Mon Aug 9, 11:35 am)
[PATCH 2/8] v5 Add new phys_index properties, Nathan Fontenot, (Mon Aug 9, 11:36 am)
[PATCH 3/8] v5 Add section count to memory_block, Nathan Fontenot, (Mon Aug 9, 11:37 am)
[PATCH 4/8] v5 Add mutex for add/remove of memory blocks, Nathan Fontenot, (Mon Aug 9, 11:38 am)
[PATCH 6/8] v5 Update the node sysfs code, Nathan Fontenot, (Mon Aug 9, 11:41 am)
[PATCH 8/8] v5 Update memory-hotplug documentation, Nathan Fontenot, (Mon Aug 9, 11:43 am)
Re: [PATCH 8/8] v5 Update memory-hotplug documentation, Nishanth Aravamudan, (Mon Aug 9, 1:44 pm)
Re: [PATCH 8/8] v5 Update memory-hotplug documentation, Nishanth Aravamudan, (Mon Aug 9, 1:48 pm)
Re: [PATCH 8/8] v5 Update memory-hotplug documentation, Nathan Fontenot, (Tue Aug 10, 5:17 am)
Re: [PATCH 0/8] v5 De-couple sysfs memory directories from ..., Nathan Fontenot, (Mon Aug 16, 7:34 am)