Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

signal.c

  • Hendrik Brueckner's avatar
    aa7e04b3
    s390/signal: always restore saved runtime instrumentation psw bit · aa7e04b3
    Hendrik Brueckner authored
    
    Commit "s390: fix handling of runtime instrumentation psw bit" (5ebf250d)
    changed the behavior of setting the runtime instrumentation psw bit.  This
    commit restores the original logic:
    
    1. When returning from the signal handler, the runtime instrumentation psw bit
       is restored to its saved state.
    2. If the runtime instrumentation psw bit is enabled during the signal handler,
       it is always turned off when leaving the signal handler.  The saved state
       is restored as described in 1.  That also implies that turning on runtime
       instrumentation in the signal handler is only effective while running in the
       signal context.
    
    Signed-off-by: default avatarHendrik Brueckner <brueckner@linux.vnet.ibm.com>
    aa7e04b3
    History
    s390/signal: always restore saved runtime instrumentation psw bit
    Hendrik Brueckner authored
    
    Commit "s390: fix handling of runtime instrumentation psw bit" (5ebf250d)
    changed the behavior of setting the runtime instrumentation psw bit.  This
    commit restores the original logic:
    
    1. When returning from the signal handler, the runtime instrumentation psw bit
       is restored to its saved state.
    2. If the runtime instrumentation psw bit is enabled during the signal handler,
       it is always turned off when leaving the signal handler.  The saved state
       is restored as described in 1.  That also implies that turning on runtime
       instrumentation in the signal handler is only effective while running in the
       signal context.
    
    Signed-off-by: default avatarHendrik Brueckner <brueckner@linux.vnet.ibm.com>