Re: HugePages_Rsvd leak

From: Davidlohr Bueso
Date: Wed Apr 08 2015 - 15:29:18 EST


On Wed, 2015-04-08 at 11:15 -0500, Shawn Bohrer wrote:
> AnonHugePages: 241664 kB
> HugePages_Total: 512
> HugePages_Free: 512
> HugePages_Rsvd: 384
> HugePages_Surp: 0
> Hugepagesize: 2048 kB
>
> So here I have 384 pages reserved and I can't find anything that is
> using them.

The output clearly shows all available hugepages are free, Why are you
assuming that reserved implies allocated/in use? This is not true,
please read one of the millions of docs out there -- you can start with:
https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/