Skip to content

Commit a68773b

Browse files
vianplwilldeacon
authored andcommitted
arm64: Select POSIX_CPU_TIMERS_TASK_WORK
With 6caa581 ("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/[email protected]/ [2] https://lore.kernel.org/linux-rt-users/87v92bdnlx.ffs@tglx/ Signed-off-by: Nicolas Saenz Julienne <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent d198c77 commit a68773b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ config ARM64
192192
select HAVE_PERF_REGS
193193
select HAVE_PERF_USER_STACK_DUMP
194194
select HAVE_REGS_AND_STACK_ACCESS_API
195+
select HAVE_POSIX_CPU_TIMERS_TASK_WORK
195196
select HAVE_FUNCTION_ARG_ACCESS_API
196197
select HAVE_FUTEX_CMPXCHG if FUTEX
197198
select MMU_GATHER_RCU_TABLE_FREE

0 commit comments

Comments
 (0)