linux/arch/sparc
Sebastian Andrzej Siewior 6b2a704800 irq_work: allow certain work in hard irq context
irq_work is processed in softirq context on -RT because we want to avoid
long latencies which might arise from processing lots of perf events.
The noHZ-full mode requires its callback to be called from real hardirq
context (commit 76c24fb ("nohz: New APIs to re-evaluate the tick on full
dynticks CPUs")). If it is called from a thread context we might get
wrong results for checks like "is_idle_task(current)".
This patch introduces a second list (hirq_work_list) which will be used
if irq_work_run() has been invoked from hardirq context and process only
work items marked with IRQ_WORK_HARD_IRQ.

This patch also removes arch_irq_work_raise() from sparc & powerpc like
it is already done for x86. Atleast for powerpc it is somehow
superfluous because it is called from the timer interrupt which should
invoke update_process_times().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2020-10-14 00:59:19 +03:00
..
boot sparc: Fix piggyback with newer binutils. 2012-12-03 11:24:25 -08:00
configs perf: Remove PERF_COUNTERS config option 2012-04-26 13:52:52 +02:00
crypto crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:50 -08:00
include sparc64: Fix constraints on swab helpers. 2014-12-06 15:55:33 -08:00
kernel irq_work: allow certain work in hard irq context 2020-10-14 00:59:19 +03:00
lib sparc64: Fix several bugs in memmove(). 2015-03-26 15:06:49 +01:00
math-emu arch/sparc/math-emu/math_32.c: drop stray break operator 2014-08-14 09:38:26 +08:00
mm mm: pagefault_disabled() 2020-10-14 00:59:09 +03:00
net net: filter: fix sparc32 typo 2014-06-26 15:15:39 -04:00
oprofile
power nosave: consolidate __nosave_{begin,end} in <asm/sections.h> 2015-05-06 21:59:21 +02:00
prom sparc64: Fix register corruption in top-most kernel stack frame during boot. 2014-10-30 09:38:28 -07:00
Kbuild sparc64: Add SHA1 driver making use of the 'sha1' instruction. 2012-08-20 15:08:49 -07:00
Kconfig sparc64: use generic rwsem spinlocks rt 2020-10-14 00:59:08 +03:00
Kconfig.debug lib: consolidate DEBUG_STACK_USAGE option 2011-05-25 08:39:54 -07:00
Makefile sparc64: Hibernation support 2013-03-20 11:06:54 -07:00