Debugfs interface: it creates a file
/sys/kernel/debug/pmalloc/pools
which exposes statistics about all the pools and memory nodes in use.
Signed-off-by: Igor Stoppa
---
mm/Kconfig | 11 ++
mm/pmalloc.c | 113 +++
2 files changed,
On 05/06/17 23:24, Jann Horn wrote:
> On Mon, Jun 5, 2017 at 9:22 PM, Igor Stoppa wrote:
>> Debugfs interface: it creates a file
[...]
> You should probably be using %pK to hide the kernel pointers.
ok, will do
---
igor
On Mon, Jun 5, 2017 at 9:22 PM, Igor Stoppa wrote:
> Debugfs interface: it creates a file
>
> /sys/kernel/debug/pmalloc/pools
>
> which exposes statistics about all the pools and memory nodes in use.
>
> Signed-off-by: Igor Stoppa
[...]
> + seq_printf(s, " - node:\t\t%p\n", node);
> +
3 matches
Mail list logo