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: <0998c7cc-8480-4e4e-8c29-4e9718354cc3@redhat.com>
Date: Wed, 17 Jan 2024 16:53:44 +0100
From: David Hildenbrand <david@...hat.com>
To: Karim Manaouil <kmanaouil.dev@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: Debug: mm: meminfo reports 222GiB of AnonPages but sum of RSS in
 ps is barely 400MiB

On 17.01.24 16:50, Karim Manaouil wrote:
> On Wed, Jan 17, 2024 at 2:15 PM David Hildenbrand <david@...hat.com> wrote:
> 
>> Maybe we have something call mmget(mm) but never mmput(mm)? Are you
>> running any OOT drivers or "special" hw?
> 
> That's exactly the reason! I was writing some code to count the number
> of empty page tables in the system
> at any given point in time. I called get_task_mm(), but I forgot to
> call mmput() after that, and thus
> the memory was never released.

If you want to work on reclaiming empty page tables, please talk to me :D

-- 
Cheers,

David / dhildenb


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ