lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 15 Aug 2021 12:44:58 +0800
From:   liuhailong <liuhailong@...o.com>
To:     akpm@...ux-foundation.org
Cc:     linux-kernel@...r.kernel.org, linux-mm@...ck.org,
        liuhailong@...o.com
Subject: Re: [PATCH] mm: add kernel_misc_reclaimable in show_free_areas

On 8/14/2021 4:13 AM, Andrew Morton wrote:
> On Fri, 13 Aug 2021 18:47:25 +0800 liuhailong <liuhailong@...o.com> wrote:
>
>> print NR_KERNEL_MISC_RECLAIMABLE stat from show_free_areas
>> to check whether shrinker work correctly and current mem usage.
>
> What inspired this change?  Are you observing problems with
> misc_reclaimable memory accumulation?

1. although we can get usage from /proc/meminfo, but sometimes we only get kernel msg, so we need this to check memusage
2. some drivers use it, like dma heap page pool or gpu driver mem pool, so it also help us to find whether shrinker work correctly on lowmem condition
3. i thought it's resonable for show_free_areas to print misc_recliamiable

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ