Re: [RFC PATCH 2/2] powerpc: nop trap instruction after WARN_ONCE fires

2022-10-04 Thread Christophe Leroy
Le 04/10/2022 à 06:31, Nicholas Piggin a écrit : > On Sat Sep 24, 2022 at 2:47 AM AEST, Christophe Leroy wrote: >> >> >> Le 23/09/2022 à 17:41, Nicholas Piggin a écrit : >>> WARN_ONCE and similar are often used in frequently executed code, and >>> should not crash the system. The program check

Re: [RFC PATCH 2/2] powerpc: nop trap instruction after WARN_ONCE fires

2022-10-03 Thread Nicholas Piggin
On Sat Sep 24, 2022 at 2:47 AM AEST, Christophe Leroy wrote: > > > Le 23/09/2022 à 17:41, Nicholas Piggin a écrit : > > WARN_ONCE and similar are often used in frequently executed code, and > > should not crash the system. The program check interrupt caused by > > WARN_ON_ONCE can be a significant

RE: [RFC PATCH 2/2] powerpc: nop trap instruction after WARN_ONCE fires

2022-09-26 Thread David Laight
From: Nicholas Piggin > Sent: 23 September 2022 16:42 > > WARN_ONCE and similar are often used in frequently executed code, and > should not crash the system. The program check interrupt caused by > WARN_ON_ONCE can be a significant overhead even when nothing is being > printed. This can cause

Re: [RFC PATCH 2/2] powerpc: nop trap instruction after WARN_ONCE fires

2022-09-23 Thread Christophe Leroy
Le 23/09/2022 à 17:41, Nicholas Piggin a écrit : > WARN_ONCE and similar are often used in frequently executed code, and > should not crash the system. The program check interrupt caused by > WARN_ON_ONCE can be a significant overhead even when nothing is being > printed. This can cause