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]
Message-ID: <CAAmzW4My=Abdv+GAe-nOdM0kbFFc28oQBxAM-hWfDLpj1AocdA@mail.gmail.com>
Date:   Fri, 11 Dec 2020 11:31:32 +0900
From:   Joonsoo Kim <js1304@...il.com>
To:     Georgi Djakov <georgi.djakov@...aro.org>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>,
        Vlastimil Babka <vbabka@...e.cz>, corbet@....net,
        linux-doc@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
        lmark@...eaurora.org
Subject: Re: [PATCH v3] mm/page_owner: Record timestamp and pid

2020년 12월 11일 (금) 오전 1:04, Georgi Djakov <georgi.djakov@...aro.org>님이 작성:
>
> From: Liam Mark <lmark@...eaurora.org>
>
> Collect the time for each allocation recorded in page owner so that
> allocation "surges" can be measured.
>
> Record the pid for each allocation recorded in page owner so that the
> source of allocation "surges" can be better identified.
>
> The above is very useful when doing memory analysis.  On a crash for
> example, we can get this information from kdump (or ramdump) and parse it
> to figure out memory allocation problems.
>
> Please note that on x86_64 this increases the size of struct page_owner
> from 16 bytes to 32.
>
> Vlastimil: it's not a functionality intended for production, so unless
> somebody says they need to enable page_owner for debugging and this
> increase prevents them from fitting into available memory, let's not
> complicate things with making this optional.
>
> Signed-off-by: Liam Mark <lmark@...eaurora.org>
> Signed-off-by: Georgi Djakov <georgi.djakov@...aro.org>
> Acked-by: Vlastimil Babka <vbabka@...e.cz>
> Cc: Jonathan Corbet <corbet@....net>

Acked-by: Joonsoo Kim <iamjoonsoo.kim@....com>

This is useful. Our company already has an in-house patch to store
pid since a few years ago.

Thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ