Re: [PATCH v2 07/13] powerpc: add support for folded p4d page tables

2020-02-26 Thread Christophe Leroy
Le 26/02/2020 à 11:56, Mike Rapoport a écrit : On Wed, Feb 26, 2020 at 10:46:13AM +0100, Christophe Leroy wrote: Le 26/02/2020 à 10:13, Mike Rapoport a écrit : On Tue, Feb 18, 2020 at 12:54:40PM +0200, Mike Rapoport wrote: On Sun, Feb 16, 2020 at 11:41:07AM +0100, Christophe Leroy wrote

Re: [PATCH v2 07/13] powerpc: add support for folded p4d page tables

2020-02-26 Thread Christophe Leroy
Le 26/02/2020 à 10:13, Mike Rapoport a écrit : On Tue, Feb 18, 2020 at 12:54:40PM +0200, Mike Rapoport wrote: On Sun, Feb 16, 2020 at 11:41:07AM +0100, Christophe Leroy wrote: Le 16/02/2020 à 09:18, Mike Rapoport a écrit : From: Mike Rapoport Implement primitives necessary for the 4th

Re: [PATCH v2 07/13] powerpc: add support for folded p4d page tables

2020-02-19 Thread Christophe Leroy
Le 16/02/2020 à 09:18, Mike Rapoport a écrit : From: Mike Rapoport Implement primitives necessary for the 4th level folding, add walks of p4d level where appropriate and replace 5level-fixup.h with pgtable-nop4d.h. Signed-off-by: Mike Rapoport Tested-by: Christophe Leroy # 8xx and 83xx

Re: [PATCH v2 00/13] mm: remove __ARCH_HAS_5LEVEL_HACK

2020-02-16 Thread Christophe Leroy
Le 16/02/2020 à 09:22, Russell King - ARM Linux admin a écrit : On Sun, Feb 16, 2020 at 10:18:30AM +0200, Mike Rapoport wrote: From: Mike Rapoport Hi, These patches convert several architectures to use page table folding and remove __ARCH_HAS_5LEVEL_HACK along with include/asm-generic/5leve

Re: [PATCH v2 07/13] powerpc: add support for folded p4d page tables

2020-02-16 Thread Christophe Leroy
oport Tested-by: Christophe Leroy # 8xx and 83xx --- arch/powerpc/include/asm/book3s/32/pgtable.h | 1 - arch/powerpc/include/asm/book3s/64/hash.h | 4 +- arch/powerpc/include/asm/book3s/64/pgalloc.h | 4 +- arch/powerpc/include/asm/book3s/64/pgtable.h | 58 ++

Re: [PATCH V2] mm: Introduce GFP_PGTABLE

2019-01-16 Thread Christophe Leroy
Le 16/01/2019 à 14:18, Matthew Wilcox a écrit : On Wed, Jan 16, 2019 at 06:42:22PM +0530, Anshuman Khandual wrote: On 01/16/2019 06:00 PM, Matthew Wilcox wrote: On Wed, Jan 16, 2019 at 07:57:03AM +0100, Michal Hocko wrote: On Wed 16-01-19 11:51:32, Anshuman Khandual wrote: All architectures

Re: [PATCH V2] mm: Introduce GFP_PGTABLE

2019-01-15 Thread Christophe Leroy
Le 16/01/2019 à 07:21, Anshuman Khandual a écrit : All architectures have been defining their own PGALLOC_GFP as (GFP_KERNEL | __GFP_ZERO) and using it for allocating page table pages. This causes some code duplication which can be easily avoided. GFP_KERNEL allocated and cleared out pages (__G

Re: [PATCH] mm: Introduce GFP_PGTABLE

2019-01-14 Thread Christophe Leroy
Le 12/01/2019 à 13:12, Matthew Wilcox a écrit : On Sat, Jan 12, 2019 at 03:56:38PM +0530, Anshuman Khandual wrote: All architectures have been defining their own PGALLOC_GFP as (GFP_KERNEL | __GFP_ZERO) and using it for allocating page table pages. Except that's not true. +++ b/arch/x86/mm