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

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

 



On Mon, Jul 01, 2024 at 07:21:18AM +0200, Markus Elfring wrote:
> >> Under which circumstances would you become interested to apply a statement
> >> like “guard(rcu)();”?
> >
> > Under no circumstances.
> 
> I imagine that further contributors would like to discuss collateral evolution
> also according to the support for applications of scope-based resource management.
> https://elixir.bootlin.com/linux/v6.10-rc6/source/include/linux/rcupdate.h#L1093
> 
> See also the commit 80cd613a9ae091dbf52e27a409d58da988ffc8f3 ("rcu:
> Mollify sparse with RCU guard") from 2024-04-15.

Although the guard(rcu)() statement is very helpful in some circumstances
and is seeing increasing use, it is not free of downsides in a number
of situations.  For but one example, Matthew might expect that partially
overlapping critical sections will be needed, which would rule out use of
guards on one or the other of those two critical sections.

							Thanx, Paul




[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