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