Messages in this thread | | | Date | Fri, 21 Jan 2011 18:56:04 +0900 | From | Naoya Horiguchi <> | Subject | Re: [PATCH 3/3 -v2] Fix the wrong corrupted page information of hugetlb page. |
| |
On Fri, Jan 21, 2011 at 05:17:36PM +0900, Jin Dongming wrote: > When more than on tail page of the same mapped hugetlb page are > poisoned at the same time, the sum of corrupted page should be > the size of one hugetlb page(512 pages). But HardwareCorrupted > information in /proc/meminfo is 1024 pages or more. > > That is because when the above condition happened, > __memory_failure() will be called many times and pages in hugetlb > page are accounted more than one time. > > This patch fixed it by incrementing the number of corrupted page > one by one. > > -v2 fix checking for "just unpoisoned". > > Signed-off-by: Jin Dongming <jin.dongming@np.css.fujitsu.com> > Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
| |