diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-07-12 00:02:24 +0300 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2018-08-29 07:39:57 +0300 |
commit | 996d5b4db4b191f2676cf8775565cab8a5e2753b (patch) | |
tree | 586a82cc32aebc85a181bc1cc837062f3d34660f /fs/eventfd.c | |
parent | 62e3941776fea8678bb8120607039410b1b61a65 (diff) | |
download | linux-996d5b4db4b191f2676cf8775565cab8a5e2753b.tar.xz |
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 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions