Re: [PATCH v5 00/25] Transparent Contiguous PTEs for User Mappings

2024-02-09 Thread Ryan Roberts
On 09/02/2024 22:16, David Hildenbrand wrote: >>> 1) Convert READ_ONCE() -> ptep_get() >>> 2) Convert set_pte_at() -> set_ptes() >>> 3) All the "New layer" renames and addition of the trivial wrappers >> >> Yep that makes sense. I'll start prepping that today. I'll hold off reposting >> until I hav

Re: [PATCH v5 00/25] Transparent Contiguous PTEs for User Mappings

2024-02-09 Thread David Hildenbrand
1) Convert READ_ONCE() -> ptep_get() 2) Convert set_pte_at() -> set_ptes() 3) All the "New layer" renames and addition of the trivial wrappers Yep that makes sense. I'll start prepping that today. I'll hold off reposting until I have your comments on 19-25. I'm also hoping that David will repost

Re: [PATCH v5 00/25] Transparent Contiguous PTEs for User Mappings

2024-02-09 Thread Ryan Roberts
On 08/02/2024 17:34, Mark Rutland wrote: > On Fri, Feb 02, 2024 at 08:07:31AM +, Ryan Roberts wrote: >> Hi All, > > Hi Ryan, > > I assume this is the same as your 'features/granule_perf/contpte-lkml_v' > branch > on https://gitlab.arm.com/linux-arm/linux-rr/ Yep - great detective work! feat

Re: [PATCH v5 00/25] Transparent Contiguous PTEs for User Mappings

2024-02-08 Thread Mark Rutland
On Fri, Feb 02, 2024 at 08:07:31AM +, Ryan Roberts wrote: > Hi All, Hi Ryan, I assume this is the same as your 'features/granule_perf/contpte-lkml_v' branch on https://gitlab.arm.com/linux-arm/linux-rr/ I've taken a quick look, and I have a few initial/superficial comments before digging int

[PATCH v5 00/25] Transparent Contiguous PTEs for User Mappings

2024-02-02 Thread Ryan Roberts
Hi All, This is a series to opportunistically and transparently use contpte mappings (set the contiguous bit in ptes) for user memory when those mappings meet the requirements. The change benefits arm64, but there is some minor refactoring for x86 and powerpc to enable its integration with core-mm