diff options
author | 2016-01-21 21:09:49 +0800 | |
---|---|---|
committer | 2016-01-22 01:59:57 +0100 | |
commit | 5754843225f78ac7cbe142a6899890a9733a5a5d (patch) | |
tree | 032eeea9de09cab6232b0034381378d144127084 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: Loongson-3: Improve -march option and move it to Platform (diff) | |
download | linux-dev-5754843225f78ac7cbe142a6899890a9733a5a5d.tar.xz linux-dev-5754843225f78ac7cbe142a6899890a9733a5a5d.zip |
MIPS: Loongson-3: Fix SMP_ASK_C0COUNT IPI handler
When Core-0 handle SMP_ASK_C0COUNT IPI, we should make other cores to
see the result as soon as possible (especially when Store-Fill-Buffer
is enabled). Otherwise, C0_Count syncronization makes no sense.
BTW, array is more suitable than per-cpu variable for syncronization,
and there is a corner case should be avoid: C0_Count of Core-0 can be
really 0.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/12160/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions