Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

From: Peter Rival (frival@zk3.dec.com)
Date: Sat May 05 2001 - 19:08:59 EST


Chris Wedgwood wrote:

> On Sat, May 05, 2001 at 10:43:27AM -0400, Peter Rival wrote:
>
> Has anyone looked into memory hot swap/hot add support?
>
> Adding memory probably isn't going to be too hard... but taking
> existing memory off line is tricky. You have to find some way of
> finding all the pages that are in use and then dealing with them
> appropriately, and when some are locked or contain kernel data this
> would be extremely difficult I should think.
>

Hrmm... I agree this is a hard problem. I know people smarter than I have
been thinking about this type of problem at Compaq. While I haven't talked to
them directly, my only guess would be that we'd have to hand-rewrite some page
tables after copying the page contents to a new area. It's late Saturday and
I really haven't thought this through fully, so I'm not even sure that would
work, but it's something like how we support replicated text segments on our
GS series...don't know why it wouldn't work here. *shrug*

> Especially with systems with Chipkill coming out, this would be
> great to support...
>
> Chipkill?
>

It's the IBM technology that works around bad memory by detecting single-bit
errors and removing the chip that caused it from use. I'd think of this as a
big hammer version of that in software. Besides, eventually you'll want to
replace the DIMM that has the bad chip, and what better way then while the
system is still running (as long as it's stable, of course ;) I'm just
thinking out loud, so someone can correct me if I'm being loopy...

 - Pete

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:22 EST