Commit 77d9a64c authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Greg Kroah-Hartman
Browse files

workqueue: Rename "delayed" (delayed by active management) to "inactive"



[ Upstream commit f97a4a1a ]

There are two kinds of "delayed" work items in workqueue subsystem.

One is for timer-delayed work items which are visible to workqueue users.
The other kind is for work items delayed by active management which can
not be directly visible to workqueue users.  We mixed the word "delayed"
for both kinds and caused somewhat ambiguity.

This patch renames the later one (delayed by active management) to
"inactive", because it is used for workqueue active management and
most of its related symbols are named with "active" or "activate".

All "delayed" and "DELAYED" are carefully checked and renamed one by
one to avoid accidentally changing the name of the other kind for
timer-delayed.

No functional change intended.

Signed-off-by: default avatarLai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Stable-dep-of: 335a42eb ("workqueue: Fix hung time report of worker pools")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 960167e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment