diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 27ce532c6c8d..6a67dbf5195f 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -5520,7 +5520,7 @@ static int io_provide_buffers(struct io_kiocb *req, unsigned int issue_flags) bl = io_buffer_get_list(ctx, p->bgid); if (unlikely(!bl)) { - bl = kzalloc(sizeof(*bl), GFP_KERNEL); + bl = kzalloc(sizeof(*bl), GFP_KERNEL_ACCOUNT); if (!bl) { ret = -ENOMEM; goto err;