Re: [PATCH 4/7] Allow sysfs memory directories to be split

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KAMEZAWA Hiroyuki
Date: Tuesday, July 13, 2010 - 5:35 pm

On Tue, 13 Jul 2010 10:51:58 -0500
Nathan Fontenot <nfont@austin.ibm.com> wrote:


Okay, this is an offer from me.

  1. I think you can add an boot option as "don't create memory sysfs".
     please do.

  2. I'd like to write a configfs module for handling memory hotplug even when
     sysfs directroy is not created.
     Because configfs support rmdir/mkdir, the user (ppc's daemon?) has to do
     
     When offlining section X.
     # insmod configfs_memory.ko
     # mount -t configfs none /configfs
     # mkdir /configfs/memoryX
     # echo offline > /configfs/memoryX/state
     # rmdir /configfs/memoryX

  And making this operation as the default bahavior for all arch's memory hotplug may
  be better...

Dave, how do you think ? Because ppc guys uses "probe" interface already,
this can be handled... no ?

One problem is that I don't have enough knowledge about configfs..it seems complex.

Thanks,
-Kame
  

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

Messages in current thread:
[PATCH 1/7] Split the memory_block structure, Nathan Fontenot, (Mon Jul 12, 8:42 am)
[PATCH 2/7] Create the new 'end_phys_index' file, Nathan Fontenot, (Mon Jul 12, 8:43 am)
[PATCH 3/7] Update the [register,unregister]_memory routines, Nathan Fontenot, (Mon Jul 12, 8:44 am)
[PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Mon Jul 12, 8:45 am)
[PATCH 5/7] update the mutex name in the memory_block struct, Nathan Fontenot, (Mon Jul 12, 8:46 am)
Re: [PATCH 1/7] Split the memory_block structure, KAMEZAWA Hiroyuki, (Mon Jul 12, 11:18 pm)
Re: [PATCH 3/7] Update the [register,unregister]_memory ro ..., KAMEZAWA Hiroyuki, (Mon Jul 12, 11:20 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Mon Jul 12, 11:28 pm)
Re: [PATCH 1/7] Split the memory_block structure, Brian King, (Tue Jul 13, 7:00 am)
Re: [PATCH 1/7] Split the memory_block structure, Nathan Fontenot, (Tue Jul 13, 8:44 am)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Tue Jul 13, 8:51 am)
Re: [PATCH 1/7] Split the memory_block structure, Nathan Fontenot, (Tue Jul 13, 8:59 am)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Tue Jul 13, 5:35 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Tue Jul 13, 8:18 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Tue Jul 13, 8:25 pm)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, KAMEZAWA Hiroyuki, (Wed Jul 14, 1:30 am)
Re: [PATCH 4/7] Allow sysfs memory directories to be split, Nathan Fontenot, (Wed Jul 14, 10:16 am)