qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] 9pfs: v9fs_reclaim_fd() fixes
@ 2025-03-04 15:17 Christian Schoenebeck
  2025-03-04 15:15 ` [PATCH 1/2] 9pfs: fix concurrent v9fs_reclaim_fd() calls Christian Schoenebeck
  2025-03-04 15:16 ` [PATCH 2/2] 9pfs: reduce latency of v9fs_reclaim_fd() Christian Schoenebeck
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Schoenebeck @ 2025-03-04 15:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Greg Kurz, qemu-stable

Two fixes for 9p server's v9fs_reclaim_fd() function:

* Patch 1 fixes a concurrency issue.

* Patch 2 optimizes overall latency. On a test machine with ~800,000 FIDs, this
  reduced execution duration of v9fs_reclaim_fd() from 30ms to 1ms.

Christian Schoenebeck (2):
  9pfs: fix concurrent v9fs_reclaim_fd() calls
  9pfs: reduce latency of v9fs_reclaim_fd()

 hw/9pfs/9p.c | 36 +++++++++++++++++++++++++++---------
 hw/9pfs/9p.h |  1 +
 2 files changed, 28 insertions(+), 9 deletions(-)

-- 
2.39.5



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-03-06 15:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 15:17 [PATCH 0/2] 9pfs: v9fs_reclaim_fd() fixes Christian Schoenebeck
2025-03-04 15:15 ` [PATCH 1/2] 9pfs: fix concurrent v9fs_reclaim_fd() calls Christian Schoenebeck
2025-03-06  7:38   ` Greg Kurz
2025-03-04 15:16 ` [PATCH 2/2] 9pfs: reduce latency of v9fs_reclaim_fd() Christian Schoenebeck
2025-03-06  9:07   ` Greg Kurz
2025-03-06 15:11     ` Christian Schoenebeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).