Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp476807pxu; Fri, 4 Dec 2020 07:49:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1y/21tPS7Ypob7YuGQ0+aGDeXojlmNUGSzNBa/UpQu+YHeMFZtD4Sc5BdR5b3AEneAkCY X-Received: by 2002:a17:906:b56:: with SMTP id v22mr3941640ejg.145.1607096994954; Fri, 04 Dec 2020 07:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607096994; cv=none; d=google.com; s=arc-20160816; b=E0zMvNf947yaLwXTf3Pe1390XW1ATUORfqPUvzyWnqJPvCNAuP2YZHZuOSuPQFtLUn Vm1OcXSjnjYc6UqVnk3IeD25owZA1nOnx7HBjOIfw1OcQJff5vwcdlQSYf7COU1tLMg5 0ibZibpMfvEdkz0Yps4MNKXlX0CC0ZkzNw5KmL4FO0QI+B5fP074yWwpGyln04uix7r+ 8csgI/g1hC196op51zCJWbCH0mqhdrkNoY42dMCk/Oqa5ljA7XkZW3amnQwcKV81PA1Z unGophEIsnO9tc6yT/Uqe/DnGDcFjr8AnK2h/Q1IWS2O0I3Fw4El1iZuDd6KW3/KTQfS b2RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=FMdFUwxD2m3I4SoM+J772H7vQty27Q4nst6R1kvnYpw=; b=ss08AxnNRZnrX/fAcPci+dVPjdTWdO/JedL7MnliL/+LACUCXK4Fpt+X11XjJ1va9S NpT7NZjBgjv9psqZOLUGrYkZrKIKsinGHbaZE9QxPbtzWJLOipU0JFg0aWyrqhiIix6Y WoimhA9Du8fpk0B3J1i5SSdvXc8Qdl16fHVj7RLS3HFfhMIl/pZZAuqT5rPG7T5igkcU x7tDF2DwGQDI4GPud3DKllZsE5B+iqXt2gwow7KKJX3Vx3QyLpNiSrfeyDIAQW+17OEy SjRI6RvpNVmki8zV1pCF+6cc0+ZVIgR1FJI+7CZi0WZeyjd2fPIo6Yg+/4tgWbz/BvAm SLIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=trm3vYaG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si3181401ede.232.2020.12.04.07.49.31; Fri, 04 Dec 2020 07:49:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=trm3vYaG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727570AbgLDPqg (ORCPT + 99 others); Fri, 4 Dec 2020 10:46:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbgLDPqf (ORCPT ); Fri, 4 Dec 2020 10:46:35 -0500 Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A24E6C0613D1 for ; Fri, 4 Dec 2020 07:45:55 -0800 (PST) Received: by mail-qk1-x735.google.com with SMTP id q22so5778561qkq.6 for ; Fri, 04 Dec 2020 07:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=FMdFUwxD2m3I4SoM+J772H7vQty27Q4nst6R1kvnYpw=; b=trm3vYaGs+Ys4p9ttYTRihiN6WVvlKBfTAkmuhZGBN5sy4ZZUhSs+FLNShUkFOtBVC Kp4H5+JfyjnNYof04pYZ5ghqN+PnmDyhS5oRbWEMaKZQpczke8hdigyKPwOV8AutCKvr muYcl0x6w8aVQWeKG8p29IOqk0EPSzOsC7562MdAp3vHHrObdyclAGQ1D6w7674GFJDK oHXPBdHXAppU+Z+RylLDictKfT+QXhG0AdcVsUzHE5ceKTXzvFouF3mcYP+4IMh/45df mHzbEHXeJ4Eb2w0JJf30tMq2DcPRFSAsMRfjkmilWv1LW8cuPWqJt65B17/rehybSCcp 1uMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=FMdFUwxD2m3I4SoM+J772H7vQty27Q4nst6R1kvnYpw=; b=AKhTSNI2AKm2yVX0X2DjyV0I/fEPreW+soZ8iK0L6hg8OvGSmKhQKzCPz7EZliEri5 bvaDyt5+scdpXvZkXJrbcR0ENjWnC1A1MMJpW7dIfmX0PWLNv+ayMz9BgCR7H8H/jaPQ zrXR0M1rTVepHD9C7bnF0kP1yQ+MClCPKjWSiuCrMNyr82+I5glOXuuDXDC6XGlJ6PJ/ aIfrtg3RWIghLlRbq4beYBOLwkUKXVkhvcfUSA450I4J3h9GKX8s18pO45DOd8TcHmUS 0k9eFK2rhLK0NflIW0iDZHeyvVUFL2j4FKL8gK9S6loFLA3RuTQUko3CcL+UyVebsGUS K4oQ== X-Gm-Message-State: AOAM533vAAQMlrO/CrUGI4LNeWAhqciBDA+PytoguI53ZC99ACwF/QEI 51S0EkQP3sAmaFA2cMAd/ws= X-Received: by 2002:a37:56c6:: with SMTP id k189mr9011032qkb.501.1607096754668; Fri, 04 Dec 2020 07:45:54 -0800 (PST) Received: from localhost (dhcp-6c-ae-f6-dc-d8-61.cpe.echoes.net. [72.28.8.195]) by smtp.gmail.com with ESMTPSA id s130sm5055078qka.91.2020.12.04.07.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 07:45:53 -0800 (PST) Sender: Tejun Heo Date: Fri, 4 Dec 2020 10:45:25 -0500 From: Tejun Heo To: Josh Don Cc: Peter Zijlstra , "Joel Fernandes (Google)" , Nishanth Aravamudan , Julien Desfossez , Tim Chen , Vineeth Pillai , Aaron Lu , Aubrey Li , Thomas Gleixner , linux-kernel , mingo@kernel.org, torvalds@linux-foundation.org, fweisbec@gmail.com, Kees Cook , Greg Kerr , Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , vineeth@bitbyteword.org, Chen Yu , Christian Brauner , Agata Gruza , Antonio Gomez Iglesias , graf@amazon.com, konrad.wilk@oracle.com, dfaggioli@suse.com, Paul Turner , Steven Rostedt , Patrick Bellasi , benbjiang@tencent.com, Alexandre Chartre , James.Bottomley@hansenpartnership.com, OWeisse@umich.edu, Dhaval Giani , Junaid Shahid , Jesse Barnes , chris.hyser@oracle.com, Ben Segall , Hao Luo , Tom Lendacky , Aubrey Li , "Paul E. McKenney" , Tim Chen , Oleg Rombakh Subject: Re: [PATCH -tip 26/32] sched: Add a second-level tag for nested CGroup usecase Message-ID: References: <20201117232003.3580179-1-joel@joelfernandes.org> <20201117232003.3580179-27-joel@joelfernandes.org> <20201125134237.GZ2414@hirez.programming.kicks-ass.net> <20201202080211.GD3021@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Dec 03, 2020 at 04:51:42PM -0800, Josh Don wrote: > > So me the color thing reads like an end-run around the cgroup hierarchy. > > Restructuring the cgroup resource hierarchy to incorporate the trust > domains is not necessarily trivial (as is the case for us). I agree > though that that would be the ideal correct solution from the cgroup > hierarchy perspective. Yeah, it sure isn't. We (FB) had to go through a couple iterations and it's looking like we need another adjustment, so I fully agree that these are painful but at the same time I don't think it's difficult to see that how piling up workarounds in the lowest layer is not the right thing to do. The workarounds you guys need would be different from what we or others would need. The kernel can't be maintained in any sustainable manner if we keep piling on disjoint workarounds on it. Please consider long term trajectory when proposing interface changes which often boils down to identifying the core features which must be supported by the interface. Thanks. -- tejun