From: Andi Kleen <andi@firstfloor.org>
To: ltp@lists.linux.it
Subject: [LTP] Is MADV_HWPOISON supposed to work only on faulted-in pages?
Date: Mon, 27 Mar 2017 16:54:42 -0700 [thread overview]
Message-ID: <87zig6uvgd.fsf@firstfloor.org> (raw)
In-Reply-To: <20170223032342.GA18740@hori1.linux.bs1.fc.nec.co.jp> (Naoya Horiguchi's message of "Thu, 23 Feb 2017 03:23:49 +0000")
Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> writes:
>
> I think that what the testcase effectively does is to test whether memory
> handling on zero pages works or not.
> And the testcase's failure seems acceptable, because it's simply not-implemented yet.
> Maybe recovering from error on zero page is possible (because there's no data
> loss for memory error,) but I'm not sure that code might be simple enough and/or
> it's worth doing ...
I doubt it's worth doing, it's just too unlikely that a specific page
is hit. Memory error handling is all about probabilities.
The test is just broken and should be fixed.
mce-test had similar problems at some point, but they were all fixed.
-Andi
WARNING: multiple messages have this Message-ID (diff)
From: Andi Kleen <andi@firstfloor.org>
To: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Jan Stancek <jstancek@redhat.com>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: Is MADV_HWPOISON supposed to work only on faulted-in pages?
Date: Mon, 27 Mar 2017 16:54:42 -0700 [thread overview]
Message-ID: <87zig6uvgd.fsf@firstfloor.org> (raw)
In-Reply-To: <20170223032342.GA18740@hori1.linux.bs1.fc.nec.co.jp> (Naoya Horiguchi's message of "Thu, 23 Feb 2017 03:23:49 +0000")
Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> writes:
>
> I think that what the testcase effectively does is to test whether memory
> handling on zero pages works or not.
> And the testcase's failure seems acceptable, because it's simply not-implemented yet.
> Maybe recovering from error on zero page is possible (because there's no data
> loss for memory error,) but I'm not sure that code might be simple enough and/or
> it's worth doing ...
I doubt it's worth doing, it's just too unlikely that a specific page
is hit. Memory error handling is all about probabilities.
The test is just broken and should be fixed.
mce-test had similar problems at some point, but they were all fixed.
-Andi
--
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>
next prev parent reply other threads:[~2017-03-27 23:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 15:41 [LTP] Is MADV_HWPOISON supposed to work only on faulted-in pages? Jan Stancek
2017-02-14 15:41 ` Jan Stancek
2017-02-20 5:00 ` [LTP] " Naoya Horiguchi
2017-02-20 5:00 ` Naoya Horiguchi
2017-02-23 3:23 ` [LTP] " Naoya Horiguchi
2017-02-23 3:23 ` Naoya Horiguchi
2017-02-25 2:28 ` [LTP] " Yisheng Xie
2017-02-25 2:28 ` Yisheng Xie
2017-02-27 1:20 ` [LTP] " Naoya Horiguchi
2017-02-27 1:20 ` Naoya Horiguchi
2017-02-27 4:27 ` [LTP] " Zi Yan
2017-02-27 4:27 ` Zi Yan
2017-02-27 6:33 ` [LTP] " Naoya Horiguchi
2017-02-27 6:33 ` Naoya Horiguchi
2017-02-27 16:10 ` [LTP] " Zi Yan
2017-02-27 16:10 ` Zi Yan
2017-03-14 13:20 ` [LTP] " Cyril Hrubis
2017-03-14 13:20 ` Cyril Hrubis
2017-03-27 12:08 ` Richard Palethorpe
2017-03-27 12:08 ` Richard Palethorpe
2017-03-27 23:54 ` Andi Kleen [this message]
2017-03-27 23:54 ` Andi Kleen
2017-03-28 8:25 ` [LTP] " Cyril Hrubis
2017-03-28 8:25 ` Cyril Hrubis
2017-03-28 20:26 ` Andi Kleen
2017-03-28 20:26 ` Andi Kleen
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=87zig6uvgd.fsf@firstfloor.org \
--to=andi@firstfloor.org \
--cc=ltp@lists.linux.it \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.