Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2307652pxp; Mon, 21 Mar 2022 16:30:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzerPDC4kPVM5ngMk7Wsbrg/X+B+LA3lDSVtGsxMWAygdl+cEmFh8onbEHu5oX3ZoZQdmfG X-Received: by 2002:a17:902:cf02:b0:14d:54cf:9a6a with SMTP id i2-20020a170902cf0200b0014d54cf9a6amr14950955plg.137.1647905427235; Mon, 21 Mar 2022 16:30:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647905427; cv=none; d=google.com; s=arc-20160816; b=f0QjlGRYFPReKo8D7fT+Fx6y5U5XQqhG2HBU33tO18R3G9yn5R7Gd/e0PwgadA0gWn /DlvQ2QBQJYjo2ZSBjfkBRKBTeHeLAUAh62AcFJTdRNXHCCk75FvXfMghlZ6kca9AjV0 cndwfVScParaSIGkTytmlA1dyGKtTVY8ot2L02f0NsJLYpGdvt5zYWssVf5El3nirG9B nimQVe+o8nqA1H2DOQZGMANEWNiWokRKKawYvxahxs3+gnPiU8sqju3lWsiEkqsufKW0 oudvho0HE6Q4HQ/ox7z0tasl7uMJ0wn8+VhKaHbrQv/lVRX5BdvSToW1TTyfPZT8+KV1 8M3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FG/voD+DgWXmOAGe303ur6CUB56T56c8MHMtIMwufHs=; b=mwx8aOZ2y8p+IhjWfldPmlQXjLRTQw9bxyuRuMuCdeLNZo4OumJvPNvsrfICYIbLXv YPojK/6WKxSDmg6e3Ddk2XmbGX9c4a8F1uwl+C0T1xs29qzWUSjDiUINAjfDwTLSUGB8 eq+IwwE82ncEumg6iUbiMqe9ADAgf08i88F0U5udnHnJUZH4+tP/GJ8K5xA7XOxnFNaV HoQkzv1i2BaLQMnFL2tOcUTmKBU0gXAF3F0ZqZNDdVLUg/Z37GHVtdxEX4v5yR5RWPyF TTYo4kGhKsCEVO7sbSt0M0vj5iATrmpPKAJ7dPPO8JMewS++pq2vFnJy/pDWYnQPkKfo IxYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="ZV6x/1DC"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s8-20020a63af48000000b003816043ef8bsi15076604pgo.384.2022.03.21.16.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:30:27 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="ZV6x/1DC"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EE0F746CE36; Mon, 21 Mar 2022 15:21:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349260AbiCURjD (ORCPT + 99 others); Mon, 21 Mar 2022 13:39:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348746AbiCURi4 (ORCPT ); Mon, 21 Mar 2022 13:38:56 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E12AD187BA4; Mon, 21 Mar 2022 10:37:30 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 58BE31F37C; Mon, 21 Mar 2022 17:37:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1647884249; h=from:from:reply-to: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=FG/voD+DgWXmOAGe303ur6CUB56T56c8MHMtIMwufHs=; b=ZV6x/1DC0p7tuAxJI2DaKbablWASdPnbFE2nSJ1RXrHZQUwroTi8Q9KwCCRyacn1+ZPueP WYBKzbNFNFkbpPdhbqmW+fj0+PZUyLxxW1U2kg7YsSnKmIuBWqSzYB8C8wLxVo90H+4Ss2 SbJDDHjvSS09x+Abxn2HnFk0v+cBHag= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 48CC2139DB; Mon, 21 Mar 2022 17:37:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gmh6ENi3OGL9TQAAMHmgww (envelope-from ); Mon, 21 Mar 2022 17:37:28 +0000 Date: Mon, 21 Mar 2022 18:37:26 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: "T.J. Mercier" Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jonathan Corbet , Greg Kroah-Hartman , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Hridya Valsaraju , Suren Baghdasaryan , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Benjamin Gaignard , Liam Mark , Laura Abbott , Brian Starkey , John Stultz , Tejun Heo , Zefan Li , Johannes Weiner , Shuah Khan , kaleshsingh@google.com, Kenny.Ho@amd.com, dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [RFC v3 1/8] gpu: rfc: Proposal for a GPU cgroup controller Message-ID: <20220321173726.GA9640@blackbody.suse.cz> References: <20220309165222.2843651-1-tjmercier@google.com> <20220309165222.2843651-2-tjmercier@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220309165222.2843651-2-tjmercier@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On Wed, Mar 09, 2022 at 04:52:11PM +0000, "T.J. Mercier" wrote: > +The new cgroup controller would: > + > +* Allow setting per-cgroup limits on the total size of buffers charged to it. What is the meaning of the total? (I only have very na?ve understanding of the device buffers.) Is it like a) there's global pool of memory that is partitioned among individual devices or b) each device has its own specific type of memory and adding across two devices is adding apples and oranges or c) there can be various devices both of a) and b) type? (Apologies not replying to previous versions and possibly missing anything.) Thanks, Michal