* [PATCH] block: Remove the ALLOC_CACHE_SLACK constant
@ 2023-02-09 23:01 Bart Van Assche
2023-02-10 0:05 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Bart Van Assche @ 2023-02-09 23:01 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-block, Bart Van Assche, Pavel Begunkov
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>
---
block/bio.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/bio.c b/block/bio.c
index 7447302141b7..88cd3f67a3af 100644
--- 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 {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-10 0:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 23:01 [PATCH] block: Remove the ALLOC_CACHE_SLACK constant Bart Van Assche
2023-02-10 0:05 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox