lkml.org 
[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>


\
 
 \ /
  Last update: 2011-01-21 11:01    [W:0.220 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site