Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4254350imm; Mon, 15 Oct 2018 11:33:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV62znPLgB4Ut+YpFhKNWMMSKyRM2GSDy7vFeUKBh33+9+DKa7FNECbKbVed5v9DeYikBMRtm X-Received: by 2002:a63:1b61:: with SMTP id b33-v6mr17124140pgm.245.1539628402511; Mon, 15 Oct 2018 11:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539628402; cv=none; d=google.com; s=arc-20160816; b=B0fh5FWhKeeJSxA7IpelLHV0jLa8PN3W/fvWHG+fktqLQ5oS0865d9Fk46ACXpTXl4 Cl4Sc60NgrpAh/FiPx4a2uRa8hCTzxbVxHKeMqyaeh0LkHMWAbYfaSyePy5w6yLHLDvz cVD9bvkPydH45fcuMqsCPY5VuVy1WLOGtTYhDJfwbriJ8KpC7hJrbPpAqRTCLvd90fJv i0SNs8D5AWYGtzls5dlxQbLNgW+sGnuqMfWWFAzJh4QQpSe0VPsq9bW6tdYDQWfD0dDG VBAN87fqXHPDYNPTiZKuKgzGVxtV8AkqXveP41nIB/psplGTPamIaohCxjEp9NrtnV2g jqHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=lP3s8su0hYbbuQqJ17aoW8Pq6QaJdWfCtPAiwg6se4k=; b=ld/yVHHDVTv4qQxXen4QmDupmuXOfOUuif4/6PdlAhN8kdezZAUNjDRTTzuH97uHXf 3VZpfqvXmYem+7HLB3hD//c9S/JE5iUUeygizjrb1yCNVfia8+8QA7Up+PXOO20nXvE5 1umRCQokGiOpmXBNr0eaknEC1U5dl6mFeMl9dxT8imZxpiJmYlmVzTjgN80+mN6mJkYe j9sM6ck6/eLzzCdrfVcwIhI2s3vrs9GWY3J6pCwW3r8OXWxauJz/h1gXMq4+xGbWQJxo zRp1y9QSI8wg5/FfTHhpINAvVO10dptdR6UNe/SU75BL3d8DnZt0/yfJMIA6PVpyG72q JXKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=gioilvQ+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14-v6si11343899plq.268.2018.10.15.11.33.07; Mon, 15 Oct 2018 11:33:22 -0700 (PDT) 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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=gioilvQ+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727015AbeJPCSx (ORCPT + 99 others); Mon, 15 Oct 2018 22:18:53 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:34720 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbeJPCSx (ORCPT ); Mon, 15 Oct 2018 22:18:53 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9FIOSeP010280; Mon, 15 Oct 2018 18:31:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=lP3s8su0hYbbuQqJ17aoW8Pq6QaJdWfCtPAiwg6se4k=; b=gioilvQ+vzOiH5rqVOLOIyJNbEM5Mv7pD3bq4h+39Rggr91GnepZA61Ynb//5aDmbYUI youfGluYpd4B7Wpy7rf4IakZCRoaJVPnM3D8kmM5RIDICuuQfs7bFkU6VI8HuYgrNDRD vNmk7GPGYlNB8nEWFEVrTdZkwb9dXb1BtWuzv+AIoZ4G4LcG/z4hcqqmXOKsq9ZeEy2/ kPacCZoPMQ43BI1eLjMKsAAF8MoGHo8n+3cekP7wg/gfN+mYwjmcO09h2fP10Q7QYRrK oYv3uNo4eLNP3zzz84QZjsVvkU8uAShG3q9bpVaDymKbSS/Ew4/pE9D4pd70exvnw+U6 NQ== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2n39br42mp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Oct 2018 18:31:48 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w9FIVgKc008363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Oct 2018 18:31:42 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w9FIVdgK003714; Mon, 15 Oct 2018 18:31:39 GMT Received: from [10.154.131.235] (/10.154.131.235) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 15 Oct 2018 11:31:39 -0700 Subject: Re: [PATCH v13 01/11] cpuset: Enable cpuset controller in default hierarchy To: Waiman Long , Tejun Heo , Li Zefan , Johannes Weiner , Peter Zijlstra , Ingo Molnar Cc: cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kernel-team@fb.com, pjt@google.com, luto@amacapital.net, Mike Galbraith , torvalds@linux-foundation.org, Roman Gushchin , Juri Lelli , Patrick Bellasi References: <1539366951-8498-1-git-send-email-longman@redhat.com> <1539366951-8498-2-git-send-email-longman@redhat.com> From: Tom Hromatka Message-ID: Date: Mon, 15 Oct 2018 12:31:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1539366951-8498-2-git-send-email-longman@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9047 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=883 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810150160 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/12/2018 11:55 AM, Waiman Long wrote: > Given the fact that thread mode had been merged into 4.14, it is now > time to enable cpuset to be used in the default hierarchy (cgroup v2) > as it is clearly threaded. > > The cpuset controller had experienced feature creep since its > introduction more than a decade ago. Besides the core cpus and mems > control files to limit cpus and memory nodes, there are a bunch of > additional features that can be controlled from the userspace. Some of > the features are of doubtful usefulness and may not be actively used. > > This patch enables cpuset controller in the default hierarchy with > a minimal set of features, namely just the cpus and mems and their > effective_* counterparts. We can certainly add more features to the > default hierarchy in the future if there is a real user need for them > later on. I really appreciate this simplification of the cpuset controller. I currently have an in-house customer that is unhappy with the way cgroups cpuset v1 handles offlined CPUs.  This patchset makes two significant improvements over current cpuset v1 behavior.  1) It allows for offlined CPUs to be added to a cpuset (even though the CPU is offline) and 2) it restores CPUs back to the requested cpuset when they come back online.  This is more intuitive and secure for my customers. Thank you! In part because of this patchset, I plan on proposing similar behavior for offlined CPUs to cpuset v1. Thanks. Tom