projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da2f31
)
io_uring/kbuf: remove dead define
author
Jens Axboe
<axboe@kernel.dk>
Fri, 29 Mar 2024 23:22:27 +0000
(17:22 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:26 +0000
(08:10 -0600)
We no longer use IO_BUFFER_LIST_BUF_PER_PAGE, kill it.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c
patch
|
blob
|
blame
|
history
diff --git
a/io_uring/kbuf.c
b/io_uring/kbuf.c
index 896770e93980bcd8a2231ea957e026da0973c508..3846a055df44db911564a994eadf891c76777409 100644
(file)
--- a/
io_uring/kbuf.c
+++ b/
io_uring/kbuf.c
@@
-17,8
+17,6
@@
#include "kbuf.h"
#include "memmap.h"
-#define IO_BUFFER_LIST_BUF_PER_PAGE (PAGE_SIZE / sizeof(struct io_uring_buf))
-
/* BIDs are addressed by a 16-bit field in a CQE */
#define MAX_BIDS_PER_BGID (1 << 16)