Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3930320pxf; Tue, 16 Mar 2021 01:03:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxncz/4FlLof+EKjvrGlhOmiAQjWUQbThkf3JkKJOSJPhdGa/9sIwO+9UqzPXNUEqfLZdR4 X-Received: by 2002:a17:906:eda3:: with SMTP id sa3mr28325401ejb.147.1615881800380; Tue, 16 Mar 2021 01:03:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615881800; cv=none; d=google.com; s=arc-20160816; b=Y93X403CgNEg7CzsCkGXKjZlBEQ3Lsa9M57I8tceYYNFlOSQyiw67pSCQ1OPb8iZlh duPKu+rs48R4gr+nQoq80m/TD+GFYpMVSlXLkdDtsEITCl7J/u13T49tAXR9zYKG7OF7 udDlbxU9hWGsjCNhynpM86AI5nBqCIbZzu3aa+fy75SS5FEH0PPMkbiZ1sUW1635lu8v RlAlcKamZB11XHFPr4OvyOvVBeVDQ1JoZJm8Sk5ItwszFGJAojKvpwLG18bv7ICmylAG g9OMiZ6nER1CAHZg3PM6FdwMwMjCT4mgFLDx4ac4nY+tAMS9zs5mQFIORxQ8mLg8g7YI cfCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3zzhDPqLig+/Zw9qmQx4u8x639EaQw4NkATkHqrVPa8=; b=Neyl3eYFCXtFg5HIT6WR2OQlnFRLFgucbu5YkCwOQmClmDWTModISkud2QMjrHcnvB bDgSjzDbHeWFdmBThrVR96HPHw9zXvkQFDH6Cven4cz7EH8Khg5C6cwHY4+ANL9XpMyt EDmmXmaXP182DOUr3/pZMrVrt6Rx3lVOqqM9RDzQSpJxY1MOCOZ/uoptlaS9ITVVw7Ze L8ooxCJrwh4eNYyu9agiWSfV3ScGD8/3Z1dw41ZuXrB174JbBj9rEAVU955M0x/H9Ok+ QWE6SdMSyHxLqvxETqmPmSZD664n7AZlADA4zQZRgUd80Qxp768v09EK8pytcNrdWM1G Oqig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bqOgR2yg; 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 r3si13067280eja.625.2021.03.16.01.02.57; Tue, 16 Mar 2021 01:03:20 -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=bqOgR2yg; 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 S233975AbhCPEaI (ORCPT + 99 others); Tue, 16 Mar 2021 00:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233761AbhCPE3u (ORCPT ); Tue, 16 Mar 2021 00:29:50 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66155C061756 for ; Mon, 15 Mar 2021 21:29:50 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id u20so18872413lja.13 for ; Mon, 15 Mar 2021 21:29:50 -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=3zzhDPqLig+/Zw9qmQx4u8x639EaQw4NkATkHqrVPa8=; b=bqOgR2ygnLQuRVD06CKj/ojYEyQPqN2mj140AA8RMfI0Vgdf5feZXBlzco50UxnYGj oz1mRBKDJh6BIn7QDi3dOeOGXKxhOUjLq4SKwMp9V0URMK1qEOYem4FIqLZdCEMg1SDk PQgWTWfQV4jzFgG4cMKL7ZEZG+oAhhVNTQa0WavQ4F3TrE+0RyHHBT5muwCHpm48nrmA f6ICyig6uJWhZxGmiWjgvlu47UYKGrmaEhKj6U0po4wNfyw7HsjU41NBTO6pQarA//vj XHn4IU3dw2YBXpy8bBwpqbOWtB44DLNCQxpdSOtfW99iMMdFEAJUvYtZO75DwB9RwiTd 8t8w== 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=3zzhDPqLig+/Zw9qmQx4u8x639EaQw4NkATkHqrVPa8=; b=W1pcY+N0PlARmP+yprpQkPooIT2vQ885jmQlOM2D748wx7sHtgA3gJh+ZgbNJMxLKW qqNlzMrXs0HN05JdVVwDIgcf87qBFDPhQq06zCIjYaSOUzhllYQIusDWzio4M+kc+iBy ZIuzBXqlXvbm7DaC5Ii52630T/QQZfb0bylxXBedMRGTRgHBjjmVK9zZi9fwBsWlMpMB cn3UDbGUFYAfKWFzBs3huSAzXaMd3QTrHTYTP527ETRDs+9zCCy9ZQAwnfvGtrEfdHjh GScIqkW8ZCqGUARiXCbGk8cPTGBG0aBzqwkdm4cNHIapK+HznCol9Kp7l5+g0fORc3Xi HV+w== X-Gm-Message-State: AOAM532Aj6PTWEGPRQVUSb8+a0rjF/Zq4l35WW9HV9fPcs3rIvEycsiX 5OxMBs6ukriuodjnHbTSvjoXn5fMSOLCr8EPzuLdXw== X-Received: by 2002:a2e:9195:: with SMTP id f21mr1358078ljg.160.1615868988607; Mon, 15 Mar 2021 21:29:48 -0700 (PDT) MIME-Version: 1.0 References: <20210316041645.144249-1-arjunroy.kdev@gmail.com> In-Reply-To: From: Shakeel Butt Date: Mon, 15 Mar 2021 21:29:37 -0700 Message-ID: Subject: Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy To: Arjun Roy Cc: Arjun Roy , Andrew Morton , David Miller , netdev , Linux Kernel Mailing List , Cgroups , Linux MM , Eric Dumazet , Soheil Hassas Yeganeh , Jakub Kicinski , Michal Hocko , Johannes Weiner , Yang Shi , Roman Gushchin Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15, 2021 at 9:20 PM Arjun Roy wrote: > [...] > > > > Apologies for the spam - looks like I forgot to rebase the first time > I sent this out. > > Actually, on a related note, it's not 100% clear to me whether this > patch (which in its current form, applies to net-next) should instead > be based on the mm branch - but the most recent (clean) checkout of mm > fails to build for me so net-next for now. > It is due to "mm: page-writeback: simplify memcg handling in test_clear_page_writeback()" patch in the mm tree. You would need to reintroduce the lock_page_memcg() which returns the memcg and make __unlock_page_memcg() non-static.