Thread (17 messages) 17 messages, 5 authors, 2025-10-20

Re: [PATCH v3 1/5] mm: fix off-by-one error in VMA count limit checks

From: Lorenzo Stoakes <hidden>
Date: 2025-10-20 11:33:23
Also in: linux-fsdevel, linux-kselftest, linux-mm, lkml, stable

On Fri, Oct 17, 2025 at 02:41:00PM -0700, Kalesh Singh wrote:
Hi all,

Thanks, Lorenzo, for the feedback and support.

The consensus from the discussion appears to be:

- Drop this patch keeping the existing check lenient, but make it more
obvious and clear that this is the intended behavior.
- Keep the vma_count_remaining() or another helper and abstracts away
the direct use of the global sysctl_max_map_count.
- Keep the rename of map_count to vma_count
- Keep the selftest and tracepoint patches, which are important for
documenting the behavior and providing observability.

If there are no objections, I'll plan to send out a new version of the series.

Thanks,
Kalesh
Ack, sounds good!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help