From: Kirill A. Shutemov Date: Wed, 12 Dec 2012 21:51:09 +0000 (-0800) Subject: thp, vmstat: implement HZP_ALLOC and HZP_ALLOC_FAILED events X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~33^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a8e1f0da3d29d7268b3300c96a059d63901b76;p=pandora-kernel.git thp, vmstat: implement HZP_ALLOC and HZP_ALLOC_FAILED events hzp_alloc is incremented every time a huge zero page is successfully allocated. It includes allocations which where dropped due race with other allocation. Note, it doesn't count every map of the huge zero page, only its allocation. hzp_alloc_failed is incremented if kernel fails to allocate huge zero page and falls back to using small pages. Signed-off-by: Kirill A. Shutemov Cc: Andrea Arcangeli Cc: Andi Kleen Cc: "H. Peter Anvin" Cc: Mel Gorman Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed