Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp477442pxb; Wed, 18 Aug 2021 06:49:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWQcn0I6th5vxRnwszOk/ZdftzNQDFUzBcLbLG1sMpKADNeE5RvIcqodCwazRyXMrpBKhj X-Received: by 2002:a17:906:3542:: with SMTP id s2mr9968674eja.379.1629294594954; Wed, 18 Aug 2021 06:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629294594; cv=none; d=google.com; s=arc-20160816; b=RWHZd2anKIDSCckOi29G0zRvtY/Pcp3DFg7AQ/TMh3gWuHStZoFdH0AKoX8ij5Qezg WeQd6SxqKiwFJVNCrH8dU3nVTkixppYKaYFCYbDn2rYMbuNgtmFVbPsWDBmPdsrmdl+J 76WctVvHsfYnafXBWUf4JA1fYLqcvmKDuEmo/3wg9657pySbceh1ijXtWlZOMS+frDjH DZ4yWMuHNlwOxY9axYzf7jGbT5OIyFmAgBiybCWjn2OOeZgYnYU1QIR+iPScLxmvRlqH MQlZ9l5pCLOsOCV4ZC+3I/MvN1w3MoQRlHVd6dlQpv0V0slwaPotg3Bbq6z0cIkwz2Jg jWcw== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=On10RJECwS/I8l5EriHKWyt9ifxwksGdqc74pp4J7Io=; b=IEvQvm5WrS3MVua1WqdMDdN+utulUCSMGM7zPhOrAWChsq3G7FdGWtn8rnxUeqZUtp aNdgs9sziIPG8Wp4eUOojfL/3h22IkBwek5PzM0xiYz0S9NA0SASvFrmryBiuP8P6Zot nN+1hhWqh2bLGKsYym+1OT6HAoC4zUzKOJx3623NBAN7ulCrfcvhjdya2TF5MY1Jir6b C505BDTYOHGDBzg0LmlkBokXrLqDFzSDIGgMkocTPzAtKhb2InRB58I3bpjkZCUsHmiK W1lQ7EuTBX/trYDZTjnltT56udSLe6Cu8DZdBanGVwdKujVLdDYR/Vn0ytxE84r1UZBK XrnA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g24si6010045edj.498.2021.08.18.06.49.02; Wed, 18 Aug 2021 06:49:54 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238534AbhHRNq6 (ORCPT + 99 others); Wed, 18 Aug 2021 09:46:58 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:42241 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237528AbhHRNqj (ORCPT ); Wed, 18 Aug 2021 09:46:39 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4GqTgv17vGz9sVw; Wed, 18 Aug 2021 23:46:02 +1000 (AEST) From: Michael Ellerman To: paulus@samba.org, benh@kernel.crashing.org, mpe@ellerman.id.au, Laurent Dufour Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, nathanl@linux.ibm.com In-Reply-To: <20210429174908.16613-1-ldufour@linux.ibm.com> References: <20210429174908.16613-1-ldufour@linux.ibm.com> Subject: Re: [PATCH v5] pseries: prevent free CPU ids to be reused on another node Message-Id: <162929391998.3619265.3392197710789152359.b4-ty@ellerman.id.au> Date: Wed, 18 Aug 2021 23:38:39 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Apr 2021 19:49:08 +0200, Laurent Dufour wrote: > When a CPU is hot added, the CPU ids are taken from the available mask from > the lower possible set. If that set of values was previously used for CPU > attached to a different node, this seems to application like if these CPUs > have migrated from a node to another one which is not expected in real > life. > > To prevent this, it is needed to record the CPU ids used for each node and > to not reuse them on another node. However, to prevent CPU hot plug to > fail, in the case the CPU ids is starved on a node, the capability to reuse > other nodes’ free CPU ids is kept. A warning is displayed in such a case > to warn the user. > > [...] Applied to powerpc/next. [1/1] pseries: prevent free CPU ids to be reused on another node https://git.kernel.org/powerpc/c/bd1dd4c5f5286df0148b5b316f37c583b8f55fa1 cheers