lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52d370b2-d82a-4629-918a-128fc7bf7ff8@web.de>
Date: Sat, 29 Jun 2024 21:45:46 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Matthew Wilcox <willy@...radead.org>, LKML <linux-kernel@...r.kernel.org>
Cc: linux-fsdevel@...r.kernel.org, maple-tree@...ts.infradead.org
Subject: Re: [PATCH v2 2/5] rosebush: Add new data structure

…
> +++ 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ