Thread (4 messages) flat view 4 messages, 2 authors, 2016-11-14

Re: [1/2] selftests/powerpc: Abort load_unaligned_zeropad on unhandled SEGV

From: Michael Ellerman <hidden>
Date: 2016-11-14 12:17:05

On Thu, 2016-03-11 at 04:41:00 UTC, Michael Ellerman wrote:
If the load unaligned zeropad test takes a SEGV which can't be handled,
we increment segv_error, print the offending NIP and then return without
taking any further action. In almost all cases this means we'll just
take the SEGV again, and loop eternally spamming the console.

Instead just abort(), it's a fatal error in the test. The test harness
will notice that the child died and print a nice message for us.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Applied to powerpc next.

https://git.kernel.org/powerpc/c/06236f4efb926aa433e2cb3e36e846

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help