diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-12 00:02:22 +0300 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-08-13 03:21:44 +0300 |
commit | f28cdf0430fc92acaa718e15598bdad6cb236a4d (patch) | |
tree | 26c62e06986d2a7a46680c272b2db065cda9a38c /net/9p/trans_virtio.c | |
parent | b5303be2bee3c8b29de3f7f4ea8ae00c4e816760 (diff) | |
download | linux-f28cdf0430fc92acaa718e15598bdad6cb236a4d.tar.xz |
9p: Replace the fidlist with an IDR
The p9_idpool being used to allocate the IDs uses an IDR to allocate
the IDs ... which we then keep in a doubly-linked list, rather than in
the IDR which allocated them. We can use an IDR directly which saves
two pointers per p9_fid, and a tiny memory allocation per p9_client.
Link: http://lkml.kernel.org/r/20180711210225.19730-4-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'net/9p/trans_virtio.c')
0 files changed, 0 insertions, 0 deletions