Re: [RFC, PATCH 00/12] userfaultfd: working set tracking for VM guest memory

From: Kiryl Shutsemau

Date: Sun Apr 19 2026 - 10:34:21 EST


On Fri, Apr 17, 2026 at 01:26:34PM +0100, Kiryl Shutsemau wrote:
> > Leaving NUMA-balancing aside, a simple
> > mprotect(PROT_NONE)+mprotect(PROT_READ) would already be problematic to
> > distinguish both cases.
>
> Hm. I didn't consider this case (miss some uffd lore). Will rework to
> reuse existing PTE bit.

See https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git uffd/rfc-v3

--
Kiryl Shutsemau / Kirill A. Shutemov