Re: [PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic)

2019-01-17 Thread William Kucharski
> On Jan 16, 2019, at 6:07 PM, Jane Chu wrote: > > It's just coding style I'm used to, no big deal. > Up to you to decide. :) Personally I like a (void) cast as it's pretty long-standing syntactic sugar to cast a call that returns a value we don't care about to (void) to show we know it ret

Re: [PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic)

2019-01-16 Thread Jane Chu
On 1/16/2019 3:32 PM, Naoya Horiguchi wrote: Hi Jane, On Wed, Jan 16, 2019 at 09:56:02AM -0800, Jane Chu wrote: Hi, Naoya, On 1/16/2019 1:30 AM, Naoya Horiguchi wrote: diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 7c72f2a95785..831be5ff5f4d 100644 --- a/mm/mem

Re: [PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic)

2019-01-16 Thread Naoya Horiguchi
Hi Jane, On Wed, Jan 16, 2019 at 09:56:02AM -0800, Jane Chu wrote: > Hi, Naoya, > > On 1/16/2019 1:30 AM, Naoya Horiguchi wrote: > > diff --git a/mm/memory-failure.c b/mm/memory-failure.c > index 7c72f2a95785..831be5ff5f4d 100644 > --- a/mm/memory-failure.c > +++ b/mm/memory-fail

Re: [PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic)

2019-01-16 Thread Dan Williams
On Wed, Jan 16, 2019 at 1:33 AM Naoya Horiguchi wrote: > > [ CCed Andrew and linux-mm ] > > On Fri, Jan 11, 2019 at 08:14:02AM +, Horiguchi Naoya(堀口 直也) wrote: > > Hi Dan, Jane, > > > > Thanks for the report. > > > > On Wed, Jan 09, 2019 at 03:49:32PM -0800, Dan Williams wrote: > > > [ switch

[PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic)

2019-01-16 Thread Naoya Horiguchi
[ CCed Andrew and linux-mm ] On Fri, Jan 11, 2019 at 08:14:02AM +, Horiguchi Naoya(堀口 直也) wrote: > Hi Dan, Jane, > > Thanks for the report. > > On Wed, Jan 09, 2019 at 03:49:32PM -0800, Dan Williams wrote: > > [ switch to text mail, add lkml and Naoya ] > > > > On Wed, Jan 9, 2019 at 12:19

Re: PMEM error-handling forces SIGKILL causes kernel panic

2019-01-11 Thread Naoya Horiguchi
Hi Dan, Jane, Thanks for the report. On Wed, Jan 09, 2019 at 03:49:32PM -0800, Dan Williams wrote: > [ switch to text mail, add lkml and Naoya ] > > On Wed, Jan 9, 2019 at 12:19 PM Jane Chu wrote: ... > > 3. The hardware consists the latest revision CPU and Intel NVDIMM, we > > suspected > >

Re: PMEM error-handling forces SIGKILL causes kernel panic

2019-01-09 Thread Dan Williams
[ switch to text mail, add lkml and Naoya ] On Wed, Jan 9, 2019 at 12:19 PM Jane Chu wrote: > > Hi, Dan, > > Sorry for the late report. > We recently saw panics from PMEM error handling, here are the log messages > and stack trace. "<--" are added by me. > > > [ 4488.098830] mce: Uncorrected har