From: Ingo Molnar <mingo@elte.hu>
To: Borislav Petkov <bp@amd64.org>
Cc: Tony Luck <tony.luck@intel.com>,
linux-kernel@vger.kernel.org, "Huang,
Ying" <ying.huang@intel.com>,
Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Subject: Re: [PATCH 1/6] HWPOISON: clean up memory_failure() vs. __memory_failure()
Date: Wed, 14 Dec 2011 17:55:00 +0100 [thread overview]
Message-ID: <20111214165459.GB32305@elte.hu> (raw)
In-Reply-To: <20111214160702.GH23589@aftab>
* Borislav Petkov <bp@amd64.org> wrote:
> On Wed, Dec 14, 2011 at 08:47:49AM +0100, Ingo Molnar wrote:
> > > -/* dummy to break dependency. actual code is in mm/memory-failure.c */
> > > -void __attribute__((weak)) memory_failure(unsigned long pfn, int vector)
> > > +#ifndef CONFIG_MEMORY_FAILURE
> > > +int memory_failure(unsigned long pfn, int vector, int flags)
> > > {
> > > printk(KERN_ERR "Action optional memory failure at %lx ignored\n", pfn);
> >
> > Btw., while at it, could we phrase this message in a more
> > obvious way to users, such as 'Non-fatal memory failure at
> > %lx ignored'?
>
> Yeah, that's might not be as correct as we want it to be. AO
> means it is an uncorrectable error, i.e. it will become fatal
> if we'd consumed it, but it isn't that now because we just saw
> it passing by in the cacheline...
>
> Maybe "Fatal, unconsumed error ignored..."
There's also the distinction that tells us which context is
affected by an error: the currently executing task/mm, or some
other one.
So you can keep the terminology i guess lacking a better
alternative, i just wanted to point out that it's likely
confusing to users.
Thanks,
Ingo
next prev parent reply other threads:[~2011-12-14 16:56 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-13 19:05 [PATCH 0/6] x86, mce: machine check recovery for applications Tony Luck
2011-12-08 22:49 ` [PATCH 6/6] x86, mce: Recognise machine check bank signature for data path error Tony Luck
2011-12-14 15:47 ` Borislav Petkov
2011-12-12 21:06 ` [PATCH 4/6] x86, mce: Add mechanism to safely save information in MCE handler Tony Luck
2011-12-14 7:52 ` Ingo Molnar
2011-12-12 21:47 ` [PATCH 5/6] x86, mce: handle "action required" errors Tony Luck
2011-12-14 9:28 ` Chen Gong
2011-12-14 21:30 ` Tony Luck
2011-12-15 2:56 ` Chen Gong
2011-12-14 16:04 ` Borislav Petkov
2011-12-14 19:05 ` Luck, Tony
2011-12-13 17:24 ` [PATCH 1/6] HWPOISON: clean up memory_failure() vs. __memory_failure() Tony Luck
2011-12-14 7:47 ` Ingo Molnar
2011-12-14 16:07 ` Borislav Petkov
2011-12-14 16:55 ` Ingo Molnar [this message]
2011-12-14 17:21 ` Luck, Tony
2011-12-15 6:44 ` Ingo Molnar
2011-12-15 18:05 ` Tony Luck
2011-12-15 18:09 ` Ingo Molnar
2011-12-13 17:27 ` [PATCH 2/6] HWPOISON: Add code to handle "action required" errors Tony Luck
2011-12-13 17:48 ` [PATCH 3/6] x86, mce: create helper function to save addr/misc when needed Tony Luck
2011-12-16 0:13 ` Hidetoshi Seto
2011-12-15 19:59 [PATCH 0/6] x86, mce: machine check recovery for applications [updated] Tony Luck
2011-12-15 18:48 ` [PATCH 1/6] HWPOISON: clean up memory_failure() vs. __memory_failure() Tony Luck
2011-12-16 8:17 ` Borislav Petkov
2012-01-03 19:49 [PATCH 0/6] x86, mce: machine check recovery for applications Tony Luck
2011-12-15 18:48 ` [PATCH 1/6] HWPOISON: Clean up memory_failure() vs. __memory_failure() Tony Luck
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=20111214165459.GB32305@elte.hu \
--to=mingo@elte.hu \
--cc=bp@amd64.org \
--cc=linux-kernel@vger.kernel.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=tony.luck@intel.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®