[PATCH 08/41] mm: introduce CONFIG_PER_VMA_LOCK

Davidlohr Bueso dave at stgolabs.net
Wed Jan 11 11:13:31 AEDT 2023


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


More information about the Linuxppc-dev mailing list