Messages in this thread | | | Date | Tue, 01 Apr 2008 08:28:12 +0900 | From | KOSAKI Motohiro <> | Subject | Re: [PATCH] hugetlb: vmstat events for huge page allocations |
| |
Hi
> 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.
In generaly, I like this patch.
Have you seen Andi Kleen's "GB pages hugetlb support" series? it contain multiple size hugepage support. if it is merged, Is your patch caused any effect?
| |