Skip to content
Commit a68773bd authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Will Deacon
Browse files

arm64: Select POSIX_CPU_TIMERS_TASK_WORK

With 6caa5812 ("KVM: arm64: Use generic KVM xfer to guest work
function") all arm64 exit paths are properly equipped to handle the
POSIX timers' task work.

Deferring timer callbacks to thread context, not only limits the amount
of time spent in hard interrupt context, but is a safer
implementation[1], and will allow PREEMPT_RT setups to use KVM[2].

So let's enable POSIX_CPU_TIMERS_TASK_WORK on arm64.

[1] https://lore.kernel.org/all/20200716201923.228696399@linutronix.de/
[2] https://lore.kernel.org/linux-rt-users/87v92bdnlx.ffs@tglx/



Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzju@redhat.com>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211018144713.873464-1-nsaenzju@redhat.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent d198c77b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment