From mboxrd@z Thu Jan 1 00:00:00 1970 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 65F211A9FB7; Tue, 4 Nov 2025 01:13:57 +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=1762218837; cv=none; b=J8F/ZIBnUtDcjW+ekcN+loyg0JOsrLuSDr+cKJl54PdgoG8xHSeqit0os06F75Yql9sU01neZswRnN7cSsYXmanHrZLyaNKRGnSVBCH3sFHRp1qP1Ea2v969C8FwcMxQR6FizkIYVc4821/wTFXQjGX74u/vvfrvhq15P/X8i1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762218837; c=relaxed/simple; bh=g7+1CBZoXgMB9m5sapw5MTlDDr4R1niG6p5OTGYxjW8=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=W2faQtAoY5WI03ivbS6ExkOUgSuVTrAYYFMQ3TcfuQcjIa28AMdTrEEtQWPvV0HGcK/gxmqarKIXXmtrv1eD4/IICdGfXN0fwFkUzgUBq4fnSsyLHKZY6NxFr6k3auuuOGiraf4hJsf3X/7phrpSL3aolsCdE6LaZdkqLmuJI48= 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=MXiijNs0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="MXiijNs0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDF4FC4CEE7; Tue, 4 Nov 2025 01:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1762218836; bh=g7+1CBZoXgMB9m5sapw5MTlDDr4R1niG6p5OTGYxjW8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MXiijNs0dGLzPm7ExN02p9fLamNAS3PK8usLGn4WUjz1zDuNgKotkoWoll6bFAcCZ c+DX7hIKwm4DgEsPCtD3kUf+z8RMOay39KpBJN6aox4BmnB/K49oGznndZHewdwfAL cQ5C9jPS31+fy+Dxn1r0V+f74Kv5BDm26YQZF0TQ= Date: Mon, 3 Nov 2025 17:13:54 -0800 From: Andrew Morton To: Lorenzo Stoakes Cc: Christian Borntraeger , Janosch Frank , Claudio Imbrenda , David Hildenbrand , Alexander Gordeev , Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Sven Schnelle , Peter Xu , Alexander Viro , Christian Brauner , Jan Kara , Arnd Bergmann , Zi Yan , Baolin Wang , "Liam R . Howlett" , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Lance Yang , Muchun Song , Oscar Salvador , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Matthew Brost , Joshua Hahn , Rakie Kim , Byungchul Park , Gregory Price , Ying Huang , Alistair Popple , Axel Rasmussen , Yuanchu Xie , Wei Xu , Kemeng Shi , Kairui Song , Nhat Pham , Baoquan He , Chris Li , SeongJae Park , Matthew Wilcox , Jason Gunthorpe , Leon Romanovsky , Xu Xin , Chengming Zhou , Jann Horn , Miaohe Lin , Naoya Horiguchi , Pedro Falcato , Pasha Tatashin , Rik van Riel , Harry Yoo , Hugh Dickins , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, damon@lists.linux.dev Subject: Re: [PATCH 00/16] mm: remove is_swap_[pte, pmd]() + non-swap entries, introduce leaf entries Message-Id: <20251103171354.bb28c06d9e83bdd72c3bd648@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-arch@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, 3 Nov 2025 12:31:41 +0000 Lorenzo Stoakes wrote: > There's an established convention in the kernel that we treat leaf page > tables (so far at the PTE, PMD level) as containing 'swap entries' should > they be neither empty (i.e. p**_none() evaluating true) nor present > (i.e. p**_present() evaluating true). > > ... > All queued up, along with two -fix patches, thanks. I disabled the customary email spray.