Re: [PATCH v2 2/5] rosebush: Add new data structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



…
> +++ b/lib/rosebush.c
> @@ -0,0 +1,654 @@
…
> +int rbh_remove(struct rbh *rbh, u32 hash, void *p)
> +{
…
> +	rcu_read_lock();
> +	bucket = lock_bucket(rbh, hash);
…
> +rcu_unlock:
> +	rcu_read_unlock();
> +	return err;
> +}
…

Under which circumstances would you become interested to apply a statement
like “guard(rcu)();”?
https://elixir.bootlin.com/linux/v6.10-rc5/source/include/linux/rcupdate.h#L1093

Regards,
Markus





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux