Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Nathan Fontenot
On 07/13/2010 09:00 AM, Brian King wrote: > On 07/12/2010 10:42 AM, Nathan Fontenot wrote: >> @@ -123,13 +130,20 @@ >> static ssize_t show_mem_removable(struct sys_device *dev, >> struct sysdev_attribute *attr, char *buf) >> { >> -unsigned long start_pfn; >> -int ret;

Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Nathan Fontenot
Thanks for the review, answers below... -Nathan On 07/13/2010 01:18 AM, KAMEZAWA Hiroyuki wrote: > > plz cc linux-mm in the next time... > And please incudes updates for Documentation/memory-hotplug.txt. > will do. > > On Mon, 12 Jul 2010 10:42:06 -0500 > Nathan Fontenot wrote: > >> This pa

Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Brian King
On 07/12/2010 10:42 AM, Nathan Fontenot wrote: > @@ -123,13 +130,20 @@ > static ssize_t show_mem_removable(struct sys_device *dev, > struct sysdev_attribute *attr, char *buf) > { > - unsigned long start_pfn; > - int ret; > - struct memory_block *mem = > -

Re: [PATCH 1/7] Split the memory_block structure

2010-07-12 Thread KAMEZAWA Hiroyuki
plz cc linux-mm in the next time... And please incudes updates for Documentation/memory-hotplug.txt. On Mon, 12 Jul 2010 10:42:06 -0500 Nathan Fontenot wrote: > This patch splits the memory_block struct into a memory_block > struct to cover each sysfs directory and a new memory_block_section >

[PATCH 1/7] Split the memory_block structure

2010-07-12 Thread Nathan Fontenot
This patch splits the memory_block struct into a memory_block struct to cover each sysfs directory and a new memory_block_section struct for each memory section covered by the sysfs directory. This also updates the routine handling memory_block creation and manipulation to use these updated struct