From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4216C388F9 for ; Fri, 13 Nov 2020 04:08:37 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2159D22241 for ; Fri, 13 Nov 2020 04:08:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EAwjbLbL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2159D22241 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7B7CB6B005C; Thu, 12 Nov 2020 23:08:36 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7687B6B005D; Thu, 12 Nov 2020 23:08:36 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 658756B0068; Thu, 12 Nov 2020 23:08:36 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0192.hostedemail.com [216.40.44.192]) by kanga.kvack.org (Postfix) with ESMTP id 387296B005C for ; Thu, 12 Nov 2020 23:08:36 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id D9D2C181AEF00 for ; Fri, 13 Nov 2020 04:08:35 +0000 (UTC) X-FDA: 77478063390.11.store30_32124bd2730c Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin11.hostedemail.com (Postfix) with ESMTP id BCF77180F8B81 for ; Fri, 13 Nov 2020 04:08:35 +0000 (UTC) X-HE-Tag: store30_32124bd2730c X-Filterd-Recvd-Size: 5784 Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Fri, 13 Nov 2020 04:08:35 +0000 (UTC) Received: by mail-lj1-f193.google.com with SMTP id y16so9047057ljh.0 for ; Thu, 12 Nov 2020 20:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AZbl5qbJ0BQUlrCyYeuRH2WHBnTTfBroCA0v71gGPzM=; b=EAwjbLbLZtio+We3R3VZRYvj8d2ngKxaxveWpWwYrnIPLKEbhUj/0vqLWp5jnUYW+K cVDEscUOGKWvkEYFY9uhr2jSdDq63oW0LI5gNdQmWW32+K8JRM0PYphZUGBqSL7UGY4h vULs8BPfNjVBoconwBuxls9FBcRDCuTkW6N42c6oEiqFu+JFbxPOr1ma1jX9Yf1MuNch r7WOaw8GfAC6fmCG9KaDBXDGs9yooxLs2rAcITKbQKh+gawvPYDmmNZEKMNVPlepDaRO 8hgGhJRxKj2i9pNPdj3vA37kKT2po4d/CbXci9GlI3kx+13ohgyL3632NnFDamlYw5tz my/w== 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=AZbl5qbJ0BQUlrCyYeuRH2WHBnTTfBroCA0v71gGPzM=; b=hn8FqjNdok4Ci9t2C9RHUgLUOZ5LbYcfPfT0wZCmlGn2JoJerPObpTXJqRU+QjEcZy 4H4exK8Juwy22yQu6nqSnh0VJAx6MXnLluzEQhki7jqZjhxkUAVKUFKFBezDUePpwkq5 Wnz8CXaRDcAEWaZoYigQl5+E+iyN0cDxT5xr3b2yLmkho7wCiUAzO2lgx+YLF3pSJ4Ig CbutW6r88iqa5sjc5QIYJ9ZqDzbXkXMGdTD5wRWINk93lJ4brKlaAfNMIylTfotDUlo3 rEbo3VWSeK/Bin70dsKSDvLh1vnGPFzd7P7HBo+h8T5etBC6lpCF5pGpGJ9UIH7cI3hK Isxg== X-Gm-Message-State: AOAM533N9VD71i3JfolwjlLaiYn022TvEAMcIs84m9DYIRAHBUpxbYYz fKqH8Nrfbv+Ic7OuGX56WMnw4iFT8CFAqPGBmHg= X-Google-Smtp-Source: ABdhPJzn7EMs1Itqci9FPcfCt6upEFH2ibkruLV6wZMffSYb9PRpRtA0Cdmdo18qJ8tzhz+H0mO+bfL6S2Reiaq5dhs= X-Received: by 2002:a2e:86c5:: with SMTP id n5mr213289ljj.450.1605240513968; Thu, 12 Nov 2020 20:08:33 -0800 (PST) MIME-Version: 1.0 References: <20201112221543.3621014-1-guro@fb.com> <20201112221543.3621014-2-guro@fb.com> <20201113095632.489e66e2@canb.auug.org.au> <20201113002610.GB2934489@carbon.dhcp.thefacebook.com> <20201113030456.drdswcndp65zmt2u@ast-mbp> <20201112191825.1a7c3e0d50cc5e375a4e887c@linux-foundation.org> <20201112194047.ea7c95e2876931fc57ae1cee@linux-foundation.org> In-Reply-To: <20201112194047.ea7c95e2876931fc57ae1cee@linux-foundation.org> From: Alexei Starovoitov Date: Thu, 12 Nov 2020 20:08:22 -0800 Message-ID: Subject: Re: [PATCH bpf-next v5 01/34] mm: memcontrol: use helpers to read page's memcg data To: Andrew Morton Cc: Roman Gushchin , Stephen Rothwell , bpf , Alexei Starovoitov , Daniel Borkmann , Network Development , Andrii Nakryiko , Shakeel Butt , linux-mm , LKML , Kernel Team , Johannes Weiner , Michal Hocko Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Nov 12, 2020 at 7:40 PM Andrew Morton wrote: > > On Thu, 12 Nov 2020 19:25:48 -0800 Alexei Starovoitov wrote: > > > On Thu, Nov 12, 2020 at 7:18 PM Andrew Morton wrote: > > > > > > On Thu, 12 Nov 2020 19:04:56 -0800 Alexei Starovoitov wrote: > > > > > > > On Thu, Nov 12, 2020 at 04:26:10PM -0800, Roman Gushchin wrote: > > > > > > > > > > These patches are not intended to be merged through the bpf tree. > > > > > They are included into the patchset to make bpf selftests pass and for > > > > > informational purposes. > > > > > It's written in the cover letter. > > > > ... > > > > > Maybe I had to just list their titles in the cover letter. Idk what's > > > > > the best option for such cross-subsystem dependencies. > > > > > > > > We had several situations in the past releases where dependent patches > > > > were merged into multiple trees. For that to happen cleanly from git pov > > > > one of the maintainers need to create a stable branch/tag and let other > > > > maintainers pull that branch into different trees. This way the sha-s > > > > stay the same and no conflicts arise during the merge window. > > > > In this case sounds like the first 4 patches are in mm tree already. > > > > Is there a branch/tag I can pull to get the first 4 into bpf-next? > > > > > > Not really, at present. This is largely by design, although it does cause > > > this problem once or twice a year. > > > > > > These four patches: > > > > > > mm-memcontrol-use-helpers-to-read-pages-memcg-data.patch > > > mm-memcontrol-slab-use-helpers-to-access-slab-pages-memcg_data.patch > > > mm-introduce-page-memcg-flags.patch > > > mm-convert-page-kmemcg-type-to-a-page-memcg-flag.patch > > > > > > are sufficiently reviewed - please pull them into the bpf tree when > > > convenient. Once they hit linux-next, I'll drop the -mm copies and the > > > bpf tree maintainers will then be responsible for whether & when they > > > get upstream. > > > > That's certainly an option if they don't depend on other patches in the mm tree. > > Roman probably knows best ? > > That should be OK. They apply and compile ;) Awesome. Thank you both for confirming. Will take them as soon as the rest of the set is reviewed.