From patchwork Tue Nov 7 21:57:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13449392 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CAA1C4167D for ; Tue, 7 Nov 2023 21:59:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F0E7D8D0076; Tue, 7 Nov 2023 16:59:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E94698D0066; Tue, 7 Nov 2023 16:59:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C74AB8D0076; Tue, 7 Nov 2023 16:59:34 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id B36198D0066 for ; Tue, 7 Nov 2023 16:59:34 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 672B8C0B88 for ; Tue, 7 Nov 2023 21:59:34 +0000 (UTC) X-FDA: 81432525468.03.B78C4FB Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf05.hostedemail.com (Postfix) with ESMTP id 0EADC10000C for ; Tue, 7 Nov 2023 21:59:30 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=31So5Q92; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=nAmSiZrZ; spf=pass (imf05.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394371; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ySNbSBBvAofKup/xKBYGGERhbB0ByCKuL3ZbZm62VAQ=; b=5dYcAbvpT3SNTiJTYv4X6fD2xrwqMcPFi2UCuek9bL2iZvb8LLhV65I9aIOJ41B7gumkIm dY1hh3gAcLAEbZ+yvd77FpQYDb/valyIshJvn1dtpv92oj9hI0ojMAztdD2kHVggkGk9ap 7+nxM7O7gAvtYJvxOr/VOHtyK20+D0c= ARC-Authentication-Results: i=2; imf05.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=31So5Q92; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=nAmSiZrZ; spf=pass (imf05.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394371; a=rsa-sha256; cv=pass; b=us3zV9AkzOyoaD9WmKScE5Z8hbLlRuuBLguONiy8KJfiy3JqO/Cj5/eRK8gyXepeX851Eu +YhsfeYcQQjjNxi5A2cZhba984mpPhouCTr8IxsckmuhKPXouGGvUBp9mM93+0pZ0onLGv BiZ2jpbcOQVJyYNwiLjW81mE4kmQpuc= Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJcBF005442; Tue, 7 Nov 2023 21:59:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=ySNbSBBvAofKup/xKBYGGERhbB0ByCKuL3ZbZm62VAQ=; b=31So5Q92n9gRzdomvYIdViYdinz+j+kh45cpa2V0NH0cszc1IMM1vs4DY4663J4/AZpW bmZmh1DU/HtB82DRkxbKgJ7+X6frCoM5r1YVhfGJjHL97kRe1R67T6X9J73S/C0hWbjt NSPlS/qWRhNgSKp6e6WKJQ3nnu+Jr9zC0gEmIsKjdHwiOcRsuHnLYM7rDCXC2KU6ur01 OB2NRK1xke0OpodpM74ddVRc1kOLkTzZ8s980pbOdDHPQ7tFY3DilOKxi33wXEXJsSUA VSgtjKHAKky/Z8Htsy/RfE35O5Qc+C+m6J20jVRwnI2RpAPRZtuiXbIM93RHmKhpW6gV nA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w23g2cd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:59:10 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LIbqW010946; Tue, 7 Nov 2023 21:59:09 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2040.outbound.protection.outlook.com [104.47.51.40]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w1tsj2j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:59:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ECmdtWgsHsYnzHbitMBgqy32vGWAeePT4/MCxB1Dhd6jF3xOX9fSRpZj9DwNCymKma+voVs50A0JDTSq15a4uHYf+WXDfIFwOF6J2bYfbbM+KhwXw2P8XbhttTjgkrnbs7RIQEe8QCpa0zvDg+Lb1pFr/1Dt7An5Y4x1/RLMBIRr6vFhchhB/XSTubTdicFrzhptx8rcj0rgfmcwlBXWjypfXTgBPYW1mOQSwnnTXnc8JM2aU5RTe0Ym2XcXDRKHhK4SzVWycx8kVJRWEMvHP2I03WukGOC2hP8whWTtSNbPzrAOHhF3l2JG22mPU5pTvPZd3OTfozMzuGDD5hXuCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ySNbSBBvAofKup/xKBYGGERhbB0ByCKuL3ZbZm62VAQ=; b=Ru2XnAwbyrBMRz2wFAySXlgFqniMtct9+ewU1xmFoWQdtwq3iSptAJr7hyfgM6ZJZX398XRg25bnM/w/+LcjYuYR7quv9O1zHPknjvY7ExG4fG/njwFs0xeggACh6oKKwFcj3/L1jaIbB+omvkCb7fbMmz1unbLNV6PncfF+IzIwx3IztLapChNPZWZPhDZR9v4/K5Shw1CAjGphi6k7AojmIMoh4tYjRmqR2hjli5Ed54bXF/zjdVCSRUioYsrgasue3qaw3uO2lr/BW2tk4sXVoxrB/JcapCWtGQK+aPN+emlbIpMHw3ExDlWDCJYmydO304F+mfFXfXTJHYR1MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ySNbSBBvAofKup/xKBYGGERhbB0ByCKuL3ZbZm62VAQ=; b=nAmSiZrZS8ZDXAyAPR78t7qx27tkK+jbKocSaEsjksJi07P55UCgRwe03bX+NR+bYLBZ4QoyygJlF74IfBP9TZpiqxshOMk0/vG5iOjE9jYy/D+52H3HWzKlN4dcrzcHBIFDIkEFKQT24z/dk6N7hIy+Wye3FtR6Ul9pHEZFxbM= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by PH7PR10MB6275.namprd10.prod.outlook.com (2603:10b6:510:211::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27; Tue, 7 Nov 2023 21:59:06 +0000 Received: from CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::1ce3:4a8c:4c99:acea]) by CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::1ce3:4a8c:4c99:acea%7]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 21:59:06 +0000 From: Ankur Arora To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, peterz@infradead.org, torvalds@linux-foundation.org, paulmck@kernel.org, linux-mm@kvack.org, x86@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, jgross@suse.com, andrew.cooper3@citrix.com, mingo@kernel.org, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, rostedt@goodmis.org, David.Laight@ACULAB.COM, richard@nod.at, mjguzik@gmail.com, Ankur Arora Subject: [RFC PATCH 27/86] Revert "preempt/dynamic: Provide irqentry_exit_cond_resched() static call" Date: Tue, 7 Nov 2023 13:57:13 -0800 Message-Id: <20231107215742.363031-28-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20231107215742.363031-1-ankur.a.arora@oracle.com> References: <20231107215742.363031-1-ankur.a.arora@oracle.com> X-ClientProxiedBy: MW4PR03CA0217.namprd03.prod.outlook.com (2603:10b6:303:b9::12) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|PH7PR10MB6275:EE_ X-MS-Office365-Filtering-Correlation-Id: 68f21137-b106-4433-8aac-08dbdfdcc2df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UsL8an5f/ZFmWfaMfAClggOHrryMi8xy7YKetYKcKVpyYCvqy7sUMzrowbL07WOmStLenX1TZhtgPexoo/pIaO/2zyra6p4Adrsum9SEU3zk1piPiImTvvH/Q1j8aNgpQx71LClT05L6z4xlh9s2EGkP8IOJpsDIOtoTEFXrSfjxpGathRRNPPbRex5WkGmhC8wounkfKyOiWb/zB3LHFdfbhVzbPn2xkTcQAR4WYFaO5ElYYMsoC4xFxS6btMMQd6CRc/UpjhL3+TpjFejaIljfzmP6GGWnu6Yo7Q+o4zywPY4cwYu78ooLNKN5QKVRniI+h35m5seR2m3i8VIOJYoJqoI9lbYNPifdbl0QY7RTw4yizAs+VErhcbavEmkZyktn2DBDvfuMU1hwPdWuZipp+KVhGVDyN87p995RoSuN9Lil/QvakjP0KaqwoBiKUyALsDmJYPhCOalJiQ/sHEzSaZ2xwH/U3yCBVJPS7fxbC2D4xYfRkMkwUicvGyZek5QXGAAEaBc+bmcmoBLAlvJsnQU5EWuslfH/pCOzoe6ySczd0QPfx46fQibXfNtJ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR10MB5409.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(396003)(39860400002)(346002)(136003)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(66476007)(6666004)(38100700002)(6916009)(6506007)(316002)(66556008)(36756003)(5660300002)(7416002)(7406005)(41300700001)(66946007)(6512007)(103116003)(1076003)(8936002)(8676002)(4326008)(26005)(6486002)(107886003)(2616005)(2906002)(83380400001)(86362001)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PeyfzO+eL+oCGH5gGH1s6LxS9uvMz/QjAOz7OxpnZnWiySPcanK8wx/goyaybKQoF7QNLVZAGBNWdO/Cszw71u+TameLuB4OlxqCnWdBcHFPFtRhvQ5US+jEKhbvv0h3xdl1RAQMlQc1P0N6jkdXP171AXZa6Bs36OK0c1v+wnLJOH0b8xtQbTs/4FhydFoPRN9f2xBks/glI6IkXzIPFQN2p0YdZ3YgR5Lqk1o/mQdxDFjBF5O3PWacQqu5maVRPW7tmPRBjIljc7HC1ML7DycftEYdgfjvVlcHw9PaULnBoh726bBePDoTL9VYgJvK9IbuQzLvfQQ9h2Yl8kcwoXpZi/g5W473mnrtIEccAlDF9q4LDxlrHNAmEWxkd3J7Cp8BzjoGn4dN1cZeH34U7CGkDYf4ScZP4DvnBNCbY0xdwUKoQucDwPh1SoiGXAtnk1F8c2xY+BNIWOrMrpbXBITZ1kx+O2Hp32CGLrW6uaQ/O7UmRS3CkEvbrzq4L4AJQP7+vCyrNmdkKfeauZMPCLrl+E6kIlP4VwdAbkaKyyIERbDSiWqVDvpGTAc6Pai3gddBe/l+IGHo2mVi91ma2gCQ3mIdFHFSkUyt5oP7+XHCemb+zV04ek1mOR4Gq6d46suRAM0F6eMZgQuu/titY18yrcthyILFkhhW1PesNvcTaRBCwJO/qDhjW4F64l2rMefP856mD1U3bdQ5lyG76ovtPLonNpc/sT+K11ZToUgtp3OFQafrib3lQ3oFAIQXmcScEHukHZBsFcH2KUaExgIhgUSpg6vCuKmpWOmnd07sq2F4MwsD7DmYuKFdUUHlEMGerovRAZbNLtrpl9T5StTP6vOURYhx6/TMJsK87cP2QC6qrnCDJgBQMBXxkT4SEcuFtIxUz59MtnPzvZQsHrd6GJmcNr2OWBDaKJbPeRpgHmL/w2naDLpyFLNsS5ign3q/ALb4zMiRgDgfLFFb2M+Px7RSY4FalzX3CSvweFyuMLWn7lc1uNr759j1dv8OPzg5Zb+P9jqORRlKcqOmfQmsIt044Eyps/heTLWvVuLux/x7advOtUne98VMQkud9j88HMRwbrVO0m7TRa5619AHCjDgrGbUn1ULJDxrmIuvUAd/FxfJL2BhwsXzor4Dp8AE3O/viQCYoGEA1bJGWcrlk70kSdUNwUqLbmq6Yjm7Uj/KeNenAkMIGTfgw1LzKoccVO3MlppvVDaYfZ+8WHpf7rHcfcy1U03nqE45oUNXe256pr+hue+OihPrgGfBOsOfJWcZkY8B6V+qtd8N/no7pGebODYYlUF2Dhs1glhSQZKG8Xu58fHER85WTkggW0tHyVXgJmO2+VjmP3b09bK11RUwLnNSO0Et+7c1p0ghwprOMGKhyngRb7r8ppAa5OE0KhNHYN8+oZglT5c/91Z/6KWHdJxVYID3UkXjxicbzoNxV90oTVm2UpBp4ccrPFfAfkAgdSMGsFAR/MsmF4Ya9KISxhB+7GxO3N/erGPPG2eXOsou1Sdppf1PnAKf/khv6LsmDvZBDXjQE2vHPcCJptHTJRkLYdkhleBEvp2Ej4W2Bls7g7v5VXOVjnGFngFCtQuBf0OO6bVm88vKMw== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: wZLV3LzB0MPyGC44HdZ8/nRy4w8x9ejPI/WE7LuWuAl+xyEa3yxFe8zQQTs0Bm9aATeUX0ZcwhRh+EKUn1kFfemEkH0e3GctgnvjxRNXVgWUsBny2AUpeQvbgoMTSQiX+eo07Uec3x1GwRGhISi1Z/dziNgKh0ZbCM6O4NQOHiV2XxSSa+AAGhBV0u8fa3RG1Cibe/9i0QYZyTJnrdsWy814cjQua/rRsewquqjxRY2wsSevvDpEWLHEtvO+wpcJJkb9bd2u6XCahSgVfNKbf8O+/kdMavo8SSE12J+ye2C3pwLiSGCuuaYtMEMXG0t2ukfhu3zNQ2+YU99C0loOPriRSEaB+CmNPDvtchfZqjAUSI4qWeG1qMws+Dw5Hw5f9b/7Vq6TCPwDih/YC89y0cBEhzbnWzWPngpU+x6k1XoTesVBUtSlxBYA1O9ukcdwfwfdVr8QRvf/ZBzBn9L9vfNozSRcRV9yGJYji+OeUjGjB+ftt9gV8AT7hofDtioS7N6vWgxlw+iSTeLds4eiX/O/Vixe22QHjAe0Xzt5JBAPMo0KP3StOlFrvp9KGkIcNZHuWJ2igBb9CLyj5cnSlYnMtyTT2IVbPV+ns6Vi2pPtKAdynfeGQkigRa2BBckpa9xyGPD42LyDGgc/kqByyWMCNxBKd5lmjT0MSHxLR4jk5IJZMh88WESU1fVterLB1cRgzHlTZ9PV4sjRno4NHs2w2ltHfWYUJaREV9MRt9uvSZkFUQRyfZ/T/VYeLWs9J1yfV8zXGeRZ25gl67s38BtsFk/7oVnWFbfG9syrNM3Q/L69bJzCQ/fwvhpF5/oYTvlu8sFpqYXskYeAp6ZuhRxWXryf2FR2rBRD2dIAM+q+TcGcHkJ4+kp+/3c60BBrCM9uOEcwBT2K7qKQu2xzwWkOGbTqnrb+fYvNpnU13kK7/4/YGlLjbwLQyhyJw6O9fET7U7LGHYvd6Akab781Z+uD+87DF5esKy2Hn156z1RBSFVn114T9tcRubUpcLBS5hwT+Ka1l4/d01ALI8F2DKx3i9IwIkVWerN9AEkldXwAmIr28VYoDYC6MhQDlZxtX/kIuzZPhpMLd/O2Dg7pVibDaYZh4mvihsUov7u2eOeP9oJ+05wsSQ2dxE8ri3wBr/GKnUqLZDxy4jPpB8BexN0uYvHZBf7VcXPsUGysC65WkrvsncPH06U6gVF6e2H0ARyCeWB7KYkB+M09YjqnSoqGgfhKA939S0O09LLfw/OBHHuQiTjPmfDDeV9qmLPJL6nzeW+HyyBbqu/l17cYuww+xudVJzT0hdWLk72tW1VLMXXEq6nkdr7aa2dnGZzAG/uZlCWNiHLXRvxa60hVYDgG76M6bZyyAj0+6oPuzk2loSCcOoVQQxZ9o6PXFMNWQHoIDd9uTl2E2OhVXZBXDZiIks6n95rIKrEMfuVpb1BO41gZEYJTMuL30o1gi9WaJbSD2K/F7J9CYlAGGEnfuHiwfSGqyCxf1modrTJjJ5F49Y09eEcAOU6+7Jm7mBckfAjaYibIuyrOU1Irz/PqSQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 68f21137-b106-4433-8aac-08dbdfdcc2df X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5409.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 21:59:05.9922 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tdkGNHTwMOaY8O2VMiUdhi/UIyGhMz50dLkh9X4gaTG6Nf2uwqLktE5sIXRhPeZiVgJYN5OgNS3uOBQNgSKyZaRgMKhkArstJa0JPIai+8Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6275 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-07_13,2023-11-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxlogscore=754 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-GUID: TUW555Zy_SLIROHlA4PdPTstBnSoKQAr X-Proofpoint-ORIG-GUID: TUW555Zy_SLIROHlA4PdPTstBnSoKQAr X-Rspamd-Queue-Id: 0EADC10000C X-Rspam-User: X-Stat-Signature: tm69zy4hqpif8axe4dbmiu3ie1y37aa7 X-Rspamd-Server: rspam01 X-HE-Tag: 1699394370-691892 X-HE-Meta: U2FsdGVkX1/qUz9pTN7OOc1KJfdcLrfIkEhO9ObLM06ahPBEpCowDVhzOFxyhFcrXKGAJfzFM0eq8znihSPm/2lTSfEVzerN1Qj102juzimaH4TF7Sk/hb+VrsiRHunLlEYZ5iFBehbOWsbZHcA+YWtgVcfsT+YQb/eiYHXsbLU4cUzm0u4QiPdug02yQ1wqu9UhFfUFBZOxvwZpJFmgXF0nu+kqFac6fz+aLwPuT1yULLVAwYB5QCxTJ6zDZxKsmpU0MuKWgOfRS/d29f1bWbTOSqcZpMkr099JnxFpOJ8rJ8qHKTVUKR+1N8/JDs4T134YFpRwOLkWtNt++Rt3m44f5z3IpYCroUs3c3O6dJ6w0Rx6MHw93wHxaaxXWZjZf30MrIoQpHoEexpgD1fCeIL/5aMAPdeArjkMC3iRjQ2kh6z/hsKl50P1CuBZB4u7EW9Eqpk7KfSxyX2YBgEYVPYbfGJOf3jrG2UWEUnvxdx/opueVA+OE6NMCPM8s8kHcWWl6FS6MvtcMCIUyYYmFJDrxY1MgVj0Q293aArHWkrCrhWCH3nLHROw5ZI5nA9b2eJ5bMEFYuxQesaXwkKXUhjzJS5GmgKBQv1NBU55eEzhW+WB1SBvRnP3oZPtgej8VaY7QNGWMrmGRn+S0mOEwJpE2IHeKwNHaU+kPDG5kTTwuO8upiuuvhUx54selgo8GaSZcdAdBITNYLMbadaMMV3fTYeTeREZfsPhHVmwp0gq0MVji/V1akK4uSOcRjFWJBcddnHfZorE4cXB4bPRCeCTY8wRksxGY+jPH0MJMq5uwQcBwf0sfOhgB6z3h/NHQ8LAabJmiT8UFpvqecmzgeO7XzK9axIlN1tA8wM7dPMpfyJ03IsBbDw5m19d0S3fVlGYoAp9DSAyHC0xkkHsDJtEN4n6ljA6p1+JBx8v9yWkLGBLKLn1WvRCVlKw7pvgfIQGv+ok/UT5VGqY4gN nhyT66FG 8YqTPb79/0uawSLDjEBaj5cQT/ow2MrWKOOeTocGlerrBYjnl/s+9SAL6saUFgN2uwDf6Kxa9pxYLpiXRJNG5beOjEMo9tz0ZRarBB+xgVxHrqlXlt8LIqnXYl6y/mNvV30zqnewoJo33QLJjXBqKMPECepgw/UGiSGYsL138pQEkm/LjqTYFkPgt8c4OR5N/QT1/EK3YYJuuF/a9ROOSEKOBQe3Yo8lliVU5Z61YJ5pq6KDFNg1rOaNpVsfSDYBggJa8Suso/Kk2BdKzkyPf0NCEGI9JKnvfObJtTkGM7TYbDLPJQuVcC11SgDlg/XthiJ4gEJlv3qenxHeeICzk2x936kFKdWkYg9YjRMwld7HBcZDrk6TZqRfSKOZdpbCGgKZE4C54FxOtiQ17cNQYuR010W/YRPpCs1sbzTNzEKIuTlTCBY3J7WU1B+xcESOxMPBtkb/cbNIaPDu6TVZr2w2CmA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This reverts commit 40607ee97e4eec5655cc0f76a720bdc4c63a6434. Signed-off-by: Ankur Arora --- include/linux/entry-common.h | 4 ---- kernel/entry/common.c | 10 +--------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h index 49e9fe9489b6..fb2e349a17d2 100644 --- a/include/linux/entry-common.h +++ b/include/linux/entry-common.h @@ -2,7 +2,6 @@ #ifndef __LINUX_ENTRYCOMMON_H #define __LINUX_ENTRYCOMMON_H -#include #include #include #include @@ -415,9 +414,6 @@ irqentry_state_t noinstr irqentry_enter(struct pt_regs *regs); * Conditional reschedule with additional sanity checks. */ void irqentry_exit_cond_resched(void); -#ifdef CONFIG_PREEMPT_DYNAMIC -DECLARE_STATIC_CALL(irqentry_exit_cond_resched, irqentry_exit_cond_resched); -#endif /** * irqentry_exit - Handle return from exception that used irqentry_enter() diff --git a/kernel/entry/common.c b/kernel/entry/common.c index d866c49dc015..194c349b8be7 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -388,9 +388,6 @@ void irqentry_exit_cond_resched(void) preempt_schedule_irq(); } } -#ifdef CONFIG_PREEMPT_DYNAMIC -DEFINE_STATIC_CALL(irqentry_exit_cond_resched, irqentry_exit_cond_resched); -#endif noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state) { @@ -417,13 +414,8 @@ noinstr void irqentry_exit(struct pt_regs *regs, irqentry_state_t state) } instrumentation_begin(); - if (IS_ENABLED(CONFIG_PREEMPTION)) { -#ifdef CONFIG_PREEMT_DYNAMIC - static_call(irqentry_exit_cond_resched)(); -#else + if (IS_ENABLED(CONFIG_PREEMPTION)) irqentry_exit_cond_resched(); -#endif - } /* Covers both tracing and lockdep */ trace_hardirqs_on(); instrumentation_end();