Re: [PATCH] per-cpu areas for 2.5.3-pre6

Rusty Russell (rusty@rustcorp.com.au)
Wed, 30 Jan 2002 11:44:02 +1100


In message <Pine.LNX.4.44.0201291813110.25443-100000@waste.org> you write:
> Yes, obviously.

Um... if it was so "obvious" why did you suggest it in the first
place? 8)

> Nearly as good would be replacing the current logic for figuring out the
> current processor id through current with logic to access the per-cpu
> data. The primary use of that id is indexing that data anyway.

And if you'd been reading this thread, you would have already seen
this idea, and if you'd read the x86 code, you'd have realised that
the tradeoff is arch-specific.

But thanks anyway: what this list really needs is more armchair kernel
hackers discussing code they haven't really thought about.

Cheers,
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/