]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bfb69f61f6fe4f4f730fd983e1d4fe1a4c1bc54
tree7f6d888bf7f72306f4cdc986b3e2af6524f30270
parentbf2d291285afd92983c3fba2fc86ca470635ae69
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