Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp378866pxa; Fri, 21 Aug 2020 09:32:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy41wefht3ZPydeSSTaRh8op59Xtm/FdwYfUe/VB622xYmHz/GVJ2M4uR4vn/TtXRiAloNI X-Received: by 2002:a17:906:7790:: with SMTP id s16mr3905390ejm.254.1598027521074; Fri, 21 Aug 2020 09:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598027521; cv=none; d=google.com; s=arc-20160816; b=Egwmx/TE/FtUC+jH7bWqc9DOpDmA+QbedB4cgKyy/sw4Nvjj8Y/MBHuFHIheg/6nCC pMyjpOZTCFveAu9O1NvTnp5dcF27rXLObDznu0Dn+Y9ckf02F7u8LSM5RYmiTC+4QZIO iEI9jgVJgxOwXu9nWyIjC+8kieCLI3nBZ0KpJgOozMJOiP+5Hg+AIjowEcrh8bv0Srhi DiPrIPVtIahT1zwRoKgdCsUNIeQCQJ5NsmCIyykyvl/kXIA7164rEOFzk68tGjo2vuKU XfWerM/sL7Rr0gaKEW/PYB5ssQi5ao7hUsQUD5FJJ48jqReyORu8p85fMa2rf/hqZb63 MMNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ASBotJZ8EZpsI/eCx5HlBKysI3NgkGBSfRhPo944ZDA=; b=quDkN2rvhvOjYAQ4Iucme+jB0PeSKdQE8hg/GzmWfsy2dxI7WquKSJQcfxgj8JFPuM GbQ3ux4vRhaVtLEBt3XSu0R9+jU2CLgRlgUpWf0U0fY2pOsmxTSMHlL1nyvrmWM+PJB/ oZsJdbd8soYJxlnnpqwypVo1grPi5PQuQCGW5qS0EOASyZutj7jMvZaNQJOlJoWY/jS6 I5cG0pv3j6g0WqOCf02dAQzccksKnV6gRjsFAk+JA164lJMEUaytxj21xKiWdMGI2mmM tLvPyKoSZUgSdVLrVnIEE/jddfxdwfbugQv3lgmhRLBVzfafNqAYAGnHIcDoXGL7BUON +edA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=mvQsNqxv; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si1497051ejd.544.2020.08.21.09.31.37; Fri, 21 Aug 2020 09:32:01 -0700 (PDT) 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=@google.com header.s=20161025 header.b=mvQsNqxv; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728324AbgHUQ3K (ORCPT + 99 others); Fri, 21 Aug 2020 12:29:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728271AbgHUQ2Q (ORCPT ); Fri, 21 Aug 2020 12:28:16 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 871A7C061573 for ; Fri, 21 Aug 2020 09:28:10 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id m22so2497471ljj.5 for ; Fri, 21 Aug 2020 09:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ASBotJZ8EZpsI/eCx5HlBKysI3NgkGBSfRhPo944ZDA=; b=mvQsNqxvDRfKY9x4pIZgEPhlpB930QAuNErYXzNPLu7IhTBgokTUR97DSKDApKmNfS cibjePU5QCWO42UFsCRWQwMu/X9Q9pISUETSOyLv8GDQ7qwMEl4Ib/H3WWqJjSRry3xl 9TU6msunmhJlIGiYjWcVH7a2M3X4BhkWw0G2xvXyrrXNTBchQ9LtnRpmS8/pffU/upUX /kFJp8461OeN+P7fP/3Y2HmjrCgDZQYrsQfpcRdb/+ho08gxWAK1CegzesM559po/s7S QS3/ic98qpHNV6+NY5HcH0fd2uQX7y1u6cKBRJq2fY9JRNDQP1Z7JMuCbauUj7xPMwgM dTgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ASBotJZ8EZpsI/eCx5HlBKysI3NgkGBSfRhPo944ZDA=; b=isUBKKKOMtFxoE2POdUZeJ+8zZCvFbqAFHHYkpot1NsGl+qBAIkpxO8bXIpPPoMiRn iThrsTWhl/cx6uzunKuAR7ovHJcoEyz5ejQS9EA1jc0vNwag48KuPwU1ncKIR4GizhGw /pZSXe9elp1MV5dWrRRzFb0JvCJs/LrUQ38JfHdAS7fDf56AA4Uk/8IruNRG8eiaIMyy 5vla98X6E3SF05buQBOKFGp8KkmOTnVzcC9HU2dwmsmTGlobD1MEspa6UyjCneUOERPM kQ9CUnym+vm0SlnurzN8Atf0CRKdS/h3uOKR/bul6byeqphqn5ei1izcVItVzoSMxI7O Wipw== X-Gm-Message-State: AOAM532SsyDxAQ1l5TwjgBJmNHvEscmoV/TA1nU+CMRBp9UTJZ29nMJT VY/zifjmNlu+il12879PCGAQnDNl+GVdAOo/3j140g== X-Received: by 2002:a2e:96c3:: with SMTP id d3mr1932135ljj.270.1598027287929; Fri, 21 Aug 2020 09:28:07 -0700 (PDT) MIME-Version: 1.0 References: <20200528135444.11508-1-schatzberg.dan@gmail.com> <20200821150405.GA4137@dschatzberg-fedora-PC0Y6AEN.dhcp.thefacebook.com> <20200821160128.GA2233370@carbon.dhcp.thefacebook.com> In-Reply-To: <20200821160128.GA2233370@carbon.dhcp.thefacebook.com> From: Shakeel Butt Date: Fri, 21 Aug 2020 09:27:56 -0700 Message-ID: Subject: Re: [PATCH v6 0/4] Charge loop device i/o to issuing cgroup To: Roman Gushchin Cc: Dan Schatzberg , Jens Axboe , Alexander Viro , Jan Kara , Amir Goldstein , Tejun Heo , Li Zefan , Johannes Weiner , Michal Hocko , Vladimir Davydov , Andrew Morton , Hugh Dickins , Chris Down , Yang Shi , Thomas Gleixner , "Peter Zijlstra (Intel)" , Ingo Molnar , Mathieu Desnoyers , Andrea Arcangeli , "open list:BLOCK LAYER" , open list , "open list:FILESYSTEMS (VFS and infrastructure)" , "open list:CONTROL GROUP (CGROUP)" , "open list:CONTROL GROUP - MEMORY RESOURCE CONTROLLER (MEMCG)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 9:02 AM Roman Gushchin wrote: > > On Fri, Aug 21, 2020 at 11:04:05AM -0400, Dan Schatzberg wrote: > > On Thu, Aug 20, 2020 at 10:06:44AM -0700, Shakeel Butt wrote: > > > On Thu, May 28, 2020 at 6:55 AM Dan Schatzberg wrote: > > > > > > > > Much of the discussion about this has died down. There's been a > > > > concern raised that we could generalize infrastructure across loop, > > > > md, etc. This may be possible, in the future, but it isn't clear to me > > > > how this would look like. I'm inclined to fix the existing issue with > > > > loop devices now (this is a problem we hit at FB) and address > > > > consolidation with other cases if and when those need to be addressed. > > > > > > > > > > What's the status of this series? > > > > Thanks for reminding me about this. I haven't got any further > > feedback. I'll bug Jens to take a look and see if he has any concerns > > and if not send a rebased version. > > Just as a note, I stole a patch from this series called > "mm: support nesting memalloc_use_memcg()" to use for the bpf memory accounting. > I rewrote the commit log and rebased to the tot with some trivial changes. > > I just sent it upstream: > https://lore.kernel.org/bpf/20200821150134.2581465-1-guro@fb.com/T/#md7edb6b5b940cee1c4d15e3cef17aa8b07328c2e > > It looks like we need it for two independent sub-systems, so I wonder > if we want to route it first through the mm tree as a standalone patch? > Another way is to push that patch to 5.9-rc2 linus tree, so both block and mm branches for 5.10 will have it. (Not sure if that's ok.)