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

Andi Kleen (ak@muc.de)
13 Oct 2001 20:42:34 +0200


In article <Pine.LNX.4.33.0110131015410.8707-100000@penguin.transmeta.com>,
Linus Torvalds <torvalds@transmeta.com> 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.
The current "fix" -- putting module count increases in all possible module
callers to fix the unload races is slow and ugly and far too subtle to
get everything right. Waiting quiescent periods before unloading is a nice
alternative.

-Andi
-
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/