diff options
| author | Henry Burns <[email protected]> | 2019-08-25 00:54:37 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-08-25 02:48:42 +0000 |
| commit | d776aaa9895eb6eb770908e899cb7f5bd5025b3c (patch) | |
| tree | f1a7e0d904768ba84f4532ecc905ec400289a9d1 /tools/perf/scripts/python | |
| parent | Merge tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-d776aaa9895eb6eb770908e899cb7f5bd5025b3c.tar.gz kernel-d776aaa9895eb6eb770908e899cb7f5bd5025b3c.zip | |
mm/z3fold.c: fix race between migration and destruction
In z3fold_destroy_pool() we call destroy_workqueue(&pool->compact_wq).
However, we have no guarantee that migration isn't happening in the
background at that time.
Migration directly calls queue_work_on(pool->compact_wq), if destruction
wins that race we are using a destroyed workqueue.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Henry Burns <[email protected]>
Cc: Vitaly Wool <[email protected]>
Cc: Shakeel Butt <[email protected]>
Cc: Jonathan Adams <[email protected]>
Cc: Henry Burns <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
