This patch set adds support for reporting of locked memory usage. Patches 1 and 2 are prep patches to facilitate the reporting. Patch 3 reports all locked memory as pinned. Patch 4 reports ring memory as locked and registered memory as pinned. This seems more appropriate but kept it a separate patch in case it should be dropped. Bijan Mottahedeh (4): io_uring: add wrappers for memory accounting io_uring: rename ctx->account_mem field io_uring: report pinned memory usage io_uring: separate reporting of ring pages from registered pages fs/io_uring.c | 93 ++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 66 insertions(+), 27 deletions(-) -- 1.8.3.1