Re: [PATCH 08/41] mm: introduce CONFIG_PER_VMA_LOCK

From: Davidlohr Bueso
Date: Tue Jan 10 2023 - 19:39:38 EST


On Mon, 09 Jan 2023, Suren Baghdasaryan wrote:

This configuration variable will be used to build the support for VMA
locking during page fault handling.

This is enabled by default on supported architectures with SMP and MMU
set.

The architecture support is needed since the page fault handler is called
from the architecture's page faulting code which needs modifications to
handle faults under VMA lock.

I don't think that per-vma locking should be something that is user-configurable.
It should just be depdendant on the arch. So maybe just remove CONFIG_PER_VMA_LOCK?

Thanks,
Davidlohr