From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A3A2C07545 for ; Wed, 25 Oct 2023 18:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbjJYSqw (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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