Re: [Lse-tech] Re: RFC: patch to allow lock-free traversal of lists with insertion

From: Rusty Russell (
Date: Sat Oct 13 2001 - 15:44:23 EST

In message <> you write:
> In article <>,
> Linus Torvalds <> writes:
> > - nobody has shown a case where existing normal locking ends up being
> > really a huge problem, and where RCU clearly helps.
> The poster child of such a case is module unloading. Keeping reference
> counts for every even non sleeping use of a module is very painful.

Well, module unloading requires only a small fraction of the read copy
update infrastructure (synchronize_kernel()), and can be implemented
without any scheduler changes, as it's not at all speed critical.

If nothing else, this thread has served to make more kernel hackers
aware of the technique, so they can try it themselves as desired.


Premature optmztion is rt of all evl. --DK
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:51 EST