Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3638669pxu; Tue, 8 Dec 2020 18:15:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzC6dQ/1SnFeGH1kM3naRITFN5R3zi21TnC9oWQnGBYDocVXwd6iMLvzX0tKmD9ukHHJm62 X-Received: by 2002:a17:906:9605:: with SMTP id s5mr219703ejx.179.1607480132346; Tue, 08 Dec 2020 18:15:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607480132; cv=none; d=google.com; s=arc-20160816; b=CBiHh2MVEw0rJYYvUXT9IGUiU/CSFFFyiRoSQz2UKhPXGOivvXsKSaSF2LZD6MIzuN XBQ0btMpT+77kW9mxVts35wovYEKxac3BLjR+d2TVVZB5ThvkhKoUQVKdNZ1Mj+tmRLX 6y4EOwYVEf6zT0axVVHrLq9oKpHT0/43dGPb+JmoCYT2i7hyBAOwj5DUsKi4UjxTBOxR cMKWM/oslMFPitQxDHMS6aqpHGJ/QshF/86kf7QlmCG6xSkKxzA/lMruHnJp75AF3rW+ l0bNhNhgchS5frVi72Zn1VN9dpaoO3ur+tPPbCTaljLeTRVlQfrRRhURq65LKwi+UzHU iU3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=TQkdG2HxofP7Gjx/2MbWPihewec5Qk/l1s4p7G1cXC8=; b=ZKZH/VOfsFfSbTxy8NYz3j3h+75nTuQphGQLAAO4xdhThGy4yzhZhTew3htP3gwdRw LzxtFAPJ0ZM/BOPzSa4qAPEB3Jjn7Czth1gU3E2M/VQREiDAZhy6uLwvWwo31JPnvtnD UznJn0N45rux6PCLz3ksRp/ToxYegSH7GLjRJ5kiQAO/3LZVM4DviEW4ZdUogwXfpOiE kWISOqpQ2WCNYIuTtOA1860LxK6Z+jUZtU3ey/1Qdd8nI3pnsqeZu61UiPQNvAdMtGtJ C5GRSUxUO3vwyLKTbcx6Mre59sJRziDmhxY/UwUD3FH/uzeVm8IGfUJLc+K/ckB7Tgsz MKYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=U9gwOjq7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id i6si52113edl.178.2020.12.08.18.15.08; Tue, 08 Dec 2020 18:15:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=U9gwOjq7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725901AbgLICNX (ORCPT + 99 others); Tue, 8 Dec 2020 21:13:23 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:55176 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725283AbgLICNX (ORCPT ); Tue, 8 Dec 2020 21:13:23 -0500 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B929iCp157546; Wed, 9 Dec 2020 02:12:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type; s=corp-2020-01-29; bh=TQkdG2HxofP7Gjx/2MbWPihewec5Qk/l1s4p7G1cXC8=; b=U9gwOjq7SmCbCgRImhl1TwXzuxOUUqCB0rMIJdegBcv9/Gzu+laCbtU2jTGUxx4tmpH4 mNyfpxy3z+yi78IBboMbbYliZCv4lw8u1B5OZX4xN83a6LobhTnYThTFG/S8qL7rVcgx MAL5OtXa0n2n4fD2nkobJowekxaCoWc2abDld8DvitfkDcfrKCu0tCuSF17ebefEYn9k +43E16O5KWiZ7JrgzfXlBfgw1bDTwmrtz/I6mk66Stx/Z9oe3N3jvGsywGPBTqMEwKFx 21a5WpWQwP3sEppwkJgVBptCcyDKtLxBX4s6ZoUmQs3Dnp6XDYjbfElMId5YhlVLHGoz Hw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 35825m5wcu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 09 Dec 2020 02:12:09 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B925jSM093680; Wed, 9 Dec 2020 02:10:08 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 358m4ysrtd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Dec 2020 02:10:08 +0000 Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0B929qCx012013; Wed, 9 Dec 2020 02:09:52 GMT Received: from parnassus (/98.229.125.203) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Dec 2020 18:09:49 -0800 From: Daniel Jordan To: Alexey Klimov , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Cc: peterz@infradead.org, yury.norov@gmail.com, tglx@linutronix.de, jobaker@redhat.com, audralmitchel@gmail.com, arnd@arndb.de, gregkh@linuxfoundation.org, rafael@kernel.org, tj@kernel.org, lizefan@huawei.com, qais.yousef@arm.com, hannes@cmpxchg.org, klimov.linux@gmail.com Subject: Re: [RFC][PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu online In-Reply-To: <20201203171431.256675-1-aklimov@redhat.com> References: <20201203171431.256675-1-aklimov@redhat.com> Date: Tue, 08 Dec 2020 21:09:35 -0500 Message-ID: <87k0trvig0.fsf@oracle.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9829 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 suspectscore=1 bulkscore=0 malwarescore=0 phishscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012090011 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9829 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 adultscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 clxscore=1011 priorityscore=1501 mlxscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012090012 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexey Klimov writes: > I also in doubts if we need cpuset_wait_for_hotplug() in cpuhp_online_cpu_device() > since an online uevent is sent there too. We do need it there if we go with this fix. Your reproducer hits the same issue when it's changed to exercise smt/control instead of cpuN/online.