diff options
author | Thomas Gleixner <[email protected]> | 2013-07-05 12:09:18 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2013-07-05 17:25:58 +0200 |
commit | 5ec2481b7b47a4005bb446d176e5d0257400c77d (patch) | |
tree | e7ae9e34dc6b1db5149669947b6cd93814f447ec /lib/mpi/mpi-bit.c | |
parent | 332962f2c88868ed3cdab466870baaa34dd58612 (diff) |
hrtimers: Move SMP function call to thread context
smp_call_function_* must not be called from softirq context.
But clock_was_set() which calls on_each_cpu() is called from softirq
context to implement a delayed clock_was_set() for the timer interrupt
handler. Though that almost never gets invoked. A recent change in the
resume code uses the softirq based delayed clock_was_set to support
Xens resume mechanism.
linux-next contains a new warning which warns if smp_call_function_*
is called from softirq context which gets triggered by that Xen
change.
Fix this by moving the delayed clock_was_set() call to a work context.
Reported-and-tested-by: Artem Savkov <[email protected]>
Reported-by: Sasha Levin <[email protected]>
Cc: David Vrabel <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>,
Cc: Konrad Wilk <[email protected]>
Cc: John Stultz <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions