diff options
| author | Pingfan Liu <piliu@redhat.com> | 2023-02-15 19:23:40 +0800 |
|---|---|---|
| committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-16 12:06:44 -0500 |
| commit | 0ca44fcef241768fd25ee763b3d203b9852f269b (patch) | |
| tree | f9f29a6be4d2d5cdfa3533389ee9b1afc8e58515 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | dm sysfs: make kobj_type structure constant (diff) | |
| download | linux-0ca44fcef241768fd25ee763b3d203b9852f269b.tar.gz linux-0ca44fcef241768fd25ee763b3d203b9852f269b.zip | |
dm: add cond_resched() to dm_wq_work()
Otherwise the while() loop in dm_wq_work() can result in a "dead
loop" on systems that have preemption disabled. This is particularly
problematic on single cpu systems.
Cc: stable@vger.kernel.org
Signed-off-by: Pingfan Liu <piliu@redhat.com>
Acked-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
