public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* An incorrect assumption over radix_tree_tag_get()
@ 2010-04-06 16:19 David Howells
  2010-04-06 17:09 ` Nick Piggin
  0 siblings, 1 reply; 6+ messages in thread
From: David Howells @ 2010-04-06 16:19 UTC (permalink / raw)
  To: paulmck, npiggin, corbet; +Cc: dhowells, linux-kernel, linux-cachefs


Hi,

I think I've made a bad assumption over my usage of radix_tree_tag_get() in
fs/fscache/page.c.

I've assumed that radix_tree_tag_get() is protected from radix_tree_tag_set()
and radix_tree_tag_clear() by the RCU read lock.  However, now I'm not so
sure.  I think it's only protected against removal of part of the tree.

Can you confirm?

David

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

end of thread, other threads:[~2010-04-07  7:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 16:19 An incorrect assumption over radix_tree_tag_get() David Howells
2010-04-06 17:09 ` Nick Piggin
2010-04-06 18:52   ` David Howells
2010-04-06 19:16     ` David Howells
2010-04-06 23:34   ` Dave Chinner
2010-04-07  7:57     ` Nick Piggin

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