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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5C04C433EF for ; Wed, 2 Mar 2022 19:53:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3EC2A8D0002; Wed, 2 Mar 2022 14:53:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 39BA58D0001; Wed, 2 Mar 2022 14:53:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 28A2C8D0002; Wed, 2 Mar 2022 14:53:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id 17EB08D0001 for ; Wed, 2 Mar 2022 14:53:03 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id CF31D24DC7 for ; Wed, 2 Mar 2022 19:53:02 +0000 (UTC) X-FDA: 79200494604.03.2C58C35 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by imf02.hostedemail.com (Postfix) with ESMTP id 50B1180015 for ; Wed, 2 Mar 2022 19:53:02 +0000 (UTC) Received: by mail-qt1-f172.google.com with SMTP id n11so2660086qtk.8 for ; Wed, 02 Mar 2022 11:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=D5hGbG6WV0qF+4vkghfuUs0cqWssjsyjy9zl2xsHgs0=; b=HK/ggXk5ycWs0WlByrgo9XHrCsxLcY3N9SQBoeznMydDyeYrN8n8BtXH5cxIrmT4CN g1lZo4NiivObkQEWU47ExEOZWXCf8pJsCGKQm8sfBigGMgCR1PY/mWLg/P9HWN2zRkha TYD3LrpPqc47Zzk9Rgwi5vCSiaZjOhlrlU1/qb+pmvXYcGD6bPP1sLv6Mu3gA6vZxxMx dOtX6m1b8uQoMby9xb5xGUvf8DEZUqlmKxk7UZoh7ftypY+eeNo1W72hSu5AqSBXt7Zl qph+bX8yXlgxzVSlQqrJm342/XFglunO7p3hWjdH24f+XV2qreVhP4y9XLe/hWnrbmHE u8pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=D5hGbG6WV0qF+4vkghfuUs0cqWssjsyjy9zl2xsHgs0=; b=GZinOOxPLefgnVWth5sYRDrOLudeWfY7IaNl0J+dGafPkAa6srX2prfVX5WaisGdHv vjyW5epRzxe9l07HeAFmCTJ24kyC56+NVnC1wufrI0I954U4uPrezxhnhbiH1pKa6x7d 0chWOrP+8I5wkakqQnD/u9l1CQ+Q56WwKrJbvWzLJkQVWPvEa6TQkOLfzXa6IR+0VSOU fqNW9Y/pxfVDVsmdgFmRj8htOqXu3QRiN+nTF6C+zxYkPBYGFGLtJne+jHaoJaXIX56q v+Sm2/vUvbamNsPr4OfZBBaeFlNoUiQ3elNiFBKQFR2LOwGtL8XAp51pw/8zLeB4eLPb 8TIA== X-Gm-Message-State: AOAM533W61vwhj2vQPuP3O/krC4NJZLCxdfl44TkRsPibWBZKfhmnAuq YiBmADHk0YkvpCBLxoSe+WfV7A== X-Google-Smtp-Source: ABdhPJxeNecSoJF3QszPDYgA+wS9xVPiD7ijd6d2IFz1kHiagtZo5iNejW1t55xH3CrRdiqfoRn5WQ== X-Received: by 2002:ac8:5c10:0:b0:2de:2dac:1ea1 with SMTP id i16-20020ac85c10000000b002de2dac1ea1mr25516591qti.600.1646250781277; Wed, 02 Mar 2022 11:53:01 -0800 (PST) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id p7-20020a05622a13c700b002de9f3894c2sm12165928qtk.50.2022.03.02.11.52.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 11:53:00 -0800 (PST) Date: Wed, 2 Mar 2022 11:52:58 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@ripple.anvils To: yong w cc: Hugh Dickins , Andrew Morton , Mike Kravetz , Matthew Wilcox , cgel.zte@gmail.com, kirill@shutemov.name, songliubraving@fb.com, Linux MM , LKML , yang.yang29@zte.com.cn, wang.yong12@zte.com.cn Subject: Re: [PATCH] memfd: fix F_SEAL_WRITE after shmem huge page allocated In-Reply-To: Message-ID: <5bacaf7a-dc6b-9435-e6a7-377b8f9d67e@google.com> References: <20220215073743.1769979-1-cgel.zte@gmail.com> <1f486393-3829-4618-39a1-931afc580835@oracle.com> <8986d97-3933-8fa7-abba-aabd67924bc2@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 50B1180015 X-Stat-Signature: o6chdt47ijiyg3w1w7i9hhnfcqfuuw89 Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=google.com header.s=20210112 header.b="HK/ggXk5"; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf02.hostedemail.com: domain of hughd@google.com designates 209.85.160.172 as permitted sender) smtp.mailfrom=hughd@google.com X-HE-Tag: 1646250782-302619 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 Wed, 2 Mar 2022, yong w wrote: > Hello, > this patch does not apply to the 4.19 kernel. > Is it necessary to make corresponding patches for each stable version? I expect there will be three variants (if it's worth porting back to older stables: you make it clear that you do want 4.19, thanks): one for xarray kernels, one for radix-tree kernels, and one for old shmem.c-not-memfd.c kernels; or perhaps I've missed a variant. Once this patch has gone to Linus, then been picked up by GregKH for recent kernels, I'll respond to the mail when it goes into his tree to provide the others (or maybe I won't bother with the oldest). We didn't research a "Fixes:" tag for the patch, so Greg may quietly stop at the oldest kernel to which the patch does not apply, instead of sending out explicit pleas for substitute patches as he usually does; but I'll know anyway when the recent ones go in, and respond then. Hugh