Re: [RFC net-next 4/5] eventpoll: Trigger napi_busy_loop, if prefer_busy_poll is set
From: Christoph Hellwig
Date: Mon Aug 12 2024 - 09:19:49 EST
On Mon, Aug 12, 2024 at 12:57:07PM +0000, Joe Damato wrote:
> From: Martin Karsten <mkarsten@xxxxxxxxxxxx>
>
> Setting prefer_busy_poll now leads to an effectively nonblocking
> iteration though napi_busy_loop, even when busy_poll_usecs is 0.
Hardcoding calls to the networking code from VFS code seems like
a bad idea. Not that I disagree with the concept of disabling
interrupts during busy polling, but this needs a proper abstraction
through file_operations.