Re: Re: [PATCH v1] mempool: fix min_nr exceeding the elements array after concurrent resizes

From: Vitaly Wool

Date: Sun Oct 18 2026 - 11:06:13 EST


> [+Cc Christoph Hellwig and Vitaly Wool ]

Thanks for CC'ing me on this. How about we take my patch [1] instead since
it isn't prone to this bug and is a nice optimization to the existing
mempool_resize() at the same time?

[1] https://lore.kernel.org/linux-mm/20261013091408.1231786-1-vitaly.wool@xxxxxxxxxxx/

~Vitaly