Re: [PATCH v2 16/19] ARC: mm: support 3 levels of page tables

2021-08-16 Thread Mike Rapoport
On Mon, Aug 16, 2021 at 12:53:46PM -0700, Vineet Gupta wrote: > On 8/15/21 2:27 AM, Mike Rapoport wrote: > > On Thu, Aug 12, 2021 at 04:37:50PM -0700, Vineet Gupta wrote: > > > ARCv2 MMU is software walked and Linux implements 2 levels of paging: > > > pgd/pte. > > > Forthcoming hw will have

Re: [PATCH v2 16/19] ARC: mm: support 3 levels of page tables

2021-08-16 Thread Vineet Gupta
On 8/15/21 2:27 AM, Mike Rapoport wrote: On Thu, Aug 12, 2021 at 04:37:50PM -0700, Vineet Gupta wrote: ARCv2 MMU is software walked and Linux implements 2 levels of paging: pgd/pte. Forthcoming hw will have multiple levels, so this change preps mm code for same. It is also fun to try multi

Re: [PATCH v2 16/19] ARC: mm: support 3 levels of page tables

2021-08-15 Thread Mike Rapoport
On Thu, Aug 12, 2021 at 04:37:50PM -0700, Vineet Gupta wrote: > ARCv2 MMU is software walked and Linux implements 2 levels of paging: pgd/pte. > Forthcoming hw will have multiple levels, so this change preps mm code > for same. It is also fun to try multi levels even on soft-walked code to >

[PATCH v2 16/19] ARC: mm: support 3 levels of page tables

2021-08-12 Thread Vineet Gupta
ARCv2 MMU is software walked and Linux implements 2 levels of paging: pgd/pte. Forthcoming hw will have multiple levels, so this change preps mm code for same. It is also fun to try multi levels even on soft-walked code to ensure generic mm code is robust to handle. overview 2 levels