Re: [PATCH v3] mm/hugetlb: fix total hugetlbfs pages count when memory overcommit accouting

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 19:30:46, Wanpeng Li wrote: > Changelog: > v2 -> v3: > * update patch description, spotted by Michal > v1 -> v2: > * update patch description, spotted by Michal > > "hugetlb_total_pages is used for overcommit calculations but the > current implementation considers only defaul

[PATCH v3] mm/hugetlb: fix total hugetlbfs pages count when memory overcommit accouting

2013-03-14 Thread Wanpeng Li
Changelog: v2 -> v3: * update patch description, spotted by Michal v1 -> v2: * update patch description, spotted by Michal "hugetlb_total_pages is used for overcommit calculations but the current implementation considers only default hugetlb page size (which is either the first defined hugep