All of lore.kernel.org
 help / color / mirror / Atom feed
* [question] hugetlb: how to find who use hugetlb?
@ 2016-09-19  2:39 ` Xishi Qiu
  0 siblings, 0 replies; 9+ messages in thread
From: Xishi Qiu @ 2016-09-19  2:39 UTC (permalink / raw)
  To: Linux MM, LKML

On my system, I set HugePages_Total to 2G(1024 x 2M), and I use 1G hugetlb,
but the HugePages_Free is not 1G(512 x 2M), it is 280(280 x 2M) left,
HugePages_Rsvd is 0, it seems someone use 232(232 x 2M) hugetlb additionally.

So how to find who use the additional hugetlb? 

I search every process and find the total hugetlb size is only 1G,
cat /proc/xx/smaps | grep KernelPageSize, then account the vma size
which KernelPageSize is 2048 kB.

Thanks,
Xishi Qiu

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-20  7:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19  2:39 [question] hugetlb: how to find who use hugetlb? Xishi Qiu
2016-09-19  2:39 ` Xishi Qiu
2016-09-20  2:46 ` Xishi Qiu
2016-09-20  2:46   ` Xishi Qiu
2016-09-20  4:05   ` Hillf Danton
2016-09-20  4:29     ` Xishi Qiu
2016-09-20  6:47       ` Hillf Danton
2016-09-20  7:09         ` Xishi Qiu
2016-09-20  7:15           ` Hillf Danton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.