summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-03-30 06:52:38 -0600
committerJens Axboe <axboe@kernel.dk>2023-03-30 06:53:42 -0600
commitfd30d1cdcc4ff405fc54765edf2e11b03f2ed4f3 (patch)
tree418e351d7b94cff15ac165353e2064b5ee0b3a0a /.mailmap
parent4ff0b50de8cabba055efe50bbcb7506c41a69835 (diff)
io_uring: fix poll/netmsg alloc cachesio_uring-6.3-2023-03-30
We increase cache->nr_cached when we free into the cache but don't decrease when we take from it, so in some time we'll get an empty cache with cache->nr_cached larger than IO_ALLOC_CACHE_MAX, that fails io_alloc_cache_put() and effectively disables caching. Fixes: 9b797a37c4bd8 ("io_uring: add abstraction around apoll cache") Cc: stable@vger.kernel.org Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions