Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Keiichiro Tokunaga
On Thu, 21 Apr 2005 17:39:20 -0700 Greg KH wrote: > On Fri, Apr 22, 2005 at 12:30:09AM +0900, Keiichiro Tokunaga wrote: > > +#ifdef CONFIG_HOTPLUG > > +void unregister_node(struct node *node) > > +{ > > + sysdev_remove_file(>sysdev, _cpumap); > > + sysdev_remove_file(>sysdev, _meminfo); > > +

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Greg KH
On Fri, Apr 22, 2005 at 12:30:09AM +0900, Keiichiro Tokunaga wrote: > +#ifdef CONFIG_HOTPLUG > +void unregister_node(struct node *node) > +{ > + sysdev_remove_file(>sysdev, _cpumap); > + sysdev_remove_file(>sysdev, _meminfo); > + sysdev_remove_file(>sysdev, _numastat); > +

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Keiichiro Tokunaga
On Wed, 20 Apr 2005 10:32:35 -0700 Greg KH wrote: > On Wed, Apr 20, 2005 at 09:07:44PM +0900, Keiichiro Tokunaga wrote: > > This is to add a generic function 'unregister_node()'. > > It is used to remove objects of a node going away for > > hotplug. If CONFIG_HOTPLUG=y, it becomes available. >

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Keiichiro Tokunaga
On Wed, 20 Apr 2005 14:35:10 +0200 Arjan van de Ven wrote: > > > diff -puN drivers/base/node.c~numa_hp_base drivers/base/node.c > > --- linux-2.6.12-rc2-mm3/drivers/base/node.c~numa_hp_base 2005-04-14 > > 20:49:37.0 +0900 > > +++ linux-2.6.12-rc2-mm3-kei/drivers/base/node.c

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Keiichiro Tokunaga
On Wed, 20 Apr 2005 14:35:10 +0200 Arjan van de Ven wrote: diff -puN drivers/base/node.c~numa_hp_base drivers/base/node.c --- linux-2.6.12-rc2-mm3/drivers/base/node.c~numa_hp_base 2005-04-14 20:49:37.0 +0900 +++ linux-2.6.12-rc2-mm3-kei/drivers/base/node.c2005-04-14

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Keiichiro Tokunaga
On Wed, 20 Apr 2005 10:32:35 -0700 Greg KH wrote: On Wed, Apr 20, 2005 at 09:07:44PM +0900, Keiichiro Tokunaga wrote: This is to add a generic function 'unregister_node()'. It is used to remove objects of a node going away for hotplug. If CONFIG_HOTPLUG=y, it becomes available. This is

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Greg KH
On Fri, Apr 22, 2005 at 12:30:09AM +0900, Keiichiro Tokunaga wrote: +#ifdef CONFIG_HOTPLUG +void unregister_node(struct node *node) +{ + sysdev_remove_file(node-sysdev, attr_cpumap); + sysdev_remove_file(node-sysdev, attr_meminfo); + sysdev_remove_file(node-sysdev,

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-21 Thread Keiichiro Tokunaga
On Thu, 21 Apr 2005 17:39:20 -0700 Greg KH wrote: On Fri, Apr 22, 2005 at 12:30:09AM +0900, Keiichiro Tokunaga wrote: +#ifdef CONFIG_HOTPLUG +void unregister_node(struct node *node) +{ + sysdev_remove_file(node-sysdev, attr_cpumap); + sysdev_remove_file(node-sysdev, attr_meminfo);

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-20 Thread Greg KH
On Wed, Apr 20, 2005 at 09:07:44PM +0900, Keiichiro Tokunaga wrote: > This is to add a generic function 'unregister_node()'. > It is used to remove objects of a node going away for > hotplug. If CONFIG_HOTPLUG=y, it becomes available. > This is against 2.6.12-rc2-mm3. Please CC: this kind of

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-20 Thread Arjan van de Ven
> diff -puN drivers/base/node.c~numa_hp_base drivers/base/node.c > --- linux-2.6.12-rc2-mm3/drivers/base/node.c~numa_hp_base 2005-04-14 > 20:49:37.0 +0900 > +++ linux-2.6.12-rc2-mm3-kei/drivers/base/node.c 2005-04-14 > 20:49:37.0 +0900 > @@ -136,7 +136,7 @@ static

[RFC/PATCH] unregister_node() for hotplug use

2005-04-20 Thread Keiichiro Tokunaga
This is to add a generic function 'unregister_node()'. It is used to remove objects of a node going away for hotplug. If CONFIG_HOTPLUG=y, it becomes available. This is against 2.6.12-rc2-mm3. Thanks, Keiichiro Tokunaga Signed-off-by: Keiichiro Tokunaga <[EMAIL PROTECTED]> ---

[RFC/PATCH] unregister_node() for hotplug use

2005-04-20 Thread Keiichiro Tokunaga
This is to add a generic function 'unregister_node()'. It is used to remove objects of a node going away for hotplug. If CONFIG_HOTPLUG=y, it becomes available. This is against 2.6.12-rc2-mm3. Thanks, Keiichiro Tokunaga Signed-off-by: Keiichiro Tokunaga [EMAIL PROTECTED] ---

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-20 Thread Arjan van de Ven
diff -puN drivers/base/node.c~numa_hp_base drivers/base/node.c --- linux-2.6.12-rc2-mm3/drivers/base/node.c~numa_hp_base 2005-04-14 20:49:37.0 +0900 +++ linux-2.6.12-rc2-mm3-kei/drivers/base/node.c 2005-04-14 20:49:37.0 +0900 @@ -136,7 +136,7 @@ static

Re: [RFC/PATCH] unregister_node() for hotplug use

2005-04-20 Thread Greg KH
On Wed, Apr 20, 2005 at 09:07:44PM +0900, Keiichiro Tokunaga wrote: This is to add a generic function 'unregister_node()'. It is used to remove objects of a node going away for hotplug. If CONFIG_HOTPLUG=y, it becomes available. This is against 2.6.12-rc2-mm3. Please CC: this kind of stuff