projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f62241
)
block: Remove the ALLOC_CACHE_SLACK constant
author
Bart Van Assche
<bvanassche@acm.org>
Thu, 9 Feb 2023 23:01:35 +0000
(15:01 -0800)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 10 Feb 2023 00:03:36 +0000
(17:03 -0700)
Commit
b99182c501c3
("bio: add pcpu caching for non-polling bio_put")
removed the code that uses this constant. Hence also remove the constant
itself.
Cc: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link:
https://lore.kernel.org/r/20230209230135.3475829-1-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
patch
|
blob
|
history
diff --git
a/block/bio.c
b/block/bio.c
index 71e411a0c129501008f3b33e604a03535d84f309..2693f34afb7e9e596bc94c1fc60552131fe93e42 100644
(file)
--- a/
block/bio.c
+++ b/
block/bio.c
@@
-26,7
+26,6
@@
#include "blk-cgroup.h"
#define ALLOC_CACHE_THRESHOLD 16
-#define ALLOC_CACHE_SLACK 64
#define ALLOC_CACHE_MAX 256
struct bio_alloc_cache {