* [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
* Re: [PATCH] block: Remove the ALLOC_CACHE_SLACK constant
2023-02-09 23:01 [PATCH] block: Remove the ALLOC_CACHE_SLACK constant Bart Van Assche
@ 2023-02-10 0:05 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2023-02-10 0:05 UTC (permalink / raw)
To: Bart Van Assche; +Cc: linux-block, Pavel Begunkov
On Thu, 09 Feb 2023 15:01:35 -0800, Bart Van Assche wrote:
> Commit b99182c501c3 ("bio: add pcpu caching for non-polling bio_put")
> removed the code that uses this constant. Hence also remove the constant
> itself.
>
>
Applied, thanks!
[1/1] block: Remove the ALLOC_CACHE_SLACK constant
commit: 9af9935494e4b86ec3c44ec42779f08c4ba79ffe
Best regards,
--
Jens Axboe
^ permalink raw reply [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