From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: Weijie Yang <weijie.yang@samsung.com>,
'Andrew Morton' <akpm@linux-foundation.org>,
"mgorman@suse.de" <mgorman@suse.de>,
'Rik van Riel' <riel@redhat.com>,
'Weijie Yang' <weijie.yang.kh@gmail.com>,
'Linux-MM' <linux-mm@kvack.org>,
'linux-kernel' <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mm: mincore: add hwpoison page handle
Date: Fri, 14 Nov 2014 01:02:44 +0000 [thread overview]
Message-ID: <20141114010320.GA15456@hori1.linux.bs1.fc.nec.co.jp> (raw)
In-Reply-To: <20141112142022.GA29766@phnom.home.cmpxchg.org>
On Wed, Nov 12, 2014 at 09:20:22AM -0500, Johannes Weiner wrote:
> On Wed, Nov 12, 2014 at 11:39:29AM +0800, Weijie Yang wrote:
> > When encounter pte is a swap entry, the current code handles two cases:
> > migration and normal swapentry, but we have a third case: hwpoison page.
> >
> > This patch adds hwpoison page handle, consider hwpoison page incore as
> > same as migration.
> >
> > Signed-off-by: Weijie Yang <weijie.yang@samsung.com>
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
>
> The change makes sense:
>
> Acked-by: Johannes Weiner <hannes@cmpxchg.org>
>
> But please add a description of what happens when a poison entry is
> encountered with the current code. I'm guessing swap_address_space()
> will return garbage and this might crash the kernel?
Yes, I think that's correct.
Thanks,
Naoya Horiguchi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2014-11-14 1:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-12 3:39 Weijie Yang
2014-11-12 14:20 ` Johannes Weiner
2014-11-14 1:02 ` 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=20141114010320.GA15456@hori1.linux.bs1.fc.nec.co.jp \
--to=n-horiguchi@ah.jp.nec.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=riel@redhat.com \
--cc=weijie.yang.kh@gmail.com \
--cc=weijie.yang@samsung.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