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

Pavel Machek (pavel@suse.cz)
Fri, 7 Dec 2001 16:03:47 +0100


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/