diff options
author | Wen Yang <[email protected]> | 2024-01-15 23:27:00 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-01-23 17:56:29 +0100 |
commit | bd46543d7f9a8b2c03420499b1885287e96aaf28 (patch) | |
tree | 52a195002a8ac09a8a83840b0351fa4c176da5e1 /lib/debugobjects.c | |
parent | 3948abaa4e2be938ccdfc289385a27342fb13d43 (diff) |
eventfd: move 'eventfd-count' printing out of spinlock
When printing eventfd->count, interrupts will be disabled and a spinlock
will be obtained, competing with eventfd_write(). By moving the
"eventfd-count" print out of the spinlock and merging multiple
seq_printf() into one, it could improve a bit, just like timerfd_show().
Signed-off-by: Wen Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: Alexander Viro <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dylan Yudaken <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Eric Biggers <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions