diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-11 14:02:24 -0700 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-08-29 13:39:57 +0900 |
commit | 996d5b4db4b191f2676cf8775565cab8a5e2753b (patch) | |
tree | 586a82cc32aebc85a181bc1cc837062f3d34660f /include/pcmcia | |
parent | 62e3941776fea8678bb8120607039410b1b61a65 (diff) | |
download | linux-stable-996d5b4db4b191f2676cf8775565cab8a5e2753b.tar.gz linux-stable-996d5b4db4b191f2676cf8775565cab8a5e2753b.tar.bz2 linux-stable-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 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions