Skip to content

Commit 8dd51ea

Browse files
YaroST12DhineshCool
authored andcommitted
fork: queue mmput_async to a highpri workqueue
Signed-off-by: Yaroslav Furman <yaro330@gmail.com> Signed-off-by: Yousef Algadri <yusufgadrie@gmail.com>
1 parent c60d4e1 commit 8dd51ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/fork.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ void mmput_async(struct mm_struct *mm)
928928
{
929929
if (atomic_dec_and_test(&mm->mm_users)) {
930930
INIT_WORK(&mm->async_put_work, mmput_async_fn);
931-
schedule_work(&mm->async_put_work);
931+
queue_work(system_highpri_wq, &mm->async_put_work);
932932
}
933933
}
934934
#endif

0 commit comments

Comments
 (0)