diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-05 12:32:03 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-08 09:39:13 -0600 |
commit | a8c73c1a614f6da6c0b04c393f87447e28cb6de4 (patch) | |
tree | c2e0b30c6d769e024de229012f8dcf7854353270 /scripts/gdb/linux/utils.py | |
parent | efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff (diff) |
io_uring: use kvfree() in io_sqe_buffer_register()
Use kvfree() to free the pages and vmas, since they are allocated by
kvmalloc_array() in a loop.
Fixes: d4ef647510b1 ("io_uring: avoid page allocation warnings")
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200605093203.40087-1-efremov@linux.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions