Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subject: [PATCH] hugetlb: vmstat events for huge page allocations
Allocating huge pages directly from the buddy allocator is not guaranteed to succeed. Success depends on several factors (such as the amount of physical memory available and the level of fragmentation). With the addition of dynamic hugetlb pool resizing, allocations can occur much more frequently. For these reasons it is desirable to keep track of huge page allocation successes and failures. Add two new vmstat entries to track huge page allocations that succeed and fail. The presence of the two entries is contingent upon CONFIG_HUGETLB_PAGE being enabled. [[email protected]: reduced ifdeffery] Signed-off-by: Adam Litke <[email protected]> Signed-off-by: Eric Munson <[email protected]> Tested-by: Mel Gorman <[email protected]> Reviewed-by: Andy Whitcroft <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information