diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-11 23:02:24 +0200 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-08-29 06:39:57 +0200 |
commit | 996d5b4db4b191f2676cf8775565cab8a5e2753b (patch) | |
tree | 586a82cc32aebc85a181bc1cc837062f3d34660f /LICENSES/other | |
parent | 9p: clear dangling pointers in p9stat_free (diff) | |
download | linux-996d5b4db4b191f2676cf8775565cab8a5e2753b.tar.xz linux-996d5b4db4b191f2676cf8775565cab8a5e2753b.zip |
9p: Use a slab for allocating requests
Replace the custom batch allocation with a slab. Use an IDR to store
pointers to the active requests instead of an array. We don't try to
handle P9_NOTAG specially; the IDR will happily shrink all the way back
once the TVERSION call has completed.
Link: http://lkml.kernel.org/r/20180711210225.19730-6-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 'LICENSES/other')
0 files changed, 0 insertions, 0 deletions