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: NLai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: NTejun Heo <tj@kernel.org> conflict: kernel/workqueue.c Signed-off-by: NZeng Heng <zengheng4@huawei.com>
Showing
想要评论请 注册 或 登录