Re: [PATCH RFC] proc/meminfo: add KernelMisc counter

2019-05-17 Thread Konstantin Khlebnikov
On 16.05.2019 20:59, Roman Gushchin wrote: On Wed, May 15, 2019 at 02:49:48PM +0300, Konstantin Khlebnikov wrote: Some kernel memory allocations are not accounted anywhere. This adds easy-read counter for them by subtracting all tracked kinds. Signed-off-by: Konstantin Khlebnikov We have som

Re: [PATCH RFC] proc/meminfo: add KernelMisc counter

2019-05-16 Thread Roman Gushchin
On Wed, May 15, 2019 at 02:49:48PM +0300, Konstantin Khlebnikov wrote: > Some kernel memory allocations are not accounted anywhere. > This adds easy-read counter for them by subtracting all tracked kinds. > > Signed-off-by: Konstantin Khlebnikov We have something similar in userspace, and it was

[PATCH RFC] proc/meminfo: add KernelMisc counter

2019-05-15 Thread Konstantin Khlebnikov
Some kernel memory allocations are not accounted anywhere. This adds easy-read counter for them by subtracting all tracked kinds. Signed-off-by: Konstantin Khlebnikov --- Documentation/filesystems/proc.txt |2 ++ fs/proc/meminfo.c | 41 +---