linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Aili Yao <yaoaili@kingsoft.com>
To: "HORIGUCHI NAOYA(堀口 直也)" <naoya.horiguchi@nec.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>,
	"osalvador@suse.de" <osalvador@suse.de>,
	"YANGFENG1@kingsoft.com" <YANGFENG1@kingsoft.com>
Subject: Re: [PATCH v4] mm,hwpoison: Differentiate Action Required error in current and non  current processes
Date: Wed, 20 Jan 2021 16:27:02 +0800	[thread overview]
Message-ID: <20210120162702.1285bb99.yaoaili@kingsoft.com> (raw)
In-Reply-To: <20210120075923.GA30851@hori.linux.bs1.fc.nec.co.jp>

On Wed, 20 Jan 2021 07:59:23 +0000
HORIGUCHI NAOYA(堀口 直也) <naoya.horiguchi@nec.com> wrote:

> It's desirable that $SUBJECT represents what that patch does, so
> how about something like
> "mm, hwpoison: send SIGBUS to PF_MCE_EARLY processes on action required events" ?

This one looks better, i will change to that. Thanks

> ...
> > @@ -440,10 +443,13 @@ static struct task_struct *find_early_kill_thread(struct task_struct *tsk)
> >   * Determine whether a given process is "early kill" process which expects
> >   * to be signaled when some page under the process is hwpoisoned.
> >   * Return task_struct of the dedicated thread (main thread unless explicitly
> > - * specified) if the process is "early kill," and otherwise returns NULL.
> > + * specified) if the process is "early kill" and otherwise returns NULL.
> >   *
> > - * Note that the above is true for Action Optional case, but not for Action
> > - * Required case where SIGBUS should sent only to the current thread.
> > + * Note that the above is true for Action Optional case. For Action Required
> > + * case, it's only meaningful to the current thread which need to be signaled
> > + * with SIGBUS, this error is Action Optional for other non current
> > + * processes sharing the same error page,if the process is "early kill",the  
> 

Thanks for reminding, I will fix this in v5 patch

Thank you!

-- 
Best Regards!

Aili Yao


      reply	other threads:[~2021-01-20  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20  7:03 Aili Yao
2021-01-20  7:59 ` HORIGUCHI NAOYA(堀口 直也)
2021-01-20  8:27   ` Aili Yao [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=20210120162702.1285bb99.yaoaili@kingsoft.com \
    --to=yaoaili@kingsoft.com \
    --cc=YANGFENG1@kingsoft.com \
    --cc=linux-mm@kvack.org \
    --cc=naoya.horiguchi@nec.com \
    --cc=osalvador@suse.de \
    /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