Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4209118ybi; Mon, 29 Jul 2019 21:37:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtRRN9XgjzHbkwLWa530MhVJ6On3oQkUUFn2YTWDEtrFOv8cqM9NAq2xB8dpGxciT6d5jb X-Received: by 2002:a65:4044:: with SMTP id h4mr107404749pgp.164.1564461479224; Mon, 29 Jul 2019 21:37:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564461479; cv=none; d=google.com; s=arc-20160816; b=cNCv9sTJXmAnnSwYMCLuNxzYmRRPNgAAiT7LNKHIXbv81wKaBHmiK3RV/T6TMFsPxG 1gXmmm0Y/xSebim1kSe/Rd4CNiKwJT7tZemPHNEoQC0cWME/gFwJUmIXj1Mj2M+NZFlm cxqujnvztJ7nMP3XC9Aj7Zt6ONTwaemJYqWrAMOUDDPP+2LHrwQAFHhdfO+qfQrVv778 fRM7yqMMpgXGpQMACUyr/OMSlqSJ0j+iyg50QyHYip2qgRrnFr09UsjC84i0OjSut1/+ 0K1cF3iUaad221GHR8Oq8v4dQQVVBu4c4saTwdVhE+E5Tni/v+kY0TxVwy3fJ948di50 qKpw== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=f9BTSG278YCddMybE8N0n7tZAlikyRiUgbx4cTXrEZY=; b=ZzCuNQ88n/ApMCxnr/VSpg8pnszqffDFZcOwjwvS1pngUwvd9AY1HHjnUcrDSFniQ9 CEbnMsZXCwLRvdzE6zFTI2FbqtVmpvYVDaMH/dzbLHBVMSStSi/mscxWwCvdKzyVYStY nhE5W5Ch2woMAaG6UXtIw45NfGESLZFFFf1MwKVD3V+F1mwK7uv7DM0Ak5lTcIYECAT7 e+X5mi4YEgO1Lp8/Hj+1lG2YYLMmF99ogX4YnDh+ksyA6jmnr8A7R8ojU3fmtsKmt/GL tL58dob0/tc/vn3Hcuuh+UUJ3QSZVw+WglEUvh4GCSwAGT/2/T+g3lFFjE/aV9ZEKlO0 KbvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=Bxk8nfhQ; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 n123si11842916pgn.151.2019.07.29.21.37.32; Mon, 29 Jul 2019 21:37:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-2018-07-02 header.b=Bxk8nfhQ; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S1727788AbfG3ByK (ORCPT + 99 others); Mon, 29 Jul 2019 21:54:10 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:54578 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727589AbfG3ByK (ORCPT ); Mon, 29 Jul 2019 21:54:10 -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 x6U1cuHp039393; Tue, 30 Jul 2019 01:53:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=f9BTSG278YCddMybE8N0n7tZAlikyRiUgbx4cTXrEZY=; b=Bxk8nfhQhPW6zvVXbPjFUAohvmKJHGHnWZTRS4AQnSlb+E+1mTGqLJi6sGbX+1hWyzQU G84JuH/MNIzx+zAMj0Y0xJ7lfJJrpYgB6Tf8KofAlj3b5kYDNibmbTUp7UIAqV1uCwL7 YHwFFw/Nhk2rHflIt1wPrM8RxkGnfmAGIPOl0Pj/l9U9hSRcUFlLLowPLUX+R8pGA8u8 fp0O3VZQ0RGNV6/D3dqSdMFn+0w/lhuMmEP+o5FZCXqDQnibHkGO2M1ZzHw4ejwG6vGf DrS8llofUk3FkH/GhO0mYN3Hz7JwuyNFtQH3g2/46Xg6iJRO3RKyITFbCr6XzEQBVhF1 Dw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2u0f8qu23y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Jul 2019 01:53:50 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6U1h2JG132064; Tue, 30 Jul 2019 01:53:50 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 2u0bqttk8c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Jul 2019 01:53:50 +0000 Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6U1rl5b002255; Tue, 30 Jul 2019 01:53:47 GMT Received: from ca-dmjordan1.us.oracle.com (/10.211.9.48) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 29 Jul 2019 18:53:47 -0700 Date: Mon, 29 Jul 2019 21:53:43 -0400 From: Daniel Jordan To: Tejun Heo Cc: Daniel Jordan , Steffen Klassert , Herbert Xu , Lai Jiangshan , Peter Zijlstra , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 3/9] workqueue: require CPU hotplug read exclusion for apply_workqueue_attrs Message-ID: <20190730015343.lgj4hxejorofibmo@ca-dmjordan1.us.oracle.com> References: <20190725212505.15055-1-daniel.m.jordan@oracle.com> <20190725212505.15055-4-daniel.m.jordan@oracle.com> <20190729194721.GG569612@devbig004.ftw2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190729194721.GG569612@devbig004.ftw2.facebook.com> User-Agent: NeoMutt/20180323-268-5a959c X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9333 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=785 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300016 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9333 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=832 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907300016 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Jul 29, 2019 at 12:47:21PM -0700, Tejun Heo wrote: > On Thu, Jul 25, 2019 at 05:24:59PM -0400, Daniel Jordan wrote: > > Change the calling convention for apply_workqueue_attrs to require CPU > > hotplug read exclusion. > > > > Avoids lockdep complaints about nested calls to get_online_cpus in a > > future patch where padata calls apply_workqueue_attrs when changing > > other CPU-hotplug-sensitive data structures with the CPU read lock > > already held. > > > > Signed-off-by: Daniel Jordan > > Acked-by: Tejun Heo Thanks, Tejun!