An incorrect assumption over radix_tree_tag_get()

From: David Howells
Date: Tue Apr 06 2010 - 12:20:10 EST



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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/