Re: [PATCH] 2.5.1-pre5: per-cpu areas

From: Pavel Machek (pavel@suse.cz)
Date: Fri Dec 07 2001 - 10:03:47 EST


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/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:39 EST