]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
workqueue: Rename "delayed" (delayed by active management) to "inactive"
authorLai Jiangshan <laijs@linux.alibaba.com>
Tue, 17 Aug 2021 01:32:34 +0000 (09:32 +0800)
committerTejun Heo <tj@kernel.org>
Tue, 17 Aug 2021 17:49:09 +0000 (07:49 -1000)
commitf97a4a1a3f8769e3452885967955e21c88f3f263
tree5525d105d5e72944ac2431a7480c358c4b2c1e74
parentffd8bea81fbb5abe6518bce8d6297a149b935cf7
workqueue: Rename "delayed" (delayed by active management) to "inactive"

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: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/workqueue.h
kernel/workqueue.c