Messages in this thread |  | | Date | Thu, 2 Apr 2026 09:11:47 +0200 | | Subject | Re: [PATCH v2 2/2] mm/mprotect: special-case small folios when applying write permissions | | From | "David Hildenbrand (Arm)" <> |
| |
On 4/2/26 05:44, Andrew Morton wrote: > On Wed, 1 Apr 2026 17:09:31 -0700 Andrew Morton <akpm@linux-foundation.org> wrote: > >>> I can easily extending >>> >>> https://gitlab.com/davidhildenbrand/scratchspace/-/blob/main/pte-mapped-folio-benchmarks.c >>> >>> to have an "mprotect" mode. I had that in the past bit discarded it. >>> >>> Then, we can easily measure the effect on various folio sizes when >>> mprotect'ing a larger memory area. >>> >>> With order-0 we can then benchmark small folios exclusively. >> >> It sounds like this is all possible future work? >> >> We have Lorenzo's R-b on this [2/2]. I'm reading this discussion as >> "upstream both"? > > Sorry, please ignore. Reading skills.
Maybe writing skills on my end. I think we should do #2 properly.
#1 is good to go.
-- Cheers,
David
|  |