Re: [RFC PATCH v5 2/4] mm: distinguish large folio swap allocation failures
From: Johannes Weiner
Date: Fri Aug 07 2026 - 17:11:10 EST
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.