Thread (14 messages) flat view 14 messages, 2 authors, 2009-10-16

Re: [PATCH 5/5 v2] kernel handling of CPU DLPAR

From: Michael Ellerman <hidden>
Date: 2009-10-16 00:52:43
Also in: lkml

On Thu, 2009-10-15 at 10:40 -0500, Nathan Fontenot wrote:
Michael Ellerman wrote:
quoted
On Tue, 2009-10-13 at 13:14 -0500, Nathan Fontenot wrote:
quoted
This adds the capability to DLPAR add and remove CPUs from the kernel. The
creates two new files /sys/devices/system/cpu/probe and
/sys/devices/system/cpu/release to handle the DLPAR addition and removal of
CPUs respectively.
How does this relate to the existing cpu hotplug mechanism? Or is this
making the cpu exist (possible), vs marking it as online?
This update makes the cpu exist, it does not mark the cpu online.
quoted
Is some other platform going to want to do the same? ie. should the
probe/release part be in generic code?
I thought about making this generic code, perhaps a follow-on patch to move
the creation of the probe/release files to generic code to see what the
community thinks.  I would assume there would still need to be a arch and/or
platforms specific callout to do the real work.
I'm not so worried about the code being generic, there's not much that
would be generic. More the mechanism. We don't want to add probe/release
to powerpc, and then have a different mechanism get added later by some
other platform, or generically.

But I guess you CC'ed lkml and there's not much more to do, I don't know
specifically who'd care about it.

cheers

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help