[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1270534763.9013.55.camel@edumazet-laptop>
Date: Tue, 06 Apr 2010 08:19:23 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Nick Piggin <npiggin@...e.de>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Nick Piggin <npiggin@...il.com>, linux-kernel@...r.kernel.org,
Jon Masters <jonathan@...masters.org>
Subject: Re: Is module refcounting racy?
Le mardi 06 avril 2010 à 15:05 +1000, Nick Piggin a écrit :
> Also if anyone else is looking at a way to do _really_ scalable
> refcounting elsewhere, this could be a good template (I certainly looked
> here first when trying to get ideas for vfsmount refcounting).
Yes, nice trick Nick, I was thinking about it for network code :)
Acked-by: Eric Dumazet <eric.dumazet@...il.com>
I confess the smp_wmb() in module_put() bothered me a bit until I saw it
was only a barrier() on X86 (if !CONFIG_X86_OOSTORE)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists