]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: add wrappers for memory accounting
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Tue, 16 Jun 2020 23:36:07 +0000 (16:36 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Jun 2020 02:44:00 +0000 (20:44 -0600)
commita087e2b519929152fdde8299457e32d5a8994a7c
treea8f41557a8de68768ce7441588b74a6cd5e077c6
parenta31eb4a2f1650fa578082ad9e9845487ecd90abe
io_uring: add wrappers for memory accounting

Facilitate separation of locked memory usage reporting vs. limiting for
upcoming patches.  No functional changes.

Signed-off-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
[axboe: kill unnecessary () around return in io_account_mem()]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c