Re: [RFC PATCH v5 2/4] mm: distinguish large folio swap allocation failures

Johannes Weiner <[email protected]> Fri, 7 Aug 2026 17:06:45 -0400
Newsgroups org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>
On Fri, Aug 07, 2026 at 04:29:17PM +0800, Kairui Song wrote:
> Am I the only one that feel this returning argument is a bit ugly? See below..

> Will is be good if we just always check the margin use this helper
> on alloc failure? Alloc failure should be a rather cold path I think?

Works for me!

Sorry, I may have been the main instigator of that complication.