[PATCH 7/7] powerpc numa: Consolidate assignment of cpus to nodes

Michael Ellerman michael at ellerman.id.au
Wed Mar 22 10:09:14 EST 2006


On Wed, 22 Mar 2006 06:16, Nathan Lynch wrote:
> On Tue, 2006-03-21 at 10:38 -0800, Dave Hansen wrote:
> > By the way, what do the "l" and "h" in front of "cpu" mean anyway?
>
> "logical" and "hot"?  I dunno, just seemed to be the convention in other
> cpu notifiers at the time the code was written.

Ouch, that's unfortunate. In the powerpc code hcpu _usually_ means hard cpu 
number, as opposed to logical (lcpu). In this case though it looks like hcpu 
holds the logical cpu number, which is a bit icky. That might be worth 
fixing.

cheers

-- 
Michael Ellerman
IBM OzLabs

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060322/fd31ccd8/attachment.pgp>


More information about the Linuxppc-dev mailing list