[Linux-cachefs] An incorrect assumption over radix_tree_tag_get()

David Howells dhowells at redhat.com
Tue Apr 6 16:19:49 UTC 2010


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




More information about the Linux-cachefs mailing list