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

Johannes Weiner <[email protected]>
Newsgroups gmane.linux.kernel.cgroups,gmane.linux.kernel.mm,gmane.linux.kernel
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.