Commit 5d3eea00 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Zeng Heng
Browse files

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

mainline inclusion
from mainline-v5.15-rc1
commit f97a4a1a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7LRJF

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f97a4a1a3f8769e3452885967955e21c88f3f263



---------------------------

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>

conflict:
	kernel/workqueue.c

Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
parent 9675e654
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment