diff options
| author | Gao Xiang <[email protected]> | 2018-11-23 01:16:02 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-11-23 10:53:07 +0100 |
| commit | 73f5c66df3e26ab750cefcb9a3e08c71c9f79cad (patch) | |
| tree | ff1a903537a5b30759a8d918863ea72bc257614e /tools/perf/scripts/python | |
| parent | df134b8d17b90c1e7720e318d36416b57424ff7a (diff) | |
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 <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions