* [PATCH] cgroup: Fix a comment in function cgroup_wq_init()
@ 2020-09-18 8:54 chenxiang
[not found] ` <1600419292-191248-1-git-send-email-chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: chenxiang @ 2020-09-18 8:54 UTC (permalink / raw)
To: tj-DgEjT+Ai2ygdnm+yROfE0A, lizefan-hv44wF8Li93QT0dZR+AlfA,
hannes-druUgvl0LCNAfugRpC6u6w
Cc: linuxarm-hv44wF8Li93QT0dZR+AlfA, cgroups-u79uwXL29TY76Z2rM5mHXA,
Xiang Chen
From: Xiang Chen <chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
Use function workqueue_init() instead of init_workqueues() which
is not used in kernel.
Signed-off-by: Xiang Chen <chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
---
kernel/cgroup/cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index dd24774..c34b03d 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -5784,7 +5784,7 @@ static int __init cgroup_wq_init(void)
* Use 1 for @max_active.
*
* We would prefer to do this in cgroup_init() above, but that
- * is called before init_workqueues(): so leave this until after.
+ * is called before workqueue_init(): so leave this until after.
*/
cgroup_destroy_wq = alloc_workqueue("cgroup_destroy", 0, 1);
BUG_ON(!cgroup_destroy_wq);
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cgroup: Fix a comment in function cgroup_wq_init()
[not found] ` <1600419292-191248-1-git-send-email-chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
@ 2020-09-21 14:45 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2020-09-21 14:45 UTC (permalink / raw)
To: chenxiang
Cc: lizefan-hv44wF8Li93QT0dZR+AlfA, hannes-druUgvl0LCNAfugRpC6u6w,
linuxarm-hv44wF8Li93QT0dZR+AlfA, cgroups-u79uwXL29TY76Z2rM5mHXA
Hello,
On Fri, Sep 18, 2020 at 04:54:52PM +0800, chenxiang wrote:
> From: Xiang Chen <chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
>
> Use function workqueue_init() instead of init_workqueues() which
> is not used in kernel.
>
> Signed-off-by: Xiang Chen <chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
I don't have any other cgroup changes queued for this cycle and it's a bit
awkward to start one for this one. Do you mind re-sending your patch to
trivial-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org? Please feel free to add my Acked-by.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-21 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 8:54 [PATCH] cgroup: Fix a comment in function cgroup_wq_init() chenxiang
[not found] ` <1600419292-191248-1-git-send-email-chenxiang66-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>
2020-09-21 14:45 ` Tejun Heo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.