Re: [question] hugetlb: how to find who use hugetlb?

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

 



On 2016/9/20 12:05, Hillf Danton wrote:

>>> So how to find who use the additional hugetlb?
>>>
> Take a peek please at 5d317b2b653 
> ("mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status")
> 
> Hillf
> 

Hi Hillf,

This patch add the count of hugetlb for each process.
If someone use hugetlb, "cat /proc/*/smaps | grep KernelPageSize| grep 2048"
will show something, right? But now it is nothing, and /dev/hugepages is empty.

Thanks,
Xishi Qiu

> 
> 
> 



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



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