diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-01-25 20:07:09 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-25 20:07:09 +0300 |
| commit | 6e0d71c288fdcf5866f5d0c6cde850a091cc3c55 (patch) | |
| tree | 18e06cb90f648c97dd590026002c269a3b76f09e /io_uring | |
| parent | 816095894c0f44aaba4372d92c874121af687596 (diff) | |
| download | linux-6e0d71c288fdcf5866f5d0c6cde850a091cc3c55.tar.xz | |
io_uring/futex: use GFP_KERNEL_ACCOUNT for futex data allocation
Be a bit nicer and ensure it plays nice with memcg accounting.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
| -rw-r--r-- | io_uring/futex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/futex.c b/io_uring/futex.c index 11bfff5a80df..1dabcfd503b8 100644 --- a/io_uring/futex.c +++ b/io_uring/futex.c @@ -186,7 +186,7 @@ int io_futexv_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) return -EINVAL; ifd = kzalloc(struct_size_t(struct io_futexv_data, futexv, iof->futex_nr), - GFP_KERNEL); + GFP_KERNEL_ACCOUNT); if (!ifd) return -ENOMEM; |
