Re: [PATCH] eventfd: move 'eventfd-count' printing out of spinlock

From: Wen Yang
Date: Mon Oct 02 2023 - 11:18:47 EST



On 2023/9/27 15:32, Jens Axboe wrote:
On 9/26/23 8:05 AM,wenyang.linux@xxxxxxxxxxx wrote:
From: Wen Yang<wenyang.linux@xxxxxxxxxxx>

It is better to print debug messages outside of the wqh.lock
spinlock where possible.
Does it really matter for fdinfo? Your commit message is a bit
light, so I'm having to guess whether this is fixing a real issue
for you, or if it's just a drive-by observation.

Thanks for your comments.
There is a business running on our machine that frequently calls eventfd_write().
We will resend the V2 and provide a detailed explanation.

--

Best wishes,
Wen