Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4640002ybv; Tue, 11 Feb 2020 00:18:57 -0800 (PST) X-Google-Smtp-Source: APXvYqyOqalF6EUpVq2j0RInCDmfTs18bWIRufq7sHLT64dnJKeqcTUN8BqwWQrZH+oy2BD0J6fb X-Received: by 2002:a9d:66d1:: with SMTP id t17mr4480823otm.233.1581409137487; Tue, 11 Feb 2020 00:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581409137; cv=none; d=google.com; s=arc-20160816; b=mn3lWEJP9eTP3/ywkP44gZivnslUKZJ9M9RHGgvMBbaecgtTXbwzpNC8Juw9LMszv6 ovOEGSTqOhgZPv/lYIJWUpMiBRrglHQlt5Vgs9plKcQM8S8ClNKQw0zGG1EUWrEv4RdU Wg4zbaYJ/7vZEr36NAyV1/AnG5GiZzUfuDWtn8HOqASGY3fj+bre94v51pnk0oJE4lhW hXAitQ/YwT3XRurgY4IEeV3KQz7l6q5z6jsZeVxb1Njuf7+ksXPzHPEnVmq0QVRrMouf 3gY0MnlY4CZrextmke8WGlFQBvFj7ogEWTHt3kDU0Yc1SYfpkvfBZJg9rwjEzl4CxOUO UTBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to; bh=5u50dsrucCEWMrDryCwcwczk5ocb929VYjZO3xvSPB0=; b=dpBfQS3plRBemMmelBq5MVXHHvtp5ZovLa9WleQKWYZRAmT1TlFtxqSRd4/4U1LC30 gqRcfVSB8tirT+7UfC7u2xkdlbuwmMnFED3v2ER+nloHIHmKoYBoOj/5H6Y6TcCRYFLi W0ZvKAMW1amAhuqwn0zU8JFWM++PQbjBfJUYvnQECGbwA4L5IFbA1+TKZ/cLznaxrhvn z65TWpE8zckTmq46mZpD/vbfMZ7+dWYaaMMYatqTkjAVd5uBF62F2PZp6rP0T0Fuzqtc OuTi9IerYeWwmsEDkhPt9pdjgnoUQH+MSxjKcj2w4wkt0BsvlRrlKMP0R9iBevIWKU2X m9iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si1581668otq.148.2020.02.11.00.18.45; Tue, 11 Feb 2020 00:18:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727821AbgBKIRj (ORCPT + 99 others); Tue, 11 Feb 2020 03:17:39 -0500 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:37265 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727687AbgBKIRj (ORCPT ); Tue, 11 Feb 2020 03:17:39 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07417;MF=yun.wang@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0TpgaLzl_1581409054; Received: from testdeMacBook-Pro.local(mailfrom:yun.wang@linux.alibaba.com fp:SMTPD_---0TpgaLzl_1581409054) by smtp.aliyun-inc.com(127.0.0.1); Tue, 11 Feb 2020 16:17:35 +0800 To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , "open list:SCHEDULER" From: =?UTF-8?B?546L6LSH?= Subject: [RFC] why can't dynamic isolation just like the static way Message-ID: Date: Tue, 11 Feb 2020 16:17:34 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, folks We are dealing with isolcpus these days and try to do the isolation dynamically. The kernel doc lead us into the cpuset.sched_load_balance, it's fine to achieve the dynamic isolation with it, however we got problem with the systemd stuff. It's keeping create cgroup with sched_load_balance enabled on default, while the cpus are overlapped with the isolated ones, which lead into sched domain rebuild and these cpus become non-isolated. We're just looking forward an easy way to dynamic isolate some cpus, just like the isolation parameter, but sched_load_balance forcing us to dealing with the management of cgroups, we really don't get the point in here... Why do we have to mix the isolation with cgroups? Why not just provide a proc entry to read cpumask and rebuild the domains? Please let us know if there is any good reason to make the dynamic isolation in that way, appreciated in advance :-) Regards, Michael Wang