Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp533888rdb; Wed, 17 Jan 2024 09:15:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJGWjme1ZUMRVXkNqzzDZWs/mQ/A3XKtsXfaLrkT+Q1/7jbF+F3c5iulaKoMsungkJ5Xaf X-Received: by 2002:a17:906:25ce:b0:a2d:d8cf:8e27 with SMTP id n14-20020a17090625ce00b00a2dd8cf8e27mr998720ejb.10.1705511726970; Wed, 17 Jan 2024 09:15:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705511726; cv=pass; d=google.com; s=arc-20160816; b=i5bvbyGhaf8d8K+jVGhJOu1UjaV2n016QQqjYx4t/wl7yjFG16YIdOrQ+XS7eQIyZ9 nQWeOG4p+ww4m4c1n2RgCgTEaw+emj4K7k9bJYVt/vyilOI0mRMFYzaJ1lNsaUXcDw3w U6tpI88LHkmemXcS3eWK7LxstcePGeHSx31f2K+6irRk4kRId3L4CfkEic37GhOO6tmw DZdDDzDp77O/FWZazu+QGYvgnwIcxYC19G0xeed8wmkj0sdZs8uXDaZl5HRb6WT1Or4w AX33uB8AsDaTrWvEefF9b94wAJG67xVF86lK6BbGqrQdA4uifHVnXUg/yB/KtmqqiLn6 HrAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=gGm/eLi1COg3Vpc3apSqmPNHHb4PLdH7xLSc6T9224c=; fh=BSPKLOMJBrOfe0PNw3R6Ibcq9t2VJ6aPGEQ8SVc4yKs=; b=wdyY5uYvA9MwkcqGPVgyqOqCnzNEBHUzX90eSosXe2tbUyFeNxNJge/1PMLa1TjlSF Jc4EAxSm+ILY+yKUeJqcN8IAsefBFtZfqTseyY4UNIVXbOZPSXdgE3JIgFw9pMyEypQu /6/HdfkBjbs0r16Qo8gLtaOhuWgts5iPlujQUXgdypOl94/dRHCuBp34l0dLZ7cUSfo7 44ZbdpSUmSnbXUmuylMdS2ODlxf29OeNIY8U/QfN/FNHCtcVrKmh3TMMyWI1BVmZK6Ry MmedcKmnP0oQSTdmWWm6qmHWVBSOYh2MhPrCJSHqoOZAa6oYmFPYYiSb0nxf3XFOo2Gw lvWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=POFlDrid; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-29262-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f1-20020a170906c08100b00a2b28a25dbcsi5878961ejz.292.2024.01.17.09.15.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 09:15:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29262-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=POFlDrid; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-29262-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B23221F236EE for ; Wed, 17 Jan 2024 17:15:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28305225DD; Wed, 17 Jan 2024 17:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="POFlDrid" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A1B5225AA for ; Wed, 17 Jan 2024 17:15:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705511717; cv=none; b=H6CfAWrWF6MTYcBWaMBaLsMZ2M5pZCnToEjsuraF5mDNlw43z/7QHaX1SRSuUa1ChI2GWo13EPxUsNjpQHKUOgW3IQV+4mtDgEuIQQ1l7qHlfmehZ7bqXyRyT6x+xJ1sMP96McSfZBMV79hz318BDqb0oJLQkGBox+4JtjQ5iGQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705511717; c=relaxed/simple; bh=T7IslF0lI3yblMUodVhB9tJHIl2XHIH3degOHlEEIZ4=; h=DKIM-Signature:Received:X-MC-Unique:Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:Content-Language:To:Cc: References:From:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Scanned-By; b=LFukDD/KsU25dg+f8k7eo4i2ihmUBYwr+JRC1WqNbhEGkStP0Porfm4G5qK8Drk4JJP4lyEOKst77yc7wEGEtlt2eT9Fj786s9aYX2VTD0NNdMBV8C3dHFaWvjvz//aDndDDzYLU5haPW+TSCiJEp6Fn+3dnWP1q+8zkrl613n0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=POFlDrid; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705511715; 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=gGm/eLi1COg3Vpc3apSqmPNHHb4PLdH7xLSc6T9224c=; b=POFlDridqg/rsFuOtpj1oakrxzx5nOGKlm4VcJBEye7/Qh07bAxTWJsmaMjKggvs86tRdY /9xdLu2uu/cUHjTCk+IW8CdxGJestkMmEQABb1RQTcBs2gfzqZn+PtkglcwX4FXFx6Gqv8 BsRJlk+om9005AZp9PoR5RW8Dv4Rat8= 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-631-7Yv0cQF3P-OKvQw7cQLm-g-1; Wed, 17 Jan 2024 12:15:11 -0500 X-MC-Unique: 7Yv0cQF3P-OKvQw7cQLm-g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 0782885CBA5; Wed, 17 Jan 2024 17:15:10 +0000 (UTC) Received: from [10.22.16.147] (unknown [10.22.16.147]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7E4F2026D6F; Wed, 17 Jan 2024 17:15:07 +0000 (UTC) Message-ID: <5ee5bf79-6cdc-4d1b-a19f-f0d5165a5f16@redhat.com> Date: Wed, 17 Jan 2024 12:15:07 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 0/8] cgroup/cpuset: Support RCU_NOCB on isolated partitions Content-Language: en-US To: Tejun Heo Cc: Zefan Li , Johannes Weiner , Frederic Weisbecker , Jonathan Corbet , "Paul E. McKenney" , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Davidlohr Bueso , Shuah Khan , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, rcu@vger.kernel.org, linux-kselftest@vger.kernel.org, Mrunal Patel , Ryan Phillips , Brent Rowsell , Peter Hunt , Cestmir Kalina , Nicolas Saenz Julienne , Alex Gladkov , Marcelo Tosatti , Phil Auld , Paul Gortmaker , Daniel Bristot de Oliveira , Juri Lelli , Peter Zijlstra , Costa Shulyupin References: <20240117163511.88173-1-longman@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.4 On 1/17/24 12:07, Tejun Heo wrote: > Hello, > > On Wed, Jan 17, 2024 at 11:35:03AM -0500, Waiman Long wrote: >> The first 2 patches are adopted from Federic with minor twists to fix >> merge conflicts and compilation issue. The rests are for implementing >> the new cpuset.cpus.isolation_full interface which is essentially a flag >> to globally enable or disable full CPU isolation on isolated partitions. > I think the interface is a bit premature. The cpuset partition feature is > already pretty restrictive and makes it really clear that it's to isolate > the CPUs. I think it'd be better to just enable all the isolation features > by default. If there are valid use cases which can't be served without > disabling some isolation features, we can worry about adding the interface > at that point. My current thought is to make isolated partitions act like isolcpus=domain, additional CPU isolation capabilities are optional and can be turned on using isolation_full. However, I am fine with making all these turned on by default if it is the consensus. Cheers, Longman