preempt/dynamic: Provide irqentry_exit_cond_resched() static call
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Mon, 18 Jan 2021 14:12:22 +0000 (15:12 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Feb 2021 13:12:42 +0000 (14:12 +0100)
commit40607ee97e4eec5655cc0f76a720bdc4c63a6434
tree7f6d888bf7f72306f4cdc986b3e2af6524f30270
parent2c9a98d3bc808717ab63ad928a2b568967775388
preempt/dynamic: Provide irqentry_exit_cond_resched() static call

Provide static call to control IRQ preemption (called in CONFIG_PREEMPT)
so that we can override its behaviour when preempt= is overriden.

Since the default behaviour is full preemption, its call is
initialized to provide IRQ preemption when preempt= isn't passed.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20210118141223.123667-8-frederic@kernel.org
include/linux/entry-common.h
kernel/entry/common.c