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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 0D481C2D0E4 for ; Thu, 12 Nov 2020 22:56:45 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2F16122201 for ; Thu, 12 Nov 2020 22:56:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="TtZxDNxU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F16122201 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 128C76B005D; Thu, 12 Nov 2020 17:56:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0B1776B006C; Thu, 12 Nov 2020 17:56:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EBB4A6B006E; Thu, 12 Nov 2020 17:56:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0127.hostedemail.com [216.40.44.127]) by kanga.kvack.org (Postfix) with ESMTP id BB94E6B005D for ; Thu, 12 Nov 2020 17:56:42 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 6244C181AEF10 for ; Thu, 12 Nov 2020 22:56:42 +0000 (UTC) X-FDA: 77477277444.08.anger86_6105caa2730a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin08.hostedemail.com (Postfix) with ESMTP id 425A31819E772 for ; Thu, 12 Nov 2020 22:56:42 +0000 (UTC) X-HE-Tag: anger86_6105caa2730a X-Filterd-Recvd-Size: 4552 Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) by imf18.hostedemail.com (Postfix) with ESMTP for ; Thu, 12 Nov 2020 22:56:40 +0000 (UTC) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4CXH5v1Fwnz9sTK; Fri, 13 Nov 2020 09:56:35 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1605221797; bh=0pX8nIOtoAq1+7rtL+5P/hevnEzjcuHkAft2GGDIhU4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TtZxDNxU3z13HHyrf9s7gIXP64XILbwfku2j6lu9Yz/+0RStgSOOkuE5zLVnLd7// osYHC21sPr93DlxYd+KSQxcprkxpUEFDaBW2At2SnyQOrwER4ADZO/u16Z2r+/n4pq rDAISKtek7yPOFQHROyBMC1j0YixDhldNvZnRRmpS8CwPjxNo6vC4TLmKeTXD88gJb 083c7iWAf+hN3/+5QuP6FkPAbAvwS9KKkBo5Jqw3HjbiCq4JrYF5Mu1PEUv6VTFGD6 025fGiGXUMJgSfWTdAQgQ1Y4gmY4yFz+dyyMQ/LfrX2GE7/v9USxiL52emb+RgtFQ5 xRovR5gFq//0Q== Date: Fri, 13 Nov 2020 09:56:32 +1100 From: Stephen Rothwell To: Roman Gushchin Cc: , Alexei Starovoitov , Daniel Borkmann , , Andrii Nakryiko , Shakeel Butt , , , , Johannes Weiner , Michal Hocko , Andrew Morton Subject: Re: [PATCH bpf-next v5 01/34] mm: memcontrol: use helpers to read page's memcg data Message-ID: <20201113095632.489e66e2@canb.auug.org.au> In-Reply-To: <20201112221543.3621014-2-guro@fb.com> References: <20201112221543.3621014-1-guro@fb.com> <20201112221543.3621014-2-guro@fb.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=IuuajhLUc48=qI8wDqPnmd"; protocol="application/pgp-signature"; micalg=pgp-sha256 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: --Sig_/=IuuajhLUc48=qI8wDqPnmd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Roman, On Thu, 12 Nov 2020 14:15:10 -0800 Roman Gushchin wrote: > > Patch series "mm: allow mapping accounted kernel pages to userspace", v6. >=20 > Currently a non-slab kernel page which has been charged to a memory cgroup > can't be mapped to userspace. The underlying reason is simple: PageKmemcg > flag is defined as a page type (like buddy, offline, etc), so it takes a > bit from a page->mapped counter. Pages with a type set can't be mapped to > userspace. > ..... >=20 > To make sure nobody uses a direct access, struct page's > mem_cgroup/obj_cgroups is converted to unsigned long memcg_data. >=20 > Link: https://lkml.kernel.org/r/20201027001657.3398190-1-guro@fb.com > Link: https://lkml.kernel.org/r/20201027001657.3398190-2-guro@fb.com > Signed-off-by: Roman Gushchin > Acked-by: Johannes Weiner > Reviewed-by: Shakeel Butt > Acked-by: Michal Hocko > Signed-off-by: Andrew Morton > Signed-off-by: Stephen Rothwell What is going on here? You are taking patches from linux-next and submitting them to another maintainer? Why? You should not do that from Andrew's tree as it changes/rebases every so often ... and you should not have my SOB on there as it is only there because that patch is in linux-next i.e. I in the submission chain to linux-next - if the patch is to go via some other tree, then my SOB should not be there. (The same may be true for Andrew's SOB.) In general you cannot add someone else's SOB to one of your patch submissions. --=20 Cheers, Stephen Rothwell --Sig_/=IuuajhLUc48=qI8wDqPnmd Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl+tvaAACgkQAVBC80lX 0GyiWwf+OVKz0JM8eCLNsSIf5uoCARVabzFp0O+8xY8jd7RPiDORD97UcrS0d7TE XHjO6q1llUGgw7KB+aZCr09pPIIvgF949tWY9yheehC7F/QhJkOFCMRHsxpJ77gT 43aaHmTKSGMmd53qmu0+Ycz3htyhVRHcgYVp5ely2e761NKf6l89A6HsnkGdRn8v uJ61wv/o3pZeLxeXydX8k+ouOkG2M9zvkSRNYiz/JPb8PnrGqJReWdV5Gxq2nsCP pzrDBGtFGk+pMMa+t0pu0ml22WaMf7e2WHUmzKAng8DIApAsl/sbSDtpuv80Lpgf R/rwGpiYVyy1IIXB+CTXEjBOJsKpFg== =C+xA -----END PGP SIGNATURE----- --Sig_/=IuuajhLUc48=qI8wDqPnmd--