diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c index 7a8c3a004800..94602d1f7e6f 100644 --- a/io_uring/kbuf.c +++ b/io_uring/kbuf.c @@ -728,7 +728,7 @@ int io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) io_destroy_bl(ctx, bl); } - free_bl = bl = kzalloc(sizeof(*bl), GFP_KERNEL); + free_bl = bl = kzalloc(sizeof(*bl), GFP_KERNEL_ACCOUNT); if (!bl) return -ENOMEM;