public inbox for openrisc@lists.librecores.org
 help / color / mirror / Atom feed
* Re: [PATCH mm-unstable v1 04/26] arm/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
       [not found] ` <20230113171026.582290-5-david@redhat.com>
@ 2023-01-13 17:38   ` Russell King (Oracle)
  0 siblings, 0 replies; only message in thread
From: Russell King (Oracle) @ 2023-01-13 17:38 UTC (permalink / raw)
  To: David Hildenbrand
  Cc: linux-ia64, linux-sh, Yang Shi, Peter Xu, linux-mips, linux-mm,
	Nadav Amit, sparclinux, linux-riscv, Andrea Arcangeli, linux-s390,
	linux-hexagon, x86, Hugh Dickins, linux-csky, Mike Rapoport,
	Vlastimil Babka, Jason Gunthorpe, linux-snps-arc, linux-xtensa,
	John Hubbard, linux-um, linux-m68k, openrisc, loongarch,
	linux-arm-kernel, linux-parisc, linux-kernel, linux-alpha,
	Andrew Morton, linuxppc-dev

On Fri, Jan 13, 2023 at 06:10:04PM +0100, David Hildenbrand wrote:
> Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit from the
> offset. This reduces the maximum swap space per file to 64 GiB (was 128
> GiB).
> 
> While at it drop the PTE_TYPE_FAULT from __swp_entry_to_pte() which is
> defined to be 0 and is rather confusing because we should be dealing
> with "Linux PTEs" not "hardware PTEs". Also, properly mask the type in
> __swp_entry().
> 
> Cc: Russell King <linux@armlinux.org.uk>
> Signed-off-by: David Hildenbrand <david@redhat.com>

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-22 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230113171026.582290-1-david@redhat.com>
     [not found] ` <20230113171026.582290-5-david@redhat.com>
2023-01-13 17:38   ` [PATCH mm-unstable v1 04/26] arm/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE Russell King (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox