Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2770957rda; Wed, 25 Oct 2023 11:47:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGycDsRpq9aBc6XhUpRs4HittJ1H6uz09oBVM9i2dPfAt9T+/XU4GOYbzKa8/6Gyk+48+Vw X-Received: by 2002:a05:690c:f88:b0:5a8:2007:b5e4 with SMTP id df8-20020a05690c0f8800b005a82007b5e4mr19637372ywb.36.1698259628145; Wed, 25 Oct 2023 11:47:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698259628; cv=none; d=google.com; s=arc-20160816; b=OT3/SBdBCb1kjqsL4VzIsO95NVA8dh3YmLku/oKxNW9dHGMkXzEgOy3hSWTW97sKtk mtUsT2J+URV/Zc93/X2RRrvtXj7eGbNGmIun7euCKZZ5gTrdJ1RURd2cq0gH0FXHRIeo aIaLsHIFC2swaEAYbpJsRqRRQsRXNuHYd5/3VT0jgl97Ki+k3+KYs48RJuqURFP2tEny YRKrohXJLpZDvtkt/OU+lxPc/6b8aQBPkf9c+y4S6leJzQ4Bx1eMgX6wOPcKR/i2x4JH lRoeYxqX/aA/iq88FHCu1mW70dI0xmAj6oi7upvUJD//KZBsdqZak0mgsLnipg1D7xpX QYtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SgBMxtkVhUoG7t1CWbN6Lm5UPuU4BbKMP/ha4PbuoVQ=; fh=qHj29L2A5mwzu/PF4m4XcxAWuokRE3PlYhTqb6/cyNs=; b=pANat9jhfu0Hi1JFtdZj12J3cTTGTRm0CcHt4x7xBz9/LXcLG+qOar0gsIhs66Wc16 DWFR/IbB2d0PLHdMQUy4r5ipI4vB9pRvjZeC6Z2ZCkbNSsMnMHaAQecIe490K63UGpA6 YX1p9+qNioxru/G7NVihLe6kuAE4Wq+B/TBQfMFd0zWq7DUNORxpuZJxfGBPdxmDsp+/ HW8335LgSilqdMRrCxyJNliB4hEMR9UbzMognD3sOWi/smLloKgrm3aa8I5mL9NaUdEV 9YoGPSv5+o48bm8UlvBVdaq8zRKMyFnvyB3+nklkjb1SBo0Qq+lvx+Mq+//+xfOsRjch QwJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="A9V6j8/M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j126-20020a0df984000000b005a7d5bdcd2esi11006108ywf.432.2023.10.25.11.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 11:47:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="A9V6j8/M"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 98AAF80257B8; Wed, 25 Oct 2023 11:47:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229598AbjJYSqw (ORCPT + 99 others); Wed, 25 Oct 2023 14:46:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjJYSqv (ORCPT ); Wed, 25 Oct 2023 14:46:51 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62E56115 for ; Wed, 25 Oct 2023 11:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698259567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SgBMxtkVhUoG7t1CWbN6Lm5UPuU4BbKMP/ha4PbuoVQ=; b=A9V6j8/M7IcnwwWWwK35PMxlVjUOHcr6H4IYg9ZBoZCZwPlRxEtky1n6QjXS9XGqbX4V1V a6IJVDD38dORecAHAkSpuyCkrcTc9aFGHsjSU8g3ZNjjRxlOSaeYEMYGeoVv7adOnoh6J5 jrnMiUu0XqXbJYsFtAL89qzm1lvSaVQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-gNb3Di8KMZ-8dTWtY98GKQ-1; Wed, 25 Oct 2023 14:46:04 -0400 X-MC-Unique: gNb3Di8KMZ-8dTWtY98GKQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B36558925C4; Wed, 25 Oct 2023 18:46:02 +0000 (UTC) Received: from [10.22.32.140] (unknown [10.22.32.140]) by smtp.corp.redhat.com (Postfix) with ESMTP id EA456492BE7; Wed, 25 Oct 2023 18:46:01 +0000 (UTC) Message-ID: Date: Wed, 25 Oct 2023 14:46:01 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH-cgroup 3/4] cgroup/cpuset: Keep track of CPUs in isolated partitions Content-Language: en-US To: Tejun Heo Cc: Zefan Li , Johannes Weiner , Jonathan Corbet , Lai Jiangshan , Shuah Khan , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20231013181122.3518610-1-longman@redhat.com> <20231013181122.3518610-4-longman@redhat.com> <9e2772e3-f615-5e80-6922-5a2dd06a8b07@redhat.com> <59448803-ac86-0762-d828-c3eba431ceb4@redhat.com> From: Waiman Long In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 11:47:05 -0700 (PDT) On 10/23/23 23:25, Tejun Heo wrote: > Hello, Waiman. > > On Wed, Oct 18, 2023 at 02:24:00PM -0400, Waiman Long wrote: >> If you mean saving the exclusion cpumask no matter who the caller is, we can >> add another exclusion cpumask to save it and expose it to sysfs. This should >> be done in the first workqueue patch, not as part of this patch. I expose >> this isolated cpumask for testing purpose to be checked by the >> test_cpuset_prs.sh script for correctness. As said, I can expose it without >> cgroup_debug if you think the information is useful in general. > I don't really care where the cpumask is in the source tree. I just want all > the workqueue cpumasks presented to the userspace in a single place. Also, I > think it makes sense to publish it to userspace in an easily accessible > manner as what the eventual configuration ends up being can be confusing and > the effect it has on the system subtle. I have added 2 more read-only cpumask sysfs files in v2 to expose the information. Cheers, Longman