aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2018-11-23 01:16:02 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-23 10:53:07 +0100
commit73f5c66df3e26ab750cefcb9a3e08c71c9f79cad (patch)
treeff1a903537a5b30759a8d918863ea72bc257614e /tools/perf/scripts/python
parentstaging: erofs: atomic_cond_read_relaxed on ref-locked workgroup (diff)
downloadlinux-73f5c66df3e26ab750cefcb9a3e08c71c9f79cad.tar.gz
linux-73f5c66df3e26ab750cefcb9a3e08c71c9f79cad.zip
staging: erofs: fix `erofs_workgroup_{try_to_freeze, unfreeze}'
There are two minor issues in the current freeze interface: 1) Freeze interfaces have not related with CONFIG_DEBUG_SPINLOCK, therefore fix the incorrect conditions; 2) For SMP platforms, it should also disable preemption before doing atomic_cmpxchg in case that some high priority tasks preempt between atomic_cmpxchg and disable_preempt, then spin on the locked refcount later. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions