Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy

From: Shakeel Butt
Date: Tue Mar 16 2021 - 00:30:41 EST


On Mon, Mar 15, 2021 at 9:20 PM Arjun Roy <arjunroy@xxxxxxxxxx> 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.