mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] small fixes in brlock.h
@ 2003-03-10  2:33 Linus Torvalds
  2003-03-12  0:15 ` [PATCH] (8/8) Kill brlock Stephen Hemminger
  0 siblings, 1 reply; 9+ messages in thread
From: Linus Torvalds @ 2003-03-10  2:33 UTC (permalink / raw)
  To: Robert Love; +Cc: Zwane Mwaikambo, Linux Kernel


On 9 Mar 2003, Robert Love wrote:
> 
> I guess nothing uses these irq variants.  In fact, grepping the
> source... wow, not much uses brlocks at all.  Only registered lock is
> BR_NETPROTO_LOCK.  A read lock on it is called only 7 times and a write
> lock is used 31 times.
> 
> Everything must of moved over to using RCU or something.  It makes me
> question the future of these things.

No, I don't think there are even "moved to RCU" users. It's just never 
been used very much, since the writes are _so_ expensive (in fact, there 
have been various live-locks on the writer side, the whole brlock thing is 
really questionable).

It's entirely possible that the current user could be replaced by RCU 
and/or seqlocks, and we could get rid of brlocks entirely.

		Linus


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-03-12  6:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0303111644060.3002-100000@home.transmeta.com.suse.lists.linux.kernel>
     [not found] ` <1047436263.20968.5.camel@irongate.swansea.linux.org.uk.suse.lists.linux.kernel>
2003-03-12  5:56   ` [PATCH] (8/8) Kill brlock Andi Kleen
2003-03-12  6:35     ` David S. Miller
2003-03-10  2:33 [PATCH] small fixes in brlock.h Linus Torvalds
2003-03-12  0:15 ` [PATCH] (8/8) Kill brlock Stephen Hemminger
2003-03-12  0:23   ` David S. Miller
2003-03-12  0:31     ` Stephen Hemminger
2003-03-12  0:34       ` David S. Miller
2003-03-12  0:44         ` Linus Torvalds
2003-03-12  0:48           ` Stephen Hemminger
2003-03-12  2:31           ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®