]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit459f505bd1fbd057bb3c434079dd791225dba20a
treea8f41557a8de68768ce7441588b74a6cd5e077c6
parente1f2ecf81d0fd5f97d57748d3628ed80f7c37640
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