Re: [PATCH for 2.5] preemptible kernel

Rusty Russell
2001-04-05T07:59:28Z

In message <3AC8D95E.7E3A68B0@mvista.com> you write:
> On a higher level, I think the scanning of the run list to set flags and
> counters is a bit off.

[snip standard refcnt scheme]

For most things, refcnts are great. I use them in connection
tracking. But when writes can be insanely slow (eg. once per hour),
those two atomic ops just hurt scalability, and are invasive.

In particular, they suck HARD for modules, which is where my initial
quiescent wait implementation came from, only I didn't call it that
because Andi hadn't posted the Sequent paper URL yet and I hadn't
figured out that this was a generically useful scheme that can be
implemented in 20 lines...

Rusty.
--
Premature optmztion is rt of all evl. --DK