Message ID | 20231107215742.363031-7-ankur.a.arora@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 DDF67C4332F for <linux-mm@archiver.kernel.org>; Tue, 7 Nov 2023 21:58:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4348B8D0060; Tue, 7 Nov 2023 16:58:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3BD688D005E; Tue, 7 Nov 2023 16:58:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1743E8D0060; Tue, 7 Nov 2023 16:58:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E2F218D005E for <linux-mm@kvack.org>; Tue, 7 Nov 2023 16:58:47 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BDD351402AE for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:58:47 +0000 (UTC) X-FDA: 81432523494.29.2FC0B7E Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf02.hostedemail.com (Postfix) with ESMTP id 6DAB38001C for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:58:44 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=YASX9zbC; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=YtAvOn8P; spf=pass (imf02.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394324; 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=kIqs5GaTUnYsYWtEFgh6wQaJ/Uli7RMd0ESfN8XJJMw=; b=RdGVb4Yd1sgPXsLnCCAgH9ve7G/IzFVFcnI/l/Ran+0jgf48GC+LMunLuLDwBQzyldEji0 4sPadc3EdCHEZR2cjvwSPhmCWLeMUW0pY4b+XlQc8cIrT3+dvF3Ghtgh2uKpzeIyVDRzBT 17dPgk6ZQ5aVZeN6u54hijoEatX4+6g= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394324; a=rsa-sha256; cv=pass; b=r+Lm/FqhfH9pXv4jgvj7uHheeV5euxNrCMkedViE5/hYwA03apW3UQyWAkCYfP3XZVReuX a/1sMUW16kLKoBxUL9lBiH/cVX5lZwNdg/KKH04xvLgEylgZpzWkzn5w1s6C+KHIt1qYb/ pgew6KCS4w+Ahs9NiBpPT2yAk9dYLRg= ARC-Authentication-Results: i=2; imf02.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=YASX9zbC; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=YtAvOn8P; spf=pass (imf02.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJaYK014901; Tue, 7 Nov 2023 21:58:20 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=kIqs5GaTUnYsYWtEFgh6wQaJ/Uli7RMd0ESfN8XJJMw=; b=YASX9zbCAZg+a+s/S4jQBiqkcLPnTyW/VVFAEP8/jq0lx3tcWLmf3ahViK4r8tt/LW7N 1XBB6V2F20nF4MuWEYJ8p1zU+tvP/XwxN36CFcMZ8cZaoBm2dOkqa6v3Uk/pZSfEuWQk +eg5KDq+G4pzDPYdHxdXJ1DSc9yiwJvXBVd4eYSk70o5KUbgjYIvsXWd1v06PjSOrngw VMz23U9T45QVhV3gctofYNMCWSXTPFkh1gVrYl5nXjX2ApfobcueBLWvxpPuHyGgCia1 CqfATyj0ZeNQue2HIn6buLHmljZhFCgJJcr2c3smmIVOqSgn/BfMyBIouDBD1rBXrLeu RA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w26r2bp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:19 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LIrHd003903; Tue, 7 Nov 2023 21:58:19 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w1vshdn-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gj5jGp2lRiK42xk6vwnwx+Kw1PcXvMX+fMbT/cHoLFUDQdUBceuc/L8LHSVsQD8EhTIscXoPlVvTpKRV+VwDmOFlt8uRaYRMNDzwInXCnO84c6dK3ty4cSD3l2esjfnoJQdaySfdFIylQOd+ng2RfEe10n5uRqqlSuj6RKKxrgmIDTb+KsCLtmn6i6YTUD6i9EJqoZmlEKnac0qsMCNYLXKXjywko/E/T4+YZsFwL/N+yZClmoz5CYiMOIpiam1gsEwMG5BC1jBXiykFK+dikYDl8Mqcn+lYR5BK51W2+ShJSfmNGmFdCT7G6BukA5nTLau6OmA3skDpQgiTDQ23gg== 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=kIqs5GaTUnYsYWtEFgh6wQaJ/Uli7RMd0ESfN8XJJMw=; b=bsHXU5UKSHU+gf1XLBrsb7nSHhuvPOTOkGmxx2C5svLmAjIfdAIwB5Q+ZntZKZ/tpIAY/csOURiX2dTf5sdcID/dSStkZmHlaWojz3DO8FDNPtuMok2DJ5Miok8t72OPSixKdnQZAxnFXT/GffXeZoelWCjaI8bHOQ0pjve37Rare3cogHT6SMSyNEwknfZxJILALf6mGM79luTO25Giao49s6jHmsSTYyH2yLo414qz9coX7shmwA90rI7GS/nFkTQyFcxxNGb5s84BITPpePfplzM2BMgcVfcIegZAVZO5DGAbO+lwK9UEQkAbZAJYiGBmnnWSVeqReZvd1qzhag== 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=kIqs5GaTUnYsYWtEFgh6wQaJ/Uli7RMd0ESfN8XJJMw=; b=YtAvOn8Ph/kxLo/VkO+heDFR9yeHgiEi0f79yaiMhuWBx7+P2kW3Yi/PUqURKBAceIs6U1Ul8yOu4PtAZ4EHnOqQixcFO0UUJEUF7+B/Y+8XFbPgPX2YbMsbHFzorLKhFkauvwsa4HITMM8bwCAbFnpfRbWrRcnLBHmOxXQkB04= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by CYYPR10MB7651.namprd10.prod.outlook.com (2603:10b6:930:bc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.29; Tue, 7 Nov 2023 21:58:02 +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:58:02 +0000 From: Ankur Arora <ankur.a.arora@oracle.com> 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 <ankur.a.arora@oracle.com> Subject: [RFC PATCH 06/86] Revert "entry: Fix compile error in dynamic_irqentry_exit_cond_resched()" Date: Tue, 7 Nov 2023 13:56:52 -0800 Message-Id: <20231107215742.363031-7-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW2PR16CA0027.namprd16.prod.outlook.com (2603:10b6:907::40) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|CYYPR10MB7651:EE_ X-MS-Office365-Filtering-Correlation-Id: e018e3a8-87bb-4fcc-abca-08dbdfdc9ced X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o6jESFn4PV0nwmO/lnbiMeC6KXD7ElwN2RCbEGrhgoee5j04RqhlDPcL8aRu1JgfRQnS+9jtUWHGt8C+HRPvKK3rNJy4HucaesVSq9OVl9YR0Z9JIF2HVIG7AOWy+ia8HDBmOIGR+fhsZVLOeeicq1S7DBX8ChraKrG5H4XxBprak5+6QNqON6UohFlkQSbK4kJ9E9PfQvIBZ/cv99JttehoqdpJwXnYrXTMfDG4e2GfDHn4Ds2IDfaJuabgGx94LkrhKVzWvVy7Z6Nf1JKzunKFtU32fCE9s7MsgJ9Qnhrxs3HJC+tJKs+lPmj7OOPz7QAY6zrJQAq2Qc8y2bNknrwDMRGTS15qFWvZC2nP7pKoCyC3NcDrvR9rYvrtt8CQeI5i6JTqnDe/tqiMbN4+onYjIEjO8yfiIKd9z/vcj0n/oLY2zv2/zZeZNm/4VrJ/IuXG1GWSBkqsvhqhgN9HmcxSaXQ19Pnn9lfbrA4cMTOJ58nwu0z2D29N8xSXcYsRnuMI9EJVkGCCH5ETR0fJ15uXjNQvOg279di3MiN0MZohXbqKz4oYXa62Tui5QDGr 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)(346002)(376002)(366004)(39860400002)(136003)(396003)(230922051799003)(186009)(451199024)(1800799009)(64100799003)(6916009)(41300700001)(66556008)(66946007)(4744005)(83380400001)(7406005)(7416002)(66476007)(316002)(478600001)(8676002)(6486002)(2906002)(6666004)(5660300002)(4326008)(8936002)(6506007)(6512007)(26005)(1076003)(38100700002)(2616005)(107886003)(86362001)(103116003)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xM8ckh5A7eL9uHx+nwgQhHdFlepu6JUM7YQPMS7O4bIGes1jBNJ5rXvjcHpKPO4iyzlRuqjc5xuQ3e4fAQkEHN29SAcVhfGCM+N9h2UzJ7ZDG7EW21soIrJv2YsxULJC5l88y0zk8V4w2wh0/55ue7GDVPvhvnADqg1bm220uXWOT3ayvK+Wsm9YVLRwV6Uc4xh5l8C5yiHakhEpuWL42AvGe/1nmJvJYKEhvM3IPp+8r7mbl9Z95frDLF/eIpGr0JohCgzSDe4NeBipiFX2BJEqX70rkv6YcgaLeFNnXWlmSapnPR/pehxn8KjbVh/Z5Ha9Cm+PUSkVFC7+HykxZE4xWQ0bo//hWLdEGWi9CGiOpz+4iMJr4Cht3FTCBLH+7F1+9k8mtNRvYTLeH7dZNgKznDSYUvZKI99+Zp99eXoe7O8DP18NgoeoMJ134al3SnILPGrYGx6VKpudRFP4xEtypIRC/VRG/7c54KB2vrx4DF4/YLb3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hCIAAlFlSPwFOTVm+nW/YvUVR4dQR9YV2JS+uB/cXXOh3ZOn8dGoPsYPNzD2OLXoJQ0HsnERllY4mX+btbiDXGa59xJhWEiKU2I1FCj2B/zpOPw7+PyCPmi/a+SQGPftTAE+TvozeRW3Z2MNwAZG5KmsWq9bzpk5NosofiM8J9LofI+nFoDd+DLuv220LOame1T9HCGPjVZHdOsp9AH4nzt68V0tjHFjpg7VKZlD2VglFTe5YV5IdwgSi0EB3KcVu9CO2jmWN5GgUnCD4pkoP27TN6xKU6oony2T1KV5cUT4F05m7TuXV+Y4EmNQNM2fWoAvmMG1NK6uL9l7Cxh1eDRw8CGsZfSLx25UHgtjHPTv73R9fYEJDj8j4Y/XiIayeQC8VN+u5PHfBQVBOoO0yjJBUiwOm7zWXRT2q8f9GAuff+PFpB4JyIHKwAizUj7HOHpY4MJconkcD7SQr9ziiqowmiHzHZc3j0GvC64Fdd8j2sFgYrls0zYBNF7sCioXeUVLRgmKqPuDr6z2iWcnsj1jbbijDLbguSYqMfsJjNuc11KlvDaUu4ALYKZ0QIL4uyhdu0FePVEbVBYKUXw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e018e3a8-87bb-4fcc-abca-08dbdfdc9ced 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:58:02.3393 (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: An5XWQbZpAobiTKHEUJJQknla28jXwsFcAIT4IkUIsmlKzjfrAHiFi8I1WXyTw9gLGumQgC0wgFuubq+E9e8jltcnl16CC54wVDGNcgExGg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR10MB7651 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 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-GUID: dplFozPxw9dZZdWZ3y2QPZOas4k-fD7Q X-Proofpoint-ORIG-GUID: dplFozPxw9dZZdWZ3y2QPZOas4k-fD7Q X-Rspamd-Queue-Id: 6DAB38001C X-Rspam-User: X-Stat-Signature: uks5zd5i1qqdi8ezyy94njnza3q3je1t X-Rspamd-Server: rspam03 X-HE-Tag: 1699394324-639279 X-HE-Meta: U2FsdGVkX1/wUHhlTUUZfDyFz9rGIbY0Vj2qmALvRYfH3Dqq4/jm7hlKQ1O5EC8RAh5sKy08uLwXYVKfL/elwi+fYsLQSZmvcf9ByQxce6zcZx7q6QVyvWoraVgKhFxW0W0Mvo7uUBrdLEdimts8y+MfKlAiL0Q661vTRZKWew6RdIux0Fkc7XLWt2Bo9KkVoaweYl3YdAUA+8PtQc8uxwCDKQ31BPZqAZv0sSP8ebIbYzvP/WJZ+SkMTlEAMJJkmiVRkG4t/QCUSPwOr5c5pd0vLOUSFI+tdu+L9aaCnCcYuUdaU0PqlEVeuXVqgiJLXvKyjKwJParl3Gcp+Zwv/HDPlebDE3bz5f/rAh78k/rg2jGY92C2VbFzhSaHeVTTjILlWSU8Ynv4iGJZOtDh6wnY4X/gC9crEiQIPQ+3owFJ6UC7vK+PQyXOaPZaMjkZLMiVCPjDZzSUG5pHytY7lUgB9IKcytfEeSj1QmdIeObS85G3G3jENhD8xzacJWTp/OG5mphVWzxUbHKyNFVUuRdJCtaR0IhaDMpvX4GezDM1TcPuZ8L685vglgHOy7C1g3LNujexD5DwwcVDL0ZS5NSznRKMbaFPiTunJs1QTnpTGPohmr48Mu7PurJJnxiu/1rQEJgneBQ3d14XkcBaN287dkPeKV3dCtUlzW2qBDwbNu/WJvTKz3Eb5ECr0GzDV1vmAmcimgSCJqPBIBBCaztFVsHXo46GV2CEGEox7KCUdI292wnO99A4O+OOSiqeVUP4EqN0BA2ZOUeLtvwa62/Fo+CqvIN2pt4pOl42+eDx6UwsSL4Ge0EOlTzvelfPPexJXHm2qN4cm3ke7DVjz7w45PElZLaWTSaBsUrhJGrRk2eDL1Uib1dfd+j10G6rUF1KJyTI+h2bDB6KElNdSTas6Zh+Z4UK/6SIQ/VSCbGMuG/KHvvxnRml2TR+zHPS1XTFFKKLTVizCBLjCNx gMza2VYq laWfZv9ncazcfZMr5dWeteR2MN4+PbEZPu56wQdbBKYJzSylUKj8Tpcq/h+2lVH4AaX5qolaZl20I1krN/6FqKeYNbFrCiCQD9BItBxTu3KUk4tdyuV9rf8KirqryXdyMfolhHaFx5PqL7mP1tEF1f4F6YRSa0XmDUHrDhCMnpL0QOCCtdVxs16K0ZQ8pGw3UMQa7UXoZ044BUC79TB0lKwv4aiSV1GRiCLIMxYSejUTogDOxzzjY3SL3bqcpN6yRbgvWRQ2yiBR/PH44AzaH5boUqSB5fX3jJO92hzS/GFs/ynYhPk7COYquDraF5favO+cs4bcB8+4N1z/TL86us8FNds8yShjYq/eb0cTPuaG6PDl4sbzvW9WsBxFwJY/79QGa4ru7B5kfszw4hQ7PV5A7rYriC9ktIg2hTQVfIqn3EBBfyNblSCQMTlpyE+GDAhfy7NqqtJrM3PSBLHDtuZen7g== 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Make the kernel preemptible
|
expand
|
On Tue, Nov 07, 2023 at 01:56:52PM -0800, Ankur Arora wrote: > This reverts commit 0a70045ed8516dfcff4b5728557e1ef3fd017c53. > None of these reverts say "why" the revert is needed, or why you even want to do this at all. Reverting a compilation error feels like you are going to be adding a compilation error to the build, which is generally considered a bad thing :( So, more information please. thanks, greg k-h
Greg KH <gregkh@linuxfoundation.org> writes: > On Tue, Nov 07, 2023 at 01:56:52PM -0800, Ankur Arora wrote: >> This reverts commit 0a70045ed8516dfcff4b5728557e1ef3fd017c53. >> > > None of these reverts say "why" the revert is needed, or why you even > want to do this at all. Reverting a compilation error feels like you > are going to be adding a compilation error to the build, which is > generally considered a bad thing :( Yeah, one of the many issues with this string of reverts. I was concerned about repeating the same thing over and over enough that I just put my explanation at the bottom of the cover-letter and nowhere else. The reasoning was this: The PREEMPT_DYNAMIC code uses the static_calls to dynamically switch between voluntary and full preemption. Thomas had outlined an approach (see https://lore.kernel.org/lkml/87cyyfxd4k.ffs@tglx/) (which this series implements) where instead of depending on cond_resched(), a none/voluntary/full preemption model could be enforced by the scheduler. And, this could be done without needing the cond_resched() preemption points. And, thus also wouldn't need the PREEMPT_DYNAMIC logic. But, as Steven Rostedt pointed out to me that reverting this code was all wrong. Since, there's nothing wrong with the logic, it makes sense to just extract out the bits that are incompatible instead of reverting functioning code. Will do that when I send out the next version. Thanks -- ankur
On Wed, Nov 08, 2023 at 01:09:10AM -0800, Ankur Arora wrote: > > Greg KH <gregkh@linuxfoundation.org> writes: > > > On Tue, Nov 07, 2023 at 01:56:52PM -0800, Ankur Arora wrote: > >> This reverts commit 0a70045ed8516dfcff4b5728557e1ef3fd017c53. > >> > > > > None of these reverts say "why" the revert is needed, or why you even > > want to do this at all. Reverting a compilation error feels like you > > are going to be adding a compilation error to the build, which is > > generally considered a bad thing :( > > Yeah, one of the many issues with this string of reverts. > > I was concerned about repeating the same thing over and over enough > that I just put my explanation at the bottom of the cover-letter and > nowhere else. cover letters are not in the changelog when patches are committed :) thanks, greg k-h
diff --git a/kernel/entry/common.c b/kernel/entry/common.c index d7ee4bc3f2ba..ba684e9853c1 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -396,7 +396,7 @@ DEFINE_STATIC_CALL(irqentry_exit_cond_resched, raw_irqentry_exit_cond_resched); DEFINE_STATIC_KEY_TRUE(sk_dynamic_irqentry_exit_cond_resched); void dynamic_irqentry_exit_cond_resched(void) { - if (!static_branch_unlikely(&sk_dynamic_irqentry_exit_cond_resched)) + if (!static_key_unlikely(&sk_dynamic_irqentry_exit_cond_resched)) return; raw_irqentry_exit_cond_resched(); }
This reverts commit 0a70045ed8516dfcff4b5728557e1ef3fd017c53. Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com> --- kernel/entry/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)