Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp556046ybp; Fri, 4 Oct 2019 00:57:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqweimCD/DsI0UK7aB61h9TsT+3/h/rNDIYISCGpjykfhbQgSP3blvuPn/4XrzTQMBQvv45e X-Received: by 2002:a17:906:9381:: with SMTP id l1mr11099623ejx.93.1570175865689; Fri, 04 Oct 2019 00:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570175865; cv=none; d=google.com; s=arc-20160816; b=ufVffygDJGdIj31rB65yQBtaj8CemI4TkSWe6qOExk30tr/SDV/maYoDTgKQ8r9kk1 Ac20A8GTSYytrnsyLHNrQZQBmQIsI6KKJWu4X56cqsbwQVlzGOq1qa1G9CRJ9+4822cr iVKddOkbzhkcHcrzc3Chn8Ro4ddPkq0HEdxa8PezzvU8oWRlbGBCU+yXPyzxrrKBjoeZ DrYISe2+W8Lp1lL9rDPyw3y7qXqAAa97Js0PqBy2VhEJkD0DACHrZCg7kR+y8M0XoEBt uMv/WBZMSkkHJk0nRXTWoppn57rJ0f9xwiose4O46JVmwymbFIo7wUAzNNmvz2nXSO8f MoPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=8FXA0zgZoIW7W0Aa4N8qSvofqWT8uPjI9bd0eZsFQYo=; b=Ly/ahhu5t31FQmatvoIVye/6/oiFYqVisF7BqLshyUW+cd6y22LmerGc2fvcMHz46n I/2tUFALdvIZlhtOU2cc2TwrrJXzOppMBmgcu8goNbGMefxspyVTpB0280fo/Pg/LBi9 nIASR/Gbzg1h/7CBQeJeazELdhUuctPF+x0vJfTOMom803ruuRZv4nhHZVtwB+VWy0i7 Wf71k3omAdTTTi+z+sOK1T4K4Hi9Pd//rvto1dFXm48rGZjpdtBl0H0NLR16MHejxkr7 ISiLlWuaaRnGgjWJPpsJfCElEKsNA2vyKjgerepbyEUOqaklBYgAO9zJCniqvrfwwDQt LbDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=HyeGMiSo; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2si2895260edw.29.2019.10.04.00.57.21; Fri, 04 Oct 2019 00:57:45 -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=@oracle.com header.s=corp-2019-08-05 header.b=HyeGMiSo; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731395AbfJDCLM (ORCPT + 99 others); Thu, 3 Oct 2019 22:11:12 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:34808 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730272AbfJDCLL (ORCPT ); Thu, 3 Oct 2019 22:11:11 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9429W0q056974; Fri, 4 Oct 2019 02:09:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2019-08-05; bh=8FXA0zgZoIW7W0Aa4N8qSvofqWT8uPjI9bd0eZsFQYo=; b=HyeGMiSoRNxqiiYAwQ/TW6dEe9h8314AVISrwnAulCy3Lm7Ryd9WUOD633pWVHm2hyI0 elmpW5ZwRXsUG7cXMAxtEN3GvEGPsf2eJjZE4uvrkdY48iVPsJe2F9JwTRecmo2u+tBb M8DsTTsgXvSMjlVRt8Q+nvwVFK9QxGodEmGUcJbIUEK1jzpppG159unfC7BoaW0HKGWQ JfF7TUvTPx70gLfEOhv7HVnUSG3h49OtatR92VmdjuFT2Jf6/bFztx345DfvVZFTK3PD ul4du3cNzY7xNflQ2SuTfKBf3vko3lCXNnchv+nZ0r3HA4Z9a2+5JqsbfV8M5Z9UMvxo TQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 2va05s83x0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Oct 2019 02:09:44 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9429FBv124671; Fri, 4 Oct 2019 02:09:43 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 2vdt3nr1tj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Oct 2019 02:09:43 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9429a6k020968; Fri, 4 Oct 2019 02:09:38 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 03 Oct 2019 19:09:35 -0700 To: paulmck@kernel.org 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" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace() From: "Martin K. Petersen" Organization: Oracle Corporation References: <20191003014153.GA13156@paulmck-ThinkPad-P72> <20191003014310.13262-4-paulmck@kernel.org> Date: Thu, 03 Oct 2019 22:09:31 -0400 In-Reply-To: <20191003014310.13262-4-paulmck@kernel.org> (paulmck@kernel.org's message of "Wed, 2 Oct 2019 18:43:05 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9399 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=717 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910040015 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9399 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=804 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910040015 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Paul, No objections from me. > + 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(). -- Martin K. Petersen Oracle Linux Engineering