Message ID | 20230404014206.3752945-1-yebin@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2712133vqo; Mon, 3 Apr 2023 19:02:25 -0700 (PDT) X-Google-Smtp-Source: AKy350bWpS3aTo0f4VcWyS/v3b7/m+PRl7cGbJt4qnH6/gyfblaf+8FlXjNlJdnbtn+NMAek6/Xk X-Received: by 2002:a17:90b:1a92:b0:23a:8f25:7fd6 with SMTP id ng18-20020a17090b1a9200b0023a8f257fd6mr1042227pjb.29.1680573745386; Mon, 03 Apr 2023 19:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680573745; cv=none; d=google.com; s=arc-20160816; b=Z1Y01iA5LWF9TOhIDmXHEAG0j+z32S7aqZSYQvrbjZ1yOEsRidMZqZiSbjH7jrVBhC qxE7kSl0lPk6iZjBKhDfGZUJGcVIQk0WTL/RXIoq4ddsRkFcBvTg9aS0AMDqjsY1+pRF X0CH6yGN9hwFwDz6IbSjtpNfT8V45XjJzSvRO/RKMHtBRjYoIaMpSaV1bbjB2YlSFSdI gr7QDNnFMQnLj2Ek0+yYC3pHicz6qC26BcZRz/TIQBEkCz/Rl1hikElChw3sCanlzXN5 3Nt42wyuDtO38zBOL6pnnSaPJR7tFCQEt9XtqCyTXes1cYcoCJF/uNOdzYPpjrFnvXHG lK2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+zr8psUVLujdU6FGyo5z+7WvDuxdPOZjRRhv4uBwMUI=; b=IL8s3diO49rb5tko3rLLCSbJwo3HWpBhbWSmVzUObHiH39dK+BX5C6jCC/PDEoMkee UGySJPvYf5xknOIzhQ0is2wcBkfcEJFGmZeXnRb0ar7bZQFysa+87mcya4piGtS/KTgK im4q5v/f0s1rTmAghoaT+px74s+AM9ZWPofhJd/3Bhs8V8YKIw8LFKgh+2sFMuFVJfgK RaoPijSLXmBzEBGTlRTNHUnZMG2zYdvoaP01lvjEsPmZMdnYhdoR7QX5dy2OVmxdb/90 ptDvzftxCy+slpEHELy3IKeAnt+kdnvF+bLMrWqTSfLLC0imoxSvjW5GHxkgVYFRFx2t E6Zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 95-20020a17090a09e800b0023fc6dc1092si13636008pjo.145.2023.04.03.19.02.12; Mon, 03 Apr 2023 19:02:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232846AbjDDBmi (ORCPT <rfc822;zwp10758@gmail.com> + 99 others); Mon, 3 Apr 2023 21:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229687AbjDDBmg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Apr 2023 21:42:36 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8F8B90 for <linux-kernel@vger.kernel.org>; Mon, 3 Apr 2023 18:42:35 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.169]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Pr9Vv5FB7z4f3w0M for <linux-kernel@vger.kernel.org>; Tue, 4 Apr 2023 09:42:31 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP3 (Coremail) with SMTP id _Ch0CgBH9CGHgCtkmLh6GA--.26422S4; Tue, 04 Apr 2023 09:42:33 +0800 (CST) From: Ye Bin <yebin@huaweicloud.com> To: dennis@kernel.org, tj@kernel.org, cl@linux.com, linux-mm@kvack.org, yury.norov@gmail.com, andriy.shevchenko@linux.intel.com, linux@rasmusvillemoes.dk Cc: linux-kernel@vger.kernel.org, dchinner@redhat.com, yebin10@huawei.com Subject: [PATCH 0/2] fix dying cpu compare race Date: Tue, 4 Apr 2023 09:42:04 +0800 Message-Id: <20230404014206.3752945-1-yebin@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _Ch0CgBH9CGHgCtkmLh6GA--.26422S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY17kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG 64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r 1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACI402YVCY1x02628v n2kIc2xKxwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F4 0E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFyl IxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxV AFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_ Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxUrR 6zUUUUU X-CM-SenderInfo: p1hex046kxt4xhlfz01xgou0bp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762209295631741153?= X-GMAIL-MSGID: =?utf-8?q?1762209295631741153?= |
Series |
fix dying cpu compare race
|
|
Message
Ye Bin
April 4, 2023, 1:42 a.m. UTC
From: Ye Bin <yebin10@huawei.com>
Ye Bin (2):
cpu/hotplug: introduce 'num_dying_cpus' to get dying CPUs count
lib/percpu_counter: fix dying cpu compare race
include/linux/cpumask.h | 20 ++++++++++++++++----
kernel/cpu.c | 2 ++
lib/percpu_counter.c | 11 ++++++++++-
3 files changed, 28 insertions(+), 5 deletions(-)
Comments
On Tue, Apr 04, 2023 at 09:42:04AM +0800, Ye Bin wrote: > From: Ye Bin <yebin10@huawei.com> Here should be a description of your series. > Ye Bin (2): > cpu/hotplug: introduce 'num_dying_cpus' to get dying CPUs count > lib/percpu_counter: fix dying cpu compare race > > include/linux/cpumask.h | 20 ++++++++++++++++---- > kernel/cpu.c | 2 ++ > lib/percpu_counter.c | 11 ++++++++++- > 3 files changed, 28 insertions(+), 5 deletions(-) > > -- > 2.31.1