Received: by 10.223.176.5 with SMTP id f5csp198991wra; Fri, 26 Jan 2018 21:11:37 -0800 (PST) X-Google-Smtp-Source: AH8x227wgDWQKml6H0+M5VGdUYkRNqYf7q5vfclHjwFKVliIj5wWLBBMKWBdu9yWxrR78m3OO50Y X-Received: by 2002:a17:902:52f:: with SMTP id 44-v6mr15727517plf.65.1517029897444; Fri, 26 Jan 2018 21:11:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517029897; cv=none; d=google.com; s=arc-20160816; b=QhHedPVsFFD1jfodTyaNJ6i7CSu/2KgwcwbIRJ5zyse6IySzLuUw7KM+1cia+ZaLoI 6NSQy6cG6mPb/rPEyE17ddWuEVHoBb9cLWNG+7gK5b8p3672GNWX8mC4oXLf+exSV7up IncGR/jHPbimxWhoWxOCQTPcUziWzv3K1Sa3WmCy9fQwT94gT8QqL/Jt+H6vyVSaHEq+ g2VjFN6yIwMWURsnZn4+rrb8RARkWAsOXeGGMB5MyJPQpC4hxXVNI9Xus3X+/WQL3V3t CmNwwWINRjsZkMra5u6HLMbzxsw0lm3axmuEzTtZT56lvVfa6xFGbXe5eFmt7UEedNAC 9uVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=hLCGeGdwQ+ZSINbDqaz3KJ6AH893dPsD5xcMs8zjkps=; b=AS/KMhF3l6Gm2tDktHfLjyougtysuW+kE7MqAoCSP2xljgA2C6VvCAGw024ase8cUK mqkyxZ4UbbDJ6sfQIToJPoUR6/ZV6QgTOHq5qTl488HRWyovCoobF6sl8m8IIeoT93bx B8bwkJ7xQtbvZr6/To51/7GD/twTKPU3pkHvj53057n7IGBknQzLVZkSJCYmnrI4NLDQ /SEh9Be3P201yCKSSt1qX1Vu6ZgSsGvKCdXxJqmzgo/LzaSmPsj+MVK1NYpndD3JmqTQ EJCBYEVRzYCeX3dpusFbiIVKyW8JAhh6W6gMraa4YgHH6hsEHiwGV4b9xFsKYNl9OWvs 6mAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si3993289pgq.9.2018.01.26.21.11.23; Fri, 26 Jan 2018 21:11:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751635AbeA0FKg (ORCPT + 99 others); Sat, 27 Jan 2018 00:10:36 -0500 Received: from out1.zte.com.cn ([202.103.147.172]:43442 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbeA0FKe (ORCPT ); Sat, 27 Jan 2018 00:10:34 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 907C1B38A3DAAE4DAA9C; Sat, 27 Jan 2018 13:10:31 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id w0R59tL7092777; Sat, 27 Jan 2018 13:09:55 +0800 (GMT-8) (envelope-from wen.yang99@zte.com.cn) Received: from localhost.localdomain ([10.75.9.60]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018012713100519-2795347 ; Sat, 27 Jan 2018 13:10:05 +0800 From: Wen Yang To: tj@kernel.org Cc: zhong.weidong@zte.com.cn, wen.yang99@zte.com.cn, Jiang Biao , Tan Hu , Lai Jiangshan , linux-kernel@vger.kernel.org Subject: [RFC PATCH V5 1/5] workqueue: rename system workqueues Date: Sat, 27 Jan 2018 13:15:23 +0800 Message-Id: <1517030127-21391-1-git-send-email-wen.yang99@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-01-27 13:10:05, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-01-27 13:09:35, Serialize complete at 2018-01-27 13:09:35 X-MAIL: mse01.zte.com.cn w0R59tL7092777 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename system_wq's wq->name from "events" to "system_percpu", and similarly for the similarly named workqueues. Signed-off-by: Wen Yang Signed-off-by: Jiang Biao Signed-off-by: Tan Hu Suggested-by: Tejun Heo Cc: Tejun Heo Cc: Lai Jiangshan Cc: linux-kernel@vger.kernel.org --- kernel/workqueue.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index f699122..67b68bb 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -5601,16 +5601,18 @@ int __init workqueue_init_early(void) ordered_wq_attrs[i] = attrs; } - system_wq = alloc_workqueue("events", 0, 0); - system_highpri_wq = alloc_workqueue("events_highpri", WQ_HIGHPRI, 0); - system_long_wq = alloc_workqueue("events_long", 0, 0); - system_unbound_wq = alloc_workqueue("events_unbound", WQ_UNBOUND, + system_wq = alloc_workqueue("system_percpu", 0, 0); + system_highpri_wq = alloc_workqueue("system_percpu_highpri", + WQ_HIGHPRI, 0); + system_long_wq = alloc_workqueue("system_percpu_long", 0, 0); + system_unbound_wq = alloc_workqueue("system_unbound", WQ_UNBOUND, WQ_UNBOUND_MAX_ACTIVE); - system_freezable_wq = alloc_workqueue("events_freezable", + system_freezable_wq = alloc_workqueue("system_percpu_freezable", WQ_FREEZABLE, 0); - system_power_efficient_wq = alloc_workqueue("events_power_efficient", + system_power_efficient_wq = alloc_workqueue("system_percpu_power_efficient", WQ_POWER_EFFICIENT, 0); - system_freezable_power_efficient_wq = alloc_workqueue("events_freezable_power_efficient", + system_freezable_power_efficient_wq = alloc_workqueue( + "system_percpu_freezable_power_efficient", WQ_FREEZABLE | WQ_POWER_EFFICIENT, 0); BUG_ON(!system_wq || !system_highpri_wq || !system_long_wq || -- 1.8.3.1