Message ID | 20231107215742.363031-31-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 28A5BC4167B for <linux-mm@archiver.kernel.org>; Tue, 7 Nov 2023 22:00:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 300888D0079; Tue, 7 Nov 2023 16:59:49 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 28A628D0066; Tue, 7 Nov 2023 16:59:49 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EE3318D007A; Tue, 7 Nov 2023 16:59:48 -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 CF0BB8D0066 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 16:59:48 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id A59C61402AE for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:59:48 +0000 (UTC) X-FDA: 81432526056.07.EB7F579 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf25.hostedemail.com (Postfix) with ESMTP id 4A0ECA0009 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:59:45 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=lLX+hFAe; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Scz+60d8; spf=pass (imf25.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=1699394385; a=rsa-sha256; cv=pass; b=k0n5+mgNIai0ZrHQ0N6KrsVFIAElRn8Rrvtm1wtPv1OcMMfQSI+sV9xV8ynUKXh2XAbGJ/ oSV43u4wsAJpaQxg7vZrv+HupqiHs7Y6Gj04K5rLnCZ4jot/Z8CyMlSQvbLMf2nOlDhT+S NKXAhRg4xi2BQ0wQ2JJTnzHw9XODv+0= ARC-Authentication-Results: i=2; imf25.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=lLX+hFAe; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Scz+60d8; spf=pass (imf25.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=1699394385; 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=LcTgexJPyuQPcOmH0Fd+Kj3ZYGZ75rmxs9CVuGAoeCI=; b=GOAOg8bTyDq+kAqUgFmG6hV9+VK96XdvWKfI2RWyQ9469WcxNF2KANkap+cxjbkyAQoaRv 9FUBVJivq5Ac6YzfCoc7VXSXW7yWdB/JF8A6zWIOE5dPmltXwFP98QMlseABA3ybSH7XCQ 5YoPkbwguunNWH806Ys9RUBilCvHllw= 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 3A7LJqic015022; Tue, 7 Nov 2023 21:59:19 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=LcTgexJPyuQPcOmH0Fd+Kj3ZYGZ75rmxs9CVuGAoeCI=; b=lLX+hFAeJhz35CtEoFcb/aMQQYHaHDSUzfF0RuNBdaXOvrdaWw8odKtDWpdFNTVgJU3x EKENUdDlp5DYqjNGNgxH70KUAzRq2BPsHW6D7bR9ysED/Kv1Fqb8oj9vMPuKFHOk8Obz CRPVOhLyFqR7I07dQ8z9hCZn6nGkbdtd2Y0AXk2h8xJ9XhrrESGhhKTiGtpqUzHSsbQq fATf1SPyhcPAld2zouQf1AGiIcDyHyYsNdf81EsLSLpqnOGvOJuqTRyI+fBCXrjCZbWR rOIZ3hpdre0GnCeba+4Q7YCosIbSXBsmjBmvFqrhINprJZD2S+TCU7oIsgtGO3f8MoEx nQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w26r2ds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:59:19 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LIoFp000377; Tue, 7 Nov 2023 21:59:18 GMT Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2041.outbound.protection.outlook.com [104.47.73.41]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w1wsksb-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:59:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jKwbnC15dgiDyd03FgZI0Qjj69U7FppFT/oWjjkxKDFOZUga7cO7rJm50fSj6U/6UHO/RMvy/eNgl1JxQpaiRb/Jh6S4y/Tyteqs9fju3PKRkrroeBDGrfgu7apWktOHhmPiINpoOyd/SwLcdVHyono6EXZua2+SsSUVBGePSfD3BiZKYKGNIdL86USgY9NgjRcoC0UEQfGUSFyq+h8drOHOQl8puL5y/06vR7OQu8NdSMRBDkwgx/nTY7hqQrZwehLs2plx5e8eSb7uh74YKUo8JhaGLEiu0VCNwOmxv8m+KWwNOM/f4c0o31DO7jQAX7TI3hax/5kL1m6ANrhG8w== 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=LcTgexJPyuQPcOmH0Fd+Kj3ZYGZ75rmxs9CVuGAoeCI=; b=GBkTPLJOcKGsUhucH4sOg1/79UjmVD5Pi3n8H6GCHJKM4cCzuViVYi0HAjtVV/YO0zkohiVmW499C1fG23tMr94JwfqKtiAoeMOFf1SeXnjSftkXwL9N0PZ2Pmgr7F2U5cOr3Wpmd02uuRWoBNlju6McsejlhejAHgEhVTCeJdoWPjv9LgJvJkeOtc0vqAf5/Kww+LwEd5SAjYIMMVVng0agInw8fQ8BDxZae88DflFq4iDZDgfpM+z/kM/fDjp6wBr885lcJCvAAhH+RKzmb6trChEK9ck3Rhu0N6YjC3T1ztlJL4dg+2dUf8Z94AARgAtVpEUqnJdH4HQpBaf1sw== 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=LcTgexJPyuQPcOmH0Fd+Kj3ZYGZ75rmxs9CVuGAoeCI=; b=Scz+60d84k46+QtmwXWxmiYHvTsgcUHxoGjNW8/L0Ti6Yub/ki/PhmkmhOYNaVnyqNW8A23a7FgLMD0X45fRSzRGrYtxoGxU1llxE2cqV1h+4INW7y0/TtwIZQrYbuLZ9Wsvs6OAcSp3vO5haqe/GA06XcCS/s8oACXbnIRlch0= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by CY5PR10MB6141.namprd10.prod.outlook.com (2603:10b6:930:37::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Tue, 7 Nov 2023 21:59:15 +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:15 +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 30/86] Revert "preempt: Introduce CONFIG_PREEMPT_DYNAMIC" Date: Tue, 7 Nov 2023 13:57:16 -0800 Message-Id: <20231107215742.363031-31-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: MW3PR06CA0017.namprd06.prod.outlook.com (2603:10b6:303:2a::22) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|CY5PR10MB6141:EE_ X-MS-Office365-Filtering-Correlation-Id: 768ec85e-8e7b-486e-9e52-08dbdfdcc86c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uMGXLepc3HQOfbv1ykBcBGEO2se/ojm8vHqgq1SqxKCS1hd0XbgYswIEAFkGqrSBIFmWpWJUZQ0ZCixzPJn39Gvnj2cBpkb3zb5dM8V3eCJfLAWy+Yc+TPSM4f3Mwb/3bczha5QDWpxJ9lqImyGh+p+IFjfAgvhNELaEl/5biDGa6wQfJBLRx7nnuh8Yji6cl5P+SDwaoFS8By3oIo67UQca+m9TjCsBD8rEKK46MjFalPv7QIqm/9VTvsw0T831vCt4MvHJFvKTWgAPExWlTR1Q6MNFivcm0X5YsCw2WNMDWPK7m5J8TbDxHzehjwRRhudQNE9w6IuEJvtlNrS8bsBdA6NOM9h/Wtky0hN/Mo2PNfzFosGDPPk9uhuuIlW/WV+6ercH8f7N5xV/+A6bYnwFkP+TDfAGOkIBjSn/QSZUe74KKAMppaFTItq64Ka4+g1dYJP8sI3f2pe/Qt8J42atWW+B6qgal7pMqJNnmSw9NAX/jKmoHSRf4dhe+q5bsUuUSytVnx0yvM3Tym1Cz3Tiuy7bJPXxC5ln0DxPhBvd+VtK5pW0yWVa9suonK/P 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)(396003)(376002)(39860400002)(136003)(366004)(230922051799003)(186009)(1800799009)(451199024)(64100799003)(6506007)(86362001)(103116003)(8676002)(478600001)(8936002)(6486002)(4326008)(38100700002)(1076003)(5660300002)(36756003)(6512007)(66476007)(6916009)(66946007)(66556008)(316002)(2616005)(7416002)(107886003)(7406005)(2906002)(26005)(66899024)(83380400001)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vkZjPl6EjXh0yHXq57VgbyXufjA+NPByf2MRSf1cG/mJg/3EqIBkQGrVpUzMnuqaSuA3wwi2He168kylo7Z2eEeKbMHuB5NlDmEK7GSSEwuKBWP6ee9oMYnNwUAn08oukJ9HGXguABYvxdv38HIisJk2pn3P/s4lPMVROmQcNR0qIIjkEVPMPtl8RJXAiFYeAKHkp7phj1uv83ffjqGatQPaDZN5HuHz4zg0DJ4PPVjanKX7za+YTKN+kezYFpWg0CJxji1oBQ2gtoJqENH5Xf277IKwksb8HGKuBViE3fbKr0as6SkoBo2UfC8TgrNPT1xOo6wiAu5UY0w6maD/SIYwoze5NbFlABx7e/A+Z77BgO7kKS4mY96TmkRrIYPHyAPMlneHAcDxKvmlGE8+ZR63vre/hCWtR48Y7C5ewCa/r7MF5L7jgxdzozy+UjzpIn2tKTpnbXsyPPho9PCKnAIAhVIBtm7Nd7p3Xl91rT8LcwdM400pu3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koCg8GO8esLesvgw0GoV+19pw6pdje1+Hw3Gaamd0bkKQav4YG93JgroTAG6Km0Q+MEKQbLw39cyK2rwLAwGX6J1gaeuOnvS6QmsAB6VlQ0wkNm4bUQqnflbywLm3SZmxUDfjWYK4gZCEN19bLwZ/FxN+9YUNYscjC+eRFQ4vVjPTvwbErGN/OIH4/G6YwsKDOuOaB8lATdIw3yq3fHCNSr4S7Ih8kEBvQmw4X5Dsf/74PN2bm6GbMnUoE22jU0qC9jyDDi+lI92ZH36R9bSYzrRg1nQ8JBbPfnouHKmBmB5eeL+0tFWgi/0UtKcgiBQRbAkOXkfGE8Ub2UbbIcODHckUpVc1ct3zfJcrX3yIMoeM+1m7irXLyArMaOA4MNmTNF2FR5AArWHRYM+rMjp6OOJKiuLhkgz67Hmf0zYbpkMyFEtyiizNXcH20FY8SnNK8poF79qHWOeO/w4nqHFuwO1u0NvBvFoteth93WOi7W78FFeu9QtquLXQS0ZpsdWSxsRXLjjHTS7QWacn1hrSBp0YKpw/FyJevG9SF3HB+NqC4AvG8c0KYVptQKGEcrcCvuWP3wYkjA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 768ec85e-8e7b-486e-9e52-08dbdfdcc86c 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:15.3430 (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: rMH/Xcuvqw4kwJSlyFG9csJOThlP86yzUr/ROLRvFVu91xQCfvthCgYTXAq2MvYtx+XM27jnBoQQSYlEwDxILbHL9CpuescWGq8vH7djXSU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR10MB6141 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 malwarescore=0 mlxscore=0 suspectscore=0 mlxlogscore=453 adultscore=0 spamscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-GUID: H18O-wWt9i3kyHKp7hdql27CqSflnLOl X-Proofpoint-ORIG-GUID: H18O-wWt9i3kyHKp7hdql27CqSflnLOl X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 4A0ECA0009 X-Stat-Signature: qqeez8btmfgmn3graioc7xo8pt14phf8 X-Rspam-User: X-HE-Tag: 1699394385-538776 X-HE-Meta: U2FsdGVkX18ITO6xyEmnSlgwOFyGQW43iv6bPZKTQGitlYHExjLxVs0FTWrRlDZOGXqovacjYh6eDpTMmr7IZ4ZfF6vMk6UFABbbGfSM44KxhawGzhirDWahBeAugGJY3JlNsn+fbTIL0BNkR6J0vuZuOuiw7yEAMOLtelRJXSYlX7N0YuOuWe4TS/J0XNtJzFVQPvP0VPumlIwHKvysdfzfktDG1ZmZxiq2O3tvHykavobmrQI6/lG4TZ2/LFZ+c1N3zszFzEgQrN4qSUhOwkWnkWTmzMT98gbM47ob9Htsw8PtR05ivuhqbSXGhUl3a/Xcp1gcwki/NfAjHVrUf+VZN08FwIS98bte/jze3L7NT1/qNb4Tqma5a3zBdmD8DDomCkOnzg6DFxDoFB4JSKWpxii3XtsysJQhmR88H/FQRXMLBslR8LG7KO/9HVqEQinxuc+GDLpf2fOeHpaudu1Wk0KVTbgIHjUTn12JtQuAExiiNssZxMLxPGIvoZrlXrqTNAXVgU1t7C11w1XJ7tZo80Ul3XjnPUGkQClCpjysMvvPxKj5eXizu4ujHbn+v+W2Rc2Oo7SKtQWWKb1O5rxgbbUKpL5q5NKPZYKKVjxqiZkMzP/xuqCDdXFfWpsrIMI5cKtSAO+khGJVNpgBE7sT5pPOJyBwt/evpcmGisf8dRIhBPBOYMBBE5AeEjIVAtphJS9KrZ8F5SEAOufDRjTOTQrJuY6h+gz6ouRsH4sDFLAyFIzo5rXBH6dlquk3Ajd2ITizYCVMSgvyKd4syowywaDTaHbtercQnPQlLGq8Dc1qdjuSLS1nkgNScjYV9vxZVCyJxvQ17FIdJmisIzWsHZs/hdhlVUN6xgw9rmM385oNquy007EWvy87BayU3Lg7Dft00+1LxhPhd7+koQAMBt8I9Nwf5Ef2cJzKvGNVgIEAkZoPhESCziwalbmkpXNbRapoJVvjZzqhs+z kh4h97i1 jRlDva030VBexAEuaWt4MPoWyjbgAfAkl15mQObzFEyW0e/MMKaQ4BYSkPc1t8gDmKcmS/qlETnln5J5WYHJwNMIfzuT865ecyih4fBzDgUpS4ZidM21qD2oX95ZyfMgxuZ89tAsEY3xjz9m/AYzYQpO6eOorLTu/EBtkBSQkF/hP/z8ggTcXpD9q/HCkPZ87mvzcCPHrpMSXyHhE/Ab2dhQQ9TBndfn92u0C47EOX5LMdIAg5X0yxSC9XSaBuVEKpj/fxlcuKf0qNjT1xFgyQsnSf1jrcgYYwMOHaVg/2/fAtR+nIybAYVl5Y8ZfsAHdviJYDAyt+e5fYoM1HnXZKfusNteTaLNb/7jqihw6cjXPD4XDO9RSkcEQPyErNrDNdCozq+7O/QIPOc9DbRzSGKkSUku72L+oqSpZLDNX9dsqw1Ez5SSDgukjlaTsRQ3+txOh322alASab1DQzso8WD5P6Q== 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
|
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 0a1731a0f0ef..93b60558a78f 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4577,13 +4577,6 @@ Format: {"off"} Disable Hardware Transactional Memory - preempt= [KNL] - Select preemption mode if you have CONFIG_PREEMPT_DYNAMIC - none - Limited to cond_resched() calls - voluntary - Limited to cond_resched() and might_sleep() calls - full - Any section that isn't explicitly preempt disabled - can be preempted anytime. - print-fatal-signals= [KNL] debug: print fatal signals diff --git a/arch/Kconfig b/arch/Kconfig index afe6785fd3e2..05ce60036ecc 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -1393,15 +1393,6 @@ config HAVE_STATIC_CALL_INLINE depends on HAVE_STATIC_CALL select OBJTOOL -config HAVE_PREEMPT_DYNAMIC - bool - depends on HAVE_STATIC_CALL - depends on GENERIC_ENTRY - help - Select this if the architecture support boot time preempt setting - on top of static calls. It is strongly advised to support inline - static call to avoid any overhead. - config ARCH_WANT_LD_ORPHAN_WARN bool help diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ec71c232af32..76e418bf469d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -270,7 +270,6 @@ config X86 select HAVE_STACK_VALIDATION if HAVE_OBJTOOL select HAVE_STATIC_CALL select HAVE_STATIC_CALL_INLINE if HAVE_OBJTOOL - select HAVE_PREEMPT_DYNAMIC select HAVE_RSEQ select HAVE_RUST if X86_64 select HAVE_SYSCALL_TRACEPOINTS diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index 5876e30c5740..715e7aebb9d8 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -40,7 +40,6 @@ config PREEMPT depends on !ARCH_NO_PREEMPT select PREEMPTION select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK - select PREEMPT_DYNAMIC if HAVE_PREEMPT_DYNAMIC help This option reduces the latency of the kernel by making all kernel code (that is not executing in a critical section) @@ -82,24 +81,6 @@ config PREEMPTION bool select PREEMPT_COUNT -config PREEMPT_DYNAMIC - bool - help - This option allows to define the preemption model on the kernel - command line parameter and thus override the default preemption - model defined during compile time. - - The feature is primarily interesting for Linux distributions which - provide a pre-built kernel binary to reduce the number of kernel - flavors they offer while still offering different usecases. - - The runtime overhead is negligible with HAVE_STATIC_CALL_INLINE enabled - but if runtime patching is not available for the specific architecture - then the potential overhead should be considered. - - Interesting if you want the same pre-built kernel should be used for - both Server and Desktop workloads. - config SCHED_CORE bool "Core Scheduling for SMT" depends on SCHED_SMT diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 5a0bf43975d4..e30007c11722 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -65,12 +65,6 @@ #include <linux/wait_api.h> #include <linux/workqueue_api.h> -#ifdef CONFIG_PREEMPT_DYNAMIC -# ifdef CONFIG_GENERIC_ENTRY -# include <linux/entry-common.h> -# endif -#endif - #include <uapi/linux/sched/types.h> #include <asm/irq_regs.h>
This reverts commit 6ef869e0647439af0fc28dde162d33320d4e1dd7. Also remove the CONFIG_PREEMPT_DYNAMIC guarded inclusion of linux/entry-common.h which seems to have been missed somewhere. Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com> --- .../admin-guide/kernel-parameters.txt | 7 ------- arch/Kconfig | 9 --------- arch/x86/Kconfig | 1 - kernel/Kconfig.preempt | 19 ------------------- kernel/sched/core.c | 6 ------ 5 files changed, 42 deletions(-)