lkml.org 
[lkml]   [2018]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] 9p: Use IDRs more effectively
Date
The 9p code doesn't take advantage of the IDR's ability to store
a pointer. We can actually get rid of the p9_idpool abstraction
and the multi-dimensional array of requests.

I haven't tested these patches, so caveat maintainer.

Matthew Wilcox (6):
9p: Change p9_fid_create calling convention
9p: Replace the fidlist with an IDR
9p: Embed wait_queue_head into p9_req_t
9p: Remove an unnecessary memory barrier
9p: Use a slab for allocating requests
9p: Remove p9_idpool

include/net/9p/9p.h | 8 -
include/net/9p/client.h | 62 ++------
net/9p/Makefile | 1 -
net/9p/client.c | 322 ++++++++++++++--------------------------
net/9p/mod.c | 7 +-
net/9p/trans_virtio.c | 2 +-
net/9p/util.c | 141 ------------------
7 files changed, 132 insertions(+), 411 deletions(-)
delete mode 100644 net/9p/util.c

--
2.18.0

\
 
 \ /
  Last update: 2018-06-28 15:28    [W:0.077 / U:3.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site