From patchwork Wed Dec 11 11:33:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hillf Danton X-Patchwork-Id: 11284771 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 895F7112B for ; Wed, 11 Dec 2019 11:34:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6CC0820836 for ; Wed, 11 Dec 2019 11:34:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CC0820836 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 962D06B31B0; Wed, 11 Dec 2019 06:34:07 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 9129C6B31B1; Wed, 11 Dec 2019 06:34:07 -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 828D56B31B2; Wed, 11 Dec 2019 06:34:07 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0120.hostedemail.com [216.40.44.120]) by kanga.kvack.org (Postfix) with ESMTP id 6DE5D6B31B0 for ; Wed, 11 Dec 2019 06:34:07 -0500 (EST) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 15A1340D6 for ; Wed, 11 Dec 2019 11:34:07 +0000 (UTC) X-FDA: 76252651734.17.duck51_6a83b2b4e61f X-Spam-Summary: 2,0,0,34632d54acc241a7,d41d8cd98f00b204,hdanton@sina.com,:linux-kernel@vger.kernel.org::hdanton@sina.com,RULES_HIT:41:355:379:800:960:973:988:989:1260:1311:1314:1345:1359:1437:1515:1534:1538:1567:1711:1714:1730:1747:1777:1792:2198:2199:2393:2559:2562:3138:3139:3140:3141:3142:3867:3871:3872:5007:6120:6261:9707:10004:11334:11537:11658:11914:12296:12297:13069:13311:13357:13868:13894:14181:14384:14721:21080:21451:21627:21740:30054,0,RBL:202.108.3.165:@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:201,LUA_SUMMARY:none X-HE-Tag: duck51_6a83b2b4e61f X-Filterd-Recvd-Size: 1399 Received: from mail3-165.sinamail.sina.com.cn (mail3-165.sinamail.sina.com.cn [202.108.3.165]) by imf22.hostedemail.com (Postfix) with SMTP for ; Wed, 11 Dec 2019 11:34:05 +0000 (UTC) Received: from unknown (HELO localhost.localdomain)([221.219.0.244]) by sina.com with ESMTP id 5DF0D4290001DDA9; Wed, 11 Dec 2019 19:34:03 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com X-SMAIL-MID: 145384628816 From: Hillf Danton To: linux-kernel Cc: linux-mm , Hillf Danton Subject: [RFC 4/4] workqueue: use integer for cpu on queuing work Date: Wed, 11 Dec 2019 19:33:51 +0800 Message-Id: <20191211113351.24240-1-hdanton@sina.com> In-Reply-To: <20191211104601.16468-1-hdanton@sina.com> References: MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.080005, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: It's a minor cleanup, see d84ff0512f1b ("workqueue: consistently use int for @cpu variables") for reasons. Signed-off-by: Hillf Danton --- e/kernel/workqueue.c +++ f/kernel/workqueue.c @@ -1393,7 +1393,7 @@ static void __queue_work(int cpu, struct struct worker_pool *last_pool; struct list_head *worklist; unsigned int work_flags; - unsigned int req_cpu = cpu; + int req_cpu = cpu; /* * While a work item is PENDING && off queue, a task trying to