mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
To: Jin Dongming <jin.dongming@np.css.fujitsu.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	Huang Ying <ying.huang@intel.com>,
	Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>,
	LKLM <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3 -v2] Fix the wrong corrupted page information of hugetlb page.
Date: Fri, 21 Jan 2011 18:56:04 +0900	[thread overview]
Message-ID: <20110121095604.GC8897@spritzera.linux.bs1.fc.nec.co.jp> (raw)
In-Reply-To: <4D394120.3020509@np.css.fujitsu.com>

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>

      reply	other threads:[~2011-01-21  9:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21  1:24 [PATCH 3/3] " Jin Dongming
2011-01-21  5:12 ` Naoya Horiguchi
2011-01-21  6:05   ` Jin Dongming
2011-01-21  8:17   ` [PATCH 3/3 -v2] " Jin Dongming
2011-01-21  9:56     ` Naoya Horiguchi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110121095604.GC8897@spritzera.linux.bs1.fc.nec.co.jp \
    --to=n-horiguchi@ah.jp.nec.com \
    --cc=andi@firstfloor.org \
    --cc=jin.dongming@np.css.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seto.hidetoshi@jp.fujitsu.com \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®