Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread KAMEZAWA Hiroyuki
On Wed, 31 Oct 2007 14:55:03 -0700 Dave Hansen <[EMAIL PROTECTED]> wrote: > On Wed, 2007-10-31 at 14:11 -0800, Badari Pulavarty wrote: > > > > Well, We don't need arch-specific remove_memory() for ia64 and ppc64. > > x86_64, I don't know. We will know, only when some one does the > > verification

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Dave Hansen
On Wed, 2007-10-31 at 14:11 -0800, Badari Pulavarty wrote: > > Well, We don't need arch-specific remove_memory() for ia64 and ppc64. > x86_64, I don't know. We will know, only when some one does the > verification. I don't need arch_remove_memory() hook also at this > time. I wasn't being very cl

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Dale Farnsworth
Badari Pulavarty wrote: > On Thu, 2007-11-01 at 01:26 -0500, Kumar Gala wrote: > > On Oct 31, 2007, at 11:49 AM, Badari Pulavarty wrote: > > > > > Supply arch specific remove_memory() for PPC64. There is nothing > > > ppc specific code here and its exactly same as ia64 version. > > > For now, lets

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Badari Pulavarty
On Wed, 2007-10-31 at 13:45 -0700, Dave Hansen wrote: > On Wed, 2007-10-31 at 08:49 -0800, Badari Pulavarty wrote: > > +#ifdef CONFIG_MEMORY_HOTREMOVE > > +int remove_memory(u64 start, u64 size) > > +{ > > + unsigned long start_pfn, end_pfn; > > + unsigned long timeout = 120 * HZ; > > + int r

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Badari Pulavarty
On Wed, 2007-10-31 at 13:45 -0700, Dave Hansen wrote: > On Wed, 2007-10-31 at 08:49 -0800, Badari Pulavarty wrote: > > +#ifdef CONFIG_MEMORY_HOTREMOVE > > +int remove_memory(u64 start, u64 size) > > +{ > > + unsigned long start_pfn, end_pfn; > > + unsigned long timeout = 120 * HZ; > > + int r

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Dave Hansen
On Wed, 2007-10-31 at 08:49 -0800, Badari Pulavarty wrote: > +#ifdef CONFIG_MEMORY_HOTREMOVE > +int remove_memory(u64 start, u64 size) > +{ > + unsigned long start_pfn, end_pfn; > + unsigned long timeout = 120 * HZ; > + int ret; > + start_pfn = start >> PAGE_SHIFT; > + end_pfn =

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Badari Pulavarty
On Thu, 2007-11-01 at 01:26 -0500, Kumar Gala wrote: > On Oct 31, 2007, at 11:49 AM, Badari Pulavarty wrote: > > > Supply arch specific remove_memory() for PPC64. There is nothing > > ppc specific code here and its exactly same as ia64 version. > > For now, lets keep it arch specific - so each arc

Re: [PATCH 1/3] Add remove_memory() for ppc64

2007-10-31 Thread Kumar Gala
On Oct 31, 2007, at 11:49 AM, Badari Pulavarty wrote: > Supply arch specific remove_memory() for PPC64. There is nothing > ppc specific code here and its exactly same as ia64 version. > For now, lets keep it arch specific - so each arch can add > its own special things if needed. > > Signed-off-b