Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5532405pxb; Wed, 26 Jan 2022 14:19:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmIhq5YvYF2xUoIRplLrb0SitgJa+NTxr81EIOuJ85PfINT6YLKeqvwGDCouXSooxujpzj X-Received: by 2002:a17:907:60cb:: with SMTP id hv11mr732236ejc.122.1643235546835; Wed, 26 Jan 2022 14:19:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643235546; cv=none; d=google.com; s=arc-20160816; b=yAL/i4O+6c2HBXGdznHx/VVw42PNCRQNW2WRa1fIUz0eVs6zNF5uvdW9qzCSKdXsVL QPEK4Le2MHlN4JT9l1z5Gv8ZM1eveBVSQXrRUTSMwwhxaelTSWPC9kt4rJdX0eNKELzW GbClmV9YXydKQwRDeXjD3IlXmva7OgPuUUojabT6RTUEx8/B+vit1hvliKWE/zz+xdj1 DPrOXEKwb/fU5FZaq1SOdgK1Nuaojph6WqopSepKrWikZ9v3CtUeyhzFpTgoKuUlajY7 MtLPT0+5f92xLw/p8Tj0TGYRHOzZwSWeGl0tUQvfFISP3R+6+ad9qSZdeZ++ANdJe2Oc YEUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=qHKkyLNz3BcJqhVoJVmJSW+AQ6LC+YMbazKnt8TVUkM=; b=0DSpqV/lFWMHj9HbyaJd8/BvBakhnh/8DZY0b7MgO2FMUBwN3XgT9KbsrNRoIDaoAI MqXDllcWiuR9BdOQN3ITD7xOJE+8U648QH24NfDWcpwIle0Q7Fq7i40DeeEcUXQ0uMEi FzZ2Iv8f+yeBgbBNB5FXGTWENze2S9ZQQBwgbrNr8+FFBoqDc2nxWqd+ZQy004uprGGa dbUbd2wrHgRXCK28c1FX6nkw/wvLDhivMihzePNjAJKqHOWOknS/onI0n+HdT4CP7CzM /GK6K5xpCw87IWsYTKz1gyWHdTAVlalTEtNZ2Ly55IKt6w0/ZZbjz0uXFJ4LIOpwyIly AzvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EqkmYvUu; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o13si263640edi.520.2022.01.26.14.18.40; Wed, 26 Jan 2022 14:19:06 -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=@gmail.com header.s=20210112 header.b=EqkmYvUu; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243290AbiAZQuB (ORCPT + 99 others); Wed, 26 Jan 2022 11:50:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236507AbiAZQt7 (ORCPT ); Wed, 26 Jan 2022 11:49:59 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D402AC06161C; Wed, 26 Jan 2022 08:49:58 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id i1so76137pla.9; Wed, 26 Jan 2022 08:49:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qHKkyLNz3BcJqhVoJVmJSW+AQ6LC+YMbazKnt8TVUkM=; b=EqkmYvUuHqLMrlellKgtt5dH4fjRwBxeLQlg4yOHiXrlRPwkZmEvL5zjR9gsWSQj8e FH/FdYO/EASM4JiRC2XMNbbtLLaauL4WXuAHKZc0or3hXKBCPHdtOFGpP+luU0nhVRhw ISVG1N4X6ctoZfEnl3UB1LEwNQISpF5UBMCga4EdNsAAxwXm9gMzD+tjcICd2bG9L0sA Fj66vuOp0rx9m6DVJ724BgsVjrxTHV+lVjBnWgTXX25kBbEXt0zAvwtvq72HmheS7iva z/wkmZSUkSjfDI6IaTzK9NHM1ChbYGdI5oqObJRJF0ttryPec4a4MTIJ2NWrucNChbJy ugzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=qHKkyLNz3BcJqhVoJVmJSW+AQ6LC+YMbazKnt8TVUkM=; b=f7GTLWjv+Srzi1anyoPz10f10nNa3Ta8dj7g8xza/eYzqFf6VVeDw8Gvb5bymqp3aJ R3RLTJADqz42SDaxfFiwe6fU0ZILDwDqEMA8CD6mg5Rc8QaF52uFED39Nr7DFXk8/EiP aoqZcQqSdkQZFeu1+eZqqXAA7Nc+uYzcqKx7HjoNumdJcPO/LOenGvahw6RVhtwFa89M AeD2iIymRYx1QlVFMymWsXYNX1pbY6NbNUXqqu+037+K/gdSoMDlVEArcHJ0RrGP2el9 hGn9TfG2eOHKJGhF2tLxCKaawzy++zUa0UwPKRLryqaKPgfzD+xX14PxuBBBGysorreg ePfg== X-Gm-Message-State: AOAM533prErK+CLzqhPKtdkiDu84eoa9p2pw3cYNzjCZs4nRpUkqqEHR vSyo1ZTyB9pP24dOnwxU6g+DJQWTVV0aGg== X-Received: by 2002:a17:902:7603:b0:148:daa7:ed7e with SMTP id k3-20020a170902760300b00148daa7ed7emr23330196pll.150.1643215798273; Wed, 26 Jan 2022 08:49:58 -0800 (PST) Received: from localhost (2603-800c-1a02-1bae-e24f-43ff-fee6-449f.res6.spectrum.com. [2603:800c:1a02:1bae:e24f:43ff:fee6:449f]) by smtp.gmail.com with ESMTPSA id o7sm2441165pfk.184.2022.01.26.08.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 08:49:57 -0800 (PST) Sender: Tejun Heo Date: Wed, 26 Jan 2022 06:49:56 -1000 From: Tejun Heo To: Tianchen Ding Cc: Zefan Li , Johannes Weiner , Waiman Long , "Peter Zijlstra (Intel)" , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask() Message-ID: References: <20220118100518.2381118-1-dtcccc@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220118100518.2381118-1-dtcccc@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 18, 2022 at 06:05:18PM +0800, Tianchen Ding wrote: > subparts_cpus should be limited as a subset of cpus_allowed, but it is > updated wrongly by using cpumask_andnot(). Use cpumask_and() instead to > fix it. > > Fixes: ee8dde0cd2ce ("cpuset: Add new v2 cpuset.sched.partition flag") > Signed-off-by: Tianchen Ding Applied to cgroup/for-5.17-fixes. Thanks. -- tejun