Re: [PATCH v2 09/13] arch, mm: set max_mapnr when allocating memory map for FLATMEM

2025-04-07 Thread Christophe Leroy
Hi Mike, Le 14/03/2025 à 10:25, Christophe Leroy a écrit : Le 13/03/2025 à 14:49, Mike Rapoport a écrit : From: "Mike Rapoport (Microsoft)" max_mapnr is essentially the size of the memory map for systems that use FLATMEM. There is no reason to calculate it in each and every architecture w

Re: [PATCH v2 1/1] mm: pgtable: fix pte_swp_exclusive

2025-04-07 Thread Geert Uytterhoeven
Hi Adrian, On Sat, 5 Apr 2025 at 19:22, John Paul Adrian Glaubitz wrote: > On Tue, 2025-02-18 at 18:55 +0100, Magnus Lindholm wrote: > > Make pte_swp_exclusive return bool instead of int. This will better reflect > > how pte_swp_exclusive is actually used in the code. This fixes swap/swapoff > >