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

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 19:24:11, Wanpeng Li wrote: > On Thu, Mar 14, 2013 at 12:09:27PM +0100, Michal Hocko wrote: > >On Thu 14-03-13 18:49:49, Wanpeng Li wrote: > >> Changelog: > >> v1 -> v2: > >> * update patch description, spotted by Michal > >> > >> hugetlb_total_pages() does not account for all

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

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 18:49:49, Wanpeng Li wrote: > Changelog: > v1 -> v2: > * update patch description, spotted by Michal > > hugetlb_total_pages() does not account for all the supported hugepage > sizes. > This can lead to incorrect calculation of the total number of > page frames used by

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

2013-03-14 Thread Wanpeng Li
Changelog: v1 -> v2: * update patch description, spotted by Michal hugetlb_total_pages() does not account for all the supported hugepage sizes. This can lead to incorrect calculation of the total number of page frames used by hugetlb. This patch corrects the issue. Testcase: boot:

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

2013-03-14 Thread Wanpeng Li
Changelog: v1 - v2: * update patch description, spotted by Michal hugetlb_total_pages() does not account for all the supported hugepage sizes. This can lead to incorrect calculation of the total number of page frames used by hugetlb. This patch corrects the issue. Testcase: boot:

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

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 18:49:49, Wanpeng Li wrote: Changelog: v1 - v2: * update patch description, spotted by Michal hugetlb_total_pages() does not account for all the supported hugepage sizes. This can lead to incorrect calculation of the total number of page frames used by hugetlb. This

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

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 19:24:11, Wanpeng Li wrote: On Thu, Mar 14, 2013 at 12:09:27PM +0100, Michal Hocko wrote: On Thu 14-03-13 18:49:49, Wanpeng Li wrote: Changelog: v1 - v2: * update patch description, spotted by Michal hugetlb_total_pages() does not account for all the supported