]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Work around tracing from dyntick-idle mode
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 4 Sep 2011 19:18:00 +0000 (12:18 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 13 Sep 2011 15:46:42 +0000 (08:46 -0700)
commit310454827ddacece376b50c99e537da88c577a31
tree60173a31f2d905d682742b81ab4ed9be7c6cc79d
parent0f0cd2c4c0b4eb4df7cccf79121a4af585c65884
powerpc: Work around tracing from dyntick-idle mode

PowerPC LPAR's __trace_hcall_exit() can invoke event tracing at a
point where RCU has been told that the CPU is in dyntick-idle mode.
Because event tracing uses RCU, this can result in failures.

A correct fix would arrange for RCU to be told about dyntick-idle
mode after tracing had completed, however, this will require some care
because it appears that __trace_hcall_exit() can also be called from
non-dyntick-idle mode.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: anton@samba.org
Cc: benh@kernel.crashing.org
Cc: paulus@samba.org
arch/powerpc/platforms/pseries/lpar.c