Thread (2 messages) 2 messages, 2 authors, 2019-10-28

Re: [PATCH RFC] fs/fcntl: add fcntl F_GET_RSS

flat view

From: Florian Weimer <hidden>
Date: 2019-10-28 11:46:50
Also in: linux-fsdevel, linux-mm, lkml

* Konstantin Khlebnikov:
This implements fcntl() for getting amount of resident memory in cache.
Kernel already maintains counter for each inode, this patch just exposes
it into userspace. Returned size is in kilobytes like values in procfs.
I think this needs a 32-bit compat implementation which clamps the
returned value to INT_MAX.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help