diff options
author | Bibo Mao <[email protected]> | 2023-11-21 15:03:25 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2023-11-21 15:03:25 +0800 |
commit | d43f37b73468c172bc89ac4824a1511b411f0778 (patch) | |
tree | 4d3eb9ad7abb27374991d72c0eae76fd4e841510 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 19d86a496233731882aea7ec24505ce6641b1c0c (diff) |
LoongArch: Implement constant timer shutdown interface
When a cpu is hot-unplugged, it is put in idle state and the function
arch_cpu_idle_dead() is called. The timer interrupt for this processor
should be disabled, otherwise there will be pending timer interrupt for
the unplugged cpu, so that vcpu is prevented from giving up scheduling
when system is running in vm mode.
This patch implements the timer shutdown interface so that the constant
timer will be properly disabled when a CPU is hot-unplugged.
Reviewed-by: WANG Xuerui <[email protected]>
Signed-off-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions