Re: [PATCH v5 25/25] arm64/mm: Automatically fold contpte mappings

2024-02-13 Thread Ryan Roberts
On 13/02/2024 17:44, Mark Rutland wrote: > On Fri, Feb 02, 2024 at 08:07:56AM +, Ryan Roberts wrote: >> There are situations where a change to a single PTE could cause the >> contpte block in which it resides to become foldable (i.e. could be >> repainted with the contiguous bit). Such situatio

Re: [PATCH v5 25/25] arm64/mm: Automatically fold contpte mappings

2024-02-13 Thread Mark Rutland
On Fri, Feb 02, 2024 at 08:07:56AM +, Ryan Roberts wrote: > There are situations where a change to a single PTE could cause the > contpte block in which it resides to become foldable (i.e. could be > repainted with the contiguous bit). Such situations arise, for example, > when user space tempo

[PATCH v5 25/25] arm64/mm: Automatically fold contpte mappings

2024-02-02 Thread Ryan Roberts
There are situations where a change to a single PTE could cause the contpte block in which it resides to become foldable (i.e. could be repainted with the contiguous bit). Such situations arise, for example, when user space temporarily changes protections, via mprotect, for individual pages, such c