Re: Debug: mm: meminfo reports 222GiB of AnonPages but sum of RSS in ps is barely 400MiB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.01.24 16:50, Karim Manaouil wrote:
On Wed, Jan 17, 2024 at 2:15 PM David Hildenbrand <david@xxxxxxxxxx> 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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux