lkml.org 
[lkml]   [2008]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Cleanup to make remove_memory() arch neutral
On Mon, 8 Sep 2008 17:56:21 -0700 Andrew Morton wrote:

> On Mon, 08 Sep 2008 14:52:34 -0700
> Badari Pulavarty <pbadari@us.ibm.com> wrote:
>
> > There is nothing architecture specific about remove_memory().
> > remove_memory() function is common for all architectures which
> > support hotplug memory remove. Instead of duplicating it in every
> > architecture, collapse them into arch neutral function.
> >
> > Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
> >
> > arch/ia64/mm/init.c | 17 -----------------
> > arch/powerpc/mm/mem.c | 17 -----------------
> > arch/s390/mm/init.c | 11 -----------
> > mm/memory_hotplug.c | 10 ++++++++++
> > 4 files changed, 10 insertions(+), 45 deletions(-)
>
> I spent some time trying to build-test this on ia64 and gave up. How
> the heck do you turn on memory hotplug on ia64?

After using ia64 defconfig, all I had to do was enable Sparse Memory model
instead of Discontiguous.


---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/


\
 
 \ /
  Last update: 2008-09-09 03:23    [W:0.065 / U:0.564 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site