Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6bd2fe4f authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Isaac J. Manjarres
Browse files

workqueue/hotplug: simplify workqueue_offline_cpu()

Since the recent cpu/hotplug refactoring, workqueue_offline_cpu() is
guaranteed to run on the local cpu which is going offline.

This also fixes the following deadlock by removing work item
scheduling and flushing from CPU hotplug path.

 http://lkml.kernel.org/r/1504764252-29091-1-git-send-email-prsood@codeaurora.org



tj: Description update.

Change-Id: I3b2b9f110591abea36027503eabce72465373926
Signed-off-by: default avatarLai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Git-commit: e8b3f8db7aad99fcc5234fc5b89984ff6620de3d
Git-Repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/


Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent c85e6b5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment