Re: [patch 02/41] cpu alloc: The allocator

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <clameter@...>, <linux-arch@...>, <linux-kernel@...>, <davem@...>, <dada1@...>, <peterz@...>, <rusty@...>, <travis@...>
Date: Monday, June 2, 2008 - 5:29 am

Andrew wrote:

A few, key symbols get to be special ... short but distinctive names
that become (in)famous.  The classic was "u", for the per-user
structure, aka the "user area", in old Unix kernels.  In people's
names, a few one word or first names such as "Ike", "Madonna", "Ali",
"Tiger", "Cher", "Mao", "OJ", "Plato", "Linus", ... have become
distinctive and well known to many people.

How about "_pcpu", instead of CPU_PTR?  "_pcpu" is a short, unique
(not currently in use) symbol that, tersely, says what we want to say.

Yes - it violates multiple conventions.  "The Boss" (Bruce Springsteen)
gets to do that.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.940.382.4214
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Thu May 29, 11:56 pm)
Re: [patch 02/41] cpu alloc: The allocator, Pavel Machek, (Sat May 31, 4:58 pm)
Re: [patch 02/41] cpu alloc: The allocator, Rusty Russell, (Fri May 30, 1:46 am)
Re: [patch 02/41] cpu alloc: The allocator, Mike Travis, (Wed Jun 4, 11:04 am)
Re: [patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Tue Jun 10, 1:34 pm)
Re: [patch 02/41] cpu alloc: The allocator, Eric Dumazet, (Fri May 30, 1:04 am)
Re: [patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Fri May 30, 1:20 am)
Re: [patch 02/41] cpu alloc: The allocator, Mike Travis, (Wed Jun 4, 10:58 am)
Re: [patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Tue Jun 10, 1:33 pm)
Re: [patch 02/41] cpu alloc: The allocator, Eric Dumazet, (Tue Jun 10, 2:05 pm)
Re: [patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Tue Jun 10, 2:28 pm)
Re: [patch 02/41] cpu alloc: The allocator, Eric Dumazet, (Wed Jun 4, 11:11 am)
Re: [patch 02/41] cpu alloc: The allocator, Rusty Russell, (Thu Jun 5, 8:32 pm)
Re: [patch 02/41] cpu alloc: The allocator, Eric Dumazet, (Fri May 30, 1:54 am)
Re: [patch 02/41] cpu alloc: The allocator, Rusty Russell, (Fri May 30, 1:52 am)
Re: [patch 02/41] cpu alloc: The allocator, Mike Travis, (Wed Jun 4, 11:30 am)
Re: [patch 02/41] cpu alloc: The allocator, Rusty Russell, (Thu Jun 5, 7:48 pm)
Re: [patch 02/41] cpu alloc: The allocator, Andrew Morton, (Fri May 30, 12:58 am)
Re: [patch 02/41] cpu alloc: The allocator, Mike Travis, (Wed Jun 4, 10:48 am)
Re: [patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Fri May 30, 1:10 am)
Re: [patch 02/41] cpu alloc: The allocator, KAMEZAWA Hiroyuki, (Fri May 30, 1:56 am)
Re: [patch 02/41] cpu alloc: The allocator, Christoph Lameter, (Fri May 30, 2:16 am)
Re: [patch 02/41] cpu alloc: The allocator, Andrew Morton, (Fri May 30, 1:31 am)
Re: [patch 02/41] cpu alloc: The allocator, Paul Jackson, (Mon Jun 2, 5:29 am)