Re: mlockall(MCL_CURRENT) blocking infinitely
From: Michal Hocko
Date: Fri Oct 25 2019 - 09:27:04 EST
On Fri 25-10-19 15:10:39, Robert Stupp wrote:
[...]
> cat /proc/$(pidof test)/smaps
Nothing really unusual that would jump at me except for
> 7f8be90ed000-7f8be9265000 r-xp 00025000 103:02
> 44307431 /lib/x86_64-linux-gnu/libc-2.30.so
> Size: 1504 kB
> KernelPageSize: 4 kB
> MMUPageSize: 4 kB
> Rss: 832 kB
> Pss: 5 kB
> Shared_Clean: 832 kB
> Shared_Dirty: 0 kB
> Private_Clean: 0 kB
> Private_Dirty: 0 kB
> Referenced: 832 kB
> Anonymous: 0 kB
> LazyFree: 0 kB
> AnonHugePages: 0 kB
> ShmemPmdMapped: 0 kB
> Shared_Hugetlb: 0 kB
> Private_Hugetlb: 0 kB
> Swap: 0 kB
> SwapPss: 0 kB
> Locked: 5 kB
Huh, 5kB, is this really the case or some copy&paste error?
How can we end up with !pagesize multiple here?
> THPeligible: 0
> VmFlags: rd ex mr mw me lo sd
--
Michal Hocko
SUSE Labs