diff options
| author | 2022-06-16 10:22:05 +0100 | |
|---|---|---|
| committer | 2022-07-24 18:39:13 -0600 | |
| commit | 4a07723fb4bb2568a31d43709904ab0d4c33d6c8 (patch) | |
| tree | 5653ef6d2eb9e95a9f7b729914d70f1e8b96eaef /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | io_uring: clean up io_try_cancel (diff) | |
io_uring: limit the number of cancellation buckets
Don't allocate to many hash/cancellation buckets, there might be too
many, clamp it to 8 bits, or 256 * 64B = 16KB. We don't usually have too
many requests, and 256 buckets should be enough, especially since we
do hash search only in the cancellation path.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b9620c8072ba61a2d50eba894b89bd93a94a9abd.1655371007.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
