Re: [PATCH 13/15] riscv: switch to generic version of pte allocation

2019-05-06 Thread Palmer Dabbelt
On Thu, 02 May 2019 08:28:40 PDT (-0700), r...@linux.ibm.com wrote: The only difference between the generic and RISC-V implementation of PTE allocation is the usage of __GFP_RETRY_MAYFAIL for both kernel and user PTEs and the absence of __GFP_ACCOUNT for the user PTEs. The conversion to the

[PATCH 13/15] riscv: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The only difference between the generic and RISC-V implementation of PTE allocation is the usage of __GFP_RETRY_MAYFAIL for both kernel and user PTEs and the absence of __GFP_ACCOUNT for the user PTEs. The conversion to the generic version removes the __GFP_RETRY_MAYFAIL and ensures that