[Hotplug_sig] [Lhms-devel] hot-remove patches/instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 14, 2006 at 06:39:38PM -0700, Bryce Harrington wrote:
> On Thu, Jun 15, 2006 at 10:32:46AM +0900, KAMEZAWA Hiroyuki wrote:
> > On Wed, 14 Jun 2006 18:06:28 -0700
> > Bryce Harrington <bryce at osdl.org> wrote:
> > > > There is no available patch for recent kernel now.
> > > > I'll rewrite old sample codes for memory-hot-remove after memory-hot-add 
> > > > stablization. It needs some more fixes.
> > > 
> > > Can you point Jake at one for an older kernel?  For developing a test
> > > suite for hot remove, we can set the machine to that old kernel in the
> > > meantime.
> > > 
> > Sorry for empty mail ;)
> > 
> > As Mel-san pointed, you can find patches in Dave-san's http://sr71.net/patches/.
> > 
> > I think http://sr71.net/patches/2.6.14/2.6.14-rc1-mhp1/ is the most recent one.
> > If it doesn't work, please try older -mhp kernels.
> 
> Thanks, yes of course I saw that one right after I replied to yours.
> Oops!

I had a pretty good memory remove (on POWER) demo working back on
linux-2.6.12-rc3.  Wow that was long ago!!!

But, I recall 'starting' with the -mhp kernel.  Needed/wanted to add some
code to make the offline operations interruptable (otherwise it might try
forever to migrate a page that was impossible to migrate).  I then merged
in Mel Gorman's fragmentation avoidance patches.  Also added some code to
export 'memory usage' (based on Mel's Patch) back to user land.  Needed this
piece to determine what sections were good candidates for remove.

Don't want to discourage you, but it may take more effort than slapping on
an old mhp patchset to get a decent implementation of memory remove.
-- 
Mike


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux