lkml.org 
[lkml]   [2001]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.1-pre5: per-cpu areas
Hi!

> On Thu, Dec 06, 2001 at 09:09:35AM +1100, Rusty Russell wrote:
>
> The following patch implements convenient per-cpu areas:
> DECLARE_PER_CPU(int myvar);
>
> Where or why do we need this?

DECLARE_PER_CPU(struct task *current). Same for slab quick-alloc
lists, performance counters, ...
Pavel
--
"I do not steal MS software. It is not worth it."
-- Pavel Kankovsky
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:18    [from the cache]
©2003-2011 Jasper Spaans