Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2291266ybp; Sat, 5 Oct 2019 09:13:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUExJxUX7roLjEJg4Kyi4yTD78TuKpr0/Yurk0FwwOfZ92vNQv8h77Fp5ivTVgTKemHE0h X-Received: by 2002:a17:906:4bc3:: with SMTP id x3mr17140057ejv.200.1570292024554; Sat, 05 Oct 2019 09:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570292024; cv=none; d=google.com; s=arc-20160816; b=PDE+288SiVkFsXYRpdonSYnNnCL4vs31SfB84RmSSo9y6Cd9G9Jsfd3r8yjORRxdxO 2IvMND3LL8CQr+QE+08WXWxHuxLvFoUkkeMwCJz/3JLVHsQl1lt3y1Rwhpz/iHOQlR66 fzvgnrs4zqjcyTZojKgMTM5FYS0O6u8l1oIxvzKT0xwm6xr1blzITbkIIhFLqodF3I3m QFJetqqYfqGW0U0VB0UYTgMvv3DYSe1szluQ+HyRp/ILSord2ohliiMO5wXJGoVYqKO/ NHrNmpXxw4gXWqwZZ+KVwfiwI2NfRVidVvo6Fop17vZpTLuhz1Rkceiidb8BiV+Mfhco O6Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=kTgM3m1F1oCKJySWoPdpQuZIjHM85Bo7xo+ev8Z2Ymo=; b=lkq2TR2zH6dqvBn8h2AyyXDe8qvgLIai+kmJrxfWoRqN3oIERnx2UYIUXzmvaO7cQC +FGP90CSlPTRQ7YoDn1+9bxzMmqj2h0M1Tvq7dByHb0/jXX5UUtzKniJ4NqPl9FYRlbq vxwmPEOY1ean5PF27z0kmeB1aXERdxZuxCwcoLGFXrOtAYSY6cT//fCL1qqf1VwPxfDA NF7ifdiBv5p6wPj6TfWqc464Mcam7gRpsG082RS15TcGaZTxXas6oFxnYJJtbrM9Y6Go Sj4m2QfsubafqQvmoyXdOkGnSH40cNtQU4xaB/cmcuyL1ISidmbuUQh1thfsbKpn/iqe x9ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IFgvwm+x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f26si4688836eji.55.2019.10.05.09.13.20; Sat, 05 Oct 2019 09:13:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IFgvwm+x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728545AbfJEQGz (ORCPT + 99 others); Sat, 5 Oct 2019 12:06:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:36492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfJEQGz (ORCPT ); Sat, 5 Oct 2019 12:06:55 -0400 Received: from paulmck-ThinkPad-P72 (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 839AE222C0; Sat, 5 Oct 2019 16:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570291614; bh=T1nHprUQcw7db03Tr0L1cjg240dgz2UCviMisD8YUjw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=IFgvwm+xrX1y8pkbT8yzUzzxbE/USHRjLeyngP1jR71Q2c51v8M8WroTrDKXxYnDq oa+LJZ9trhGoGTbPTsrNL3EbnZcxVv/imfMXl5GWfAZCrrN3vBLx/wFYgUzCCUkNiU f6D8XBi0UcYYyouK3opx+XrEfbljTQyyDyCU94lM= Date: Sat, 5 Oct 2019 09:06:53 -0700 From: "Paul E. McKenney" To: "Martin K. Petersen" Cc: rcu@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, "James E.J. Bottomley" , linux-scsi@vger.kernel.org Subject: Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace() Message-ID: <20191005160653.GD2689@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20191003014153.GA13156@paulmck-ThinkPad-P72> <20191003014310.13262-4-paulmck@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 03, 2019 at 10:09:31PM -0400, Martin K. Petersen wrote: > > Paul, > > No objections from me. Thank you, Martin! I have applied your Acked-by, but please let me know if that over-interprets your "No objections" above. > > + vpd_pg80 = rcu_replace(sdev->vpd_pg80, vpd_pg80, > > + lockdep_is_held(&sdev->inquiry_mutex)); > > + vpd_pg83 = rcu_replace(sdev->vpd_pg83, vpd_pg83, > > + lockdep_is_held(&sdev->inquiry_mutex)); > > Just a heads-up that we have added a couple of additional VPD pages so > my 5.5 tree will need additional calls to be updated to rcu_replace(). I do not intend to actually remove rcu_swap_protected() until 5.6 for exactly this sort of thing. My plan is to take another pass through the tree after 5.5 comes out, and these will be caught at that time. Does that work for you? Thanx, Paul