Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2881833lqp; Mon, 25 Mar 2024 11:53:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQ1N4UnkTAbFieKWaxpZ/dwQ5JWJy2LmjV10tfwdcM9uSUDeAcyLJ4h+yPIxDVFH5CoRGB4qD89WOj8GgFH7wwoQYAQeDUl6vnmSx7Vw== X-Google-Smtp-Source: AGHT+IHt7CxF/k6feFopVhscqlVS8hs54yRtg2yxexf3+4IcrKKpFi3US6jOglLnOFDKnAPg8yBG X-Received: by 2002:a05:6a21:182:b0:1a3:aaa2:3fbd with SMTP id le2-20020a056a21018200b001a3aaa23fbdmr7467019pzb.51.1711392786642; Mon, 25 Mar 2024 11:53:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711392786; cv=pass; d=google.com; s=arc-20160816; b=luPSTgljsNFySwP3nIuPiwkzuq/5NHLM0JIiqgwlaSNWVeRlxsATkie6HD/UNWwEot qDe+fz0Yzi6kePb2d6LKQYfdRJawdRyl4LRZ6G7gJXBoTarOiWFzI8YJGK1MlrXoiJSG ZraETuT0z41Rmr5/SxmRPVM1HhW7MWiYJYOWUmQT47U7w2opd4yb5e+CDgIercw6tS/1 DJZToQzNtd6PcR0Jkb8mcJdiQi6PPQ1nGyw6zO34sLWbz0wM1+DhPrTowi7lBa11n1Ne yL22SvC50eeJhUix/IPdyjSHvs20NMbN4uh3WfkX2lSH1xdg+nnAUXZOBY/hR5bOs47G pGzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=rh58CMLItnltC2lZfqdwOuzv0fJTQmaZuodM4KP8RLw=; fh=wFxXYIPMqfh/DV3W01c2N2jJhqwnyLzj92kb001UtG0=; b=N5zywU1hQww5btPyaQffDw/UudaeuS7VYcWgqOyfACWUujrvq1CMRdQQqqte0pAull bh7I+JRsbq26WVqRvNLpk8RkRz9OaHGDHbJu9ICYGiZn9EHI48JLEhyCU51X3OZIXrfM v2WViRbypmwAaGHQCNOHOouQ4bqxumEh/qfemgspSU0OJePLJt+YrncVC74z7F+EeBWB +BJkadTIo3QBfGou7dSobX96Uue1wXfeTeMU3JsCFWkv8nCtGCj6eastmAGv+7Cv57Mr X+AV3Xa5vcd7QWISx0bjO0ppLGDc0M6zu6VoUX6kD/rOBvaTIjb0plo8Ez+W1MnWNN2Z Nl/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=TmxYlVsF; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-117712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117712-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lm7-20020a056a003c8700b006e7a2f9a89dsi301910pfb.381.2024.03.25.11.53.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 11:53:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=TmxYlVsF; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-117712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117712-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A3F729A622 for ; Mon, 25 Mar 2024 18:44:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02B3E1272C5; Mon, 25 Mar 2024 18:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="TmxYlVsF" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2486886AF4; Mon, 25 Mar 2024 18:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711391444; cv=none; b=TiM5fTBjZ4aDDQge6k78ihren/ZpfzrRaIzO7YheexIJUoVtxAqp1+8IDtLaCHQ8YR53LQJsvL4Zk9+dsd18DyHmaeWswND77QZXUD0EH0ibWUkG+W8dNpzn9gnvzYnfg/wo/pYjuNSQR/YpKIGSzWAYNR8ntdI3ZRxAgW3ybXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711391444; c=relaxed/simple; bh=EGgF+3FS8bxQUKE175ebdsH/1xhbp6Jcxmo2HYR1Fk0=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=Y4uWsTursIzEaTmCxdWAzAwgWXGLoWVgnShLD6nSTw5XI/bhCFUyBXtrGw5MqJR10zBWhCj7N7hKJZh5KG+cPaRvOYUc0JaHArxeax3sJGmm6JYaX6dtIm6/8C2IP1Tz/+GZ0l+hnX4que0BmAzNoXdO7BHh3NYy5I58sjuQmiE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=TmxYlVsF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84C9EC433F1; Mon, 25 Mar 2024 18:30:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1711391443; bh=EGgF+3FS8bxQUKE175ebdsH/1xhbp6Jcxmo2HYR1Fk0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TmxYlVsFqiPkcmzRsgs+/5IiPeWn4F5SarrOmovXS/+fpq7K3Hw/BUjoxNpkZpQwv qg4o4wOZLE5nFh4fScC2BLXp31ZaF7xW6HrYVJ2LmbnkgUE4I5kHaFZA6g8RoZ+1TY yqwmdnQ/Q2J8RguNUaTh33CjL4S8cJMwotudlCKU= Date: Mon, 25 Mar 2024 11:30:43 -0700 From: Andrew Morton To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mike Rapoport , Miklos Szeredi , Lorenzo Stoakes , xingwei lee , yue sun , Miklos Szeredi , stable@vger.kernel.org Subject: Re: [PATCH v1 1/3] mm/secretmem: fix GUP-fast succeeding on secretmem folios Message-Id: <20240325113043.4fb05ab324e5c21ec4c0c0d4@linux-foundation.org> In-Reply-To: <20240325134114.257544-2-david@redhat.com> References: <20240325134114.257544-1-david@redhat.com> <20240325134114.257544-2-david@redhat.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 25 Mar 2024 14:41:12 +0100 David Hildenbrand wrote: > folio_is_secretmem() states that secretmem folios cannot be LRU folios: > so we may only exit early if we find an LRU folio. Yet, we exit early if > we find a folio that is not a secretmem folio. > > ... > > Cc: Thanks, I split up this series. Because this patch goes mm-hotfixes-unstable -> mm-hotfixes-stable -> mainline whereas the other two go mm-unstable -> mm-stable -> mainline at a later time.