From patchwork Wed Dec 11 10:46:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hillf Danton X-Patchwork-Id: 11284721 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A2D806C1 for ; Wed, 11 Dec 2019 10:46:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 84B5D21D7D for ; Wed, 11 Dec 2019 10:46:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84B5D21D7D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BD0186B3183; Wed, 11 Dec 2019 05:46:17 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id B5A8A6B3184; Wed, 11 Dec 2019 05:46:17 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A493B6B3185; Wed, 11 Dec 2019 05:46:17 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0166.hostedemail.com [216.40.44.166]) by kanga.kvack.org (Postfix) with ESMTP id 8B34D6B3183 for ; Wed, 11 Dec 2019 05:46:17 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 48E352460 for ; Wed, 11 Dec 2019 10:46:17 +0000 (UTC) X-FDA: 76252531194.30.bat41_1998458b6aa0d X-Spam-Summary: 2,0,0,24f7f76a4f822981,d41d8cd98f00b204,hdanton@sina.com,:linux-kernel@vger.kernel.org::hdanton@sina.com,RULES_HIT:41:355:379:988:989:1260:1311:1314:1345:1437:1515:1534:1537:1566:1711:1714:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3866:3871:5007:6119:6120:6261:7903:9707:10004:11026:11334:11537:11658:11914:12297:13069:13311:13357:13894:14384:21080:21451:21627:21740:21987:30054,0,RBL:202.108.3.23:@sina.com:.lbl8.mailshell.net-62.18.2.100 64.100.201.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: bat41_1998458b6aa0d X-Filterd-Recvd-Size: 1163 Received: from r3-23.sinamail.sina.com.cn (r3-23.sinamail.sina.com.cn [202.108.3.23]) by imf03.hostedemail.com (Postfix) with SMTP for ; Wed, 11 Dec 2019 10:46:15 +0000 (UTC) Received: from unknown (HELO localhost.localdomain)([221.219.0.244]) by sina.com with ESMTP id 5DF0C8F3000161B4; Wed, 11 Dec 2019 18:46:13 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com X-SMAIL-MID: 4060354922317 From: Hillf Danton To: linux-kernel Cc: linux-mm , Hillf Danton Subject: [RFC 0/4] workqueue: fix selecting cpu for queuing work and cleanup Date: Wed, 11 Dec 2019 18:46:01 +0800 Message-Id: <20191211104601.16468-1-hdanton@sina.com> MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.209265, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Selecting cpu is fixed for queuing work, which is followed by a couple of minor cleanups. [RFC 1/4] workqueue: fix selecting cpu for queuing work [RFC 2/4] workqueue: use smp_processor_id() on queuing work [RFC 3/4] workqueue: release dead pool workqueue on queuing work [RFC 4/4] workqueue: use int for cpu on queuing work