Commit 828f859b authored by He Sheng's avatar He Sheng Committed by guzitao
Browse files

sw64: simplify and improve smp operations

Sunway inclusion
category: performance
bugzilla: https://gitee.com/openeuler/kernel/issues/I73KT3



--------------------------------

This patch:
  - Clean up redundant struct smp_ops.
  - smp_send_stop wait up to one second for other CPUs to stop.
  - Mark cpu offline on reception of IPI_CPU_STOP.

Signed-off-by: default avatarHe Sheng <hesheng@wxiat.com>
Reviewed-by: default avatarCui Wei <cuiwei@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent db7a5d14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment