From patchwork Mon Aug 23 10:07:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12452277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 927E6C4338F for ; Mon, 23 Aug 2021 10:08:05 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 15D9961373 for ; Mon, 23 Aug 2021 10:08:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 15D9961373 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 80E416B006C; Mon, 23 Aug 2021 06:08:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7BE3C6B0072; Mon, 23 Aug 2021 06:08:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 685FC8D0001; Mon, 23 Aug 2021 06:08:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0183.hostedemail.com [216.40.44.183]) by kanga.kvack.org (Postfix) with ESMTP id 4CC1B6B006C for ; Mon, 23 Aug 2021 06:08:04 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id DD31418140B75 for ; Mon, 23 Aug 2021 10:08:03 +0000 (UTC) X-FDA: 78505919646.15.62191F9 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf11.hostedemail.com (Postfix) with ESMTP id 6EB6BF0000B0 for ; Mon, 23 Aug 2021 10:08:03 +0000 (UTC) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17NA7IGk138958; Mon, 23 Aug 2021 06:08:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=oYNLIMSMvB4YhOHwoYQFm8gWeGoHsURJM89MC2S96OA=; b=hDhaJHljdYpvROCLIBheE03GGto3EQxx0XDNs9sG42GJaolEd3vNrUKD488Iyi/8HEBk 8OYl/aSqJayCsAUYxyB7UYzleIrmJ6cd1iZ3idLoyYDd3ILN1BWuVLip87Ul43z/w/FY 69OX80oxHOmYLNPo3NoyPHAwYD1wxSD/EFncji4TNlQuoKVeJgJEpaxkMmoSLEIhIFG/ EESmCtNQr35oBqY/wmrEr8If0uJexqXX2awXt7tI+d6q86EG/3X/e6S5YhTBjOkAOmR3 XUHoGexRIiNpE+Vy6Sg3m1YVXKLSUidbttt9/JhZ5Ed3frWl8fvTEcbvbYzqqW1bVXYV Aw== Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com with ESMTP id 3akf28jsvj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 23 Aug 2021 06:08:01 -0400 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 17NA1O1F009081; Mon, 23 Aug 2021 10:07:59 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma01fra.de.ibm.com with ESMTP id 3ajs48an0n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 23 Aug 2021 10:07:59 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 17NA4G7q55247192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Aug 2021 10:04:17 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1AFA4A406D; Mon, 23 Aug 2021 10:07:54 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4A5CCA4062; Mon, 23 Aug 2021 10:07:53 +0000 (GMT) Received: from localhost (unknown [9.102.2.197]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 23 Aug 2021 10:07:52 +0000 (GMT) From: Ritesh Harjani To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Dennis Zhou , Tejun Heo , Christoph Lameter , Ritesh Harjani Subject: [PATCH 1/2] kernel/workqueue: Make schedule_on_each_cpu as EXPORT_SYMBOL Date: Mon, 23 Aug 2021 15:37:45 +0530 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: sBM5twi1U8ZmQn0mHBdanqxhEgB7Tnuu X-Proofpoint-ORIG-GUID: sBM5twi1U8ZmQn0mHBdanqxhEgB7Tnuu X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-23_02:2021-08-23,2021-08-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=776 clxscore=1011 lowpriorityscore=0 priorityscore=1501 phishscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 impostorscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108230067 Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=hDhaJHlj; spf=pass (imf11.hostedemail.com: domain of riteshh@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=riteshh@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 6EB6BF0000B0 X-Stat-Signature: 5xypg4bgfm3uhgyjr5pyco7ka9u7zqst X-HE-Tag: 1629713283-562537 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000059, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Make schedule_on_each_cpu as EXPORT_SYMBOL. Signed-off-by: Ritesh Harjani --- kernel/workqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index f148eacda55a..6f15e4afbf38 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -3309,6 +3309,7 @@ int schedule_on_each_cpu(work_func_t func) free_percpu(works); return 0; } +EXPORT_SYMBOL(schedule_on_each_cpu); /** * execute_in_process_context - reliably execute the routine with user context