OSDN Git Service

s390/smp: implement arch_irq_work_raise()
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 19 Feb 2021 22:32:56 +0000 (23:32 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Feb 2021 23:31:22 +0000 (00:31 +0100)
commit55f03123f60985815e57cc9d1b29dea48e32e709
tree9b630a367a297fef57d6f3a7a5f54872fa7f5362
parentda6d2c289dbe8871f1977bf7c348309d37b867b0
s390/smp: implement arch_irq_work_raise()

The immediate need to have this is to have bpf_send_signal() send the
signal ASAP instead of during the next hrtimer interrupt. However, it
should also improve irq_work_queue() latencies in general, as well as
get s390 out of the lame architectures list [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/irq_work.c?h=v5.11#n45

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/irq_work.h [new file with mode: 0644]
arch/s390/kernel/smp.c