[Linux-cachefs] An incorrect assumption over radix_tree_tag_get()
David Howells
dhowells at redhat.com
Tue Apr 6 18:52:45 UTC 2010
Nick Piggin <npiggin at suse.de> wrote:
> It is safe. Synchronization requirements for using the radix tree API
> are documented.
I presume you mean the big comment on it in radix-tree.h.
According to that, it is not safe:
* - any function _modifying_ the tree or tags (inserting or deleting
* items, setting or clearing tags) must exclude other modifications, and
* exclude any functions reading the tree.
David
More information about the Linux-cachefs
mailing list