Re: [PATCH 4/4] mm/ksm: add find_mergeable_vma_locked() to use per-VMA locking

From: Longlong Xia

Date: Sun Sep 13 2026 - 22:13:19 EST


Hi Xin,

Thanks for working on this.

Patch 4 addresses the mmap_lock contention problem in
get_mergeable_page() that I reported in [1]. In that thread, David
suggested switching to per-VMA locking [2].

Could you please consider adding the following tags to the commit
message of patch 4/4 in the next revision?

Reported-by: Longlong Xia <xialonglong@xxxxxxxxxx>
Suggested-by: David Hildenbrand <david@xxxxxxxxxx>

It would also be helpful to reference the original discussion in the
commit message.

[1] https://lore.kernel.org/all/20260909023507.1408925-1-xialonglong2025@xxxxxxx/
[2] https://lore.kernel.org/all/91cf8129-d705-4ebd-b420-129bab7ed261@xxxxxxxxxx/

If you think these tags are not appropriate, please feel free to
ignore this suggestion.

Thanks,
Longlong