Re: [PATCH 2/5] mm: limit pagecache folio refcount when splicing into pipes

From: David Hildenbrand (Arm)

Date: Fri Nov 06 2026 - 15:46:32 EST


On 11/6/26 21:43, Jason Gunthorpe wrote:
> On Fri, Nov 06, 2026 at 09:09:10PM +0100, David Hildenbrand (Arm) wrote:
>> On 11/6/26 18:58, Josef Bacik wrote:
>>>
>>> Since you're here anyway can you change this to something other than
>>> WARN_ON_ONCE, since that results in an OOPS with panic_on_warn set?
>>> Thanks,
>>
>> If it actually turns negative (or 0) with out changes, we had an overflow and
>> for sure want to know about it :)
>
> Yeah, didn't you get Docs merged to clarify WARN_ON is fine if
> userspace can't trigger it?

Yes, I pointed Josef at it off-list.

--
Cheers,

David