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] [day] [month] [year] [list]
Message-ID: <20140928073409.GC5015@linux.vnet.ibm.com>
Date:	Sun, 28 Sep 2014 00:34:10 -0700
From:	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To:	Pranith Kumar <bobby.prani@...il.com>
Cc:	Alasdair Kergon <agk@...hat.com>,
	Mike Snitzer <snitzer@...hat.com>,
	"maintainer:DEVICE-MAPPER (LVM)" <dm-devel@...hat.com>,
	Neil Brown <neilb@...e.de>, linux-raid@...r.kernel.org,
	open list <linux-kernel@...r.kernel.org>, josh@...htriplett.org
Subject: Re: [PATCH] dm: sparse: Annotate field with __rcu for checking

On Thu, Sep 25, 2014 at 02:50:43PM -0400, Pranith Kumar wrote:
> Annotate the map field with __rcu since this is a rcu pointer which is checked
> by sparse.
> 
> Signed-off-by: Pranith Kumar <bobby.prani@...il.com>

Queued them both, thank you!

Josh, given this change, are you OK with my applying your Reviewed-by
to the RCU_INIT_POINTER() patch?

							Thanx, Paul

> ---
>  drivers/md/dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/md/dm.c b/drivers/md/dm.c
> index 32b958d..746411b 100644
> --- a/drivers/md/dm.c
> +++ b/drivers/md/dm.c
> @@ -140,7 +140,7 @@ struct mapped_device {
>  	 * Use dm_get_live_table{_fast} or take suspend_lock for
>  	 * dereference.
>  	 */
> -	struct dm_table *map;
> +	struct dm_table __rcu *map;
> 
>  	unsigned long flags;
> 
> -- 
> 2.1.0
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ