From patchwork Tue Nov 7 21:57:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13449388 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 22A8FC4167D for ; Tue, 7 Nov 2023 21:59:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3C0E78D0072; Tue, 7 Nov 2023 16:59:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 373168D0066; Tue, 7 Nov 2023 16:59:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 127938D0072; Tue, 7 Nov 2023 16:59:20 -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 F31DD8D0066 for ; Tue, 7 Nov 2023 16:59:19 -0500 (EST) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 1693380BC3 for ; Tue, 7 Nov 2023 21:59:19 +0000 (UTC) X-FDA: 81432524838.24.B7AA919 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf11.hostedemail.com (Postfix) with ESMTP id BD9F440010 for ; Tue, 7 Nov 2023 21:59:15 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=urnGM1di; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=qumvcoUr; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf11.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-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394355; 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=0QNl8/K34dXXO4olXEeV1fgO+qg6/8wB4pTXb+jU1wc=; b=GBNzgFYqiozrIjDBsvGHJnApdzg4cQ3OHc2v3Tgx3Gz0GV1yz2I9ooO+zT1BPjigGXLR0o pO2VDE+oKW3HRh3SAnOyg5Att8rGnS9wHmlhI8w2Ftjvxz4pO7wS5URMsz3aXnMEkMzhV0 L2fTgQaNuPWTVQVWsDegA4lwgqSQrOk= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394355; a=rsa-sha256; cv=pass; b=CY2qTg3zypAuxBrba68lifBDK/BPumyjWum4OQPb3bbYfBiZXHaZq2jMAkvorvK3UjpzmJ eb8iw45Y8F7Aw01O3vrgu64nLU2MlYq+1HSwqfluh8d1kgXF3RsEl0zhIVeMXvHdE+JDXA fTcFT/B1BfirBcURp+DpOycORYdwJXk= ARC-Authentication-Results: i=2; imf11.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=urnGM1di; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=qumvcoUr; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf11.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 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 3A7LJP6L004600; Tue, 7 Nov 2023 21:58:54 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=0QNl8/K34dXXO4olXEeV1fgO+qg6/8wB4pTXb+jU1wc=; b=urnGM1dib95X4t0O3Mz5/zAcljmDQIlBFYGf795UhXdDQWqEhqPQwr6Z0YrW1G6MyfEq 8cz4raEyO2RYOUIuxU8D3djOw62jJgE+dzBb7j99JY9fsmpsxMPo8x46XQgcO2ev+PRp vESGv/qBW291crq7vQHqUbaTMIrwXtAKKO85CY989R8ptoNmTgP34C8+p2BboL8Ee1lC fv4UeNbx2CUhnFRTWX21eyk+ly2aIYTkNVOuSp/1tD+k1Bn3+cR8BZMHS7NLaMiXYiDm EcCB5mSWyivRjSuK6liDZhXxAGfXwI8Q71H/2IhIxAuIMvGbBCGgg6vsGQSBCo+c35mr MQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w23g2c0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:53 +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 3A7LItTM000430; Tue, 7 Nov 2023 21:58:53 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w1wskcy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I3wzFXgWyKvmeZipE6NooHTwT9JZUo/LijTyTRzT6xumoVjBxxLHFEM+iURMbu19jhO0mA0Sk2SNWh1bmd0yws4Hwm7wpYTke9I+TaBdYgwNoJ2Hg/pgFdXl3W4hFGwpi2c4dtdqpn6vIRLyei8VhemTizNcQjPQN3I4br2WT/SEmf5dyE21r1mCMoYFyHa1u8UHv943Q+jOMrad2gBLLzxZrip4hkMck7+ZEc2lo0GMAW3JgjdqN3fnXTNbg3WOoI3HogS2aiULc1nE75pkVfDPXBD2V0yvIcAtOj2xgfMepFHQyfXzZedi2Wmx9ViTXB6fAqxOe3tRyb8UKmcEmw== 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=0QNl8/K34dXXO4olXEeV1fgO+qg6/8wB4pTXb+jU1wc=; b=AXtB6rda9rLn9bsAOcCtaDvvXZA6Ai79L8NTNw2FO2ypmS+5nQEgdoOotBrZEYw3UKMSeAU3rVaCuFo3qy/Rqs7RqU09neTthvutJieEzzsSebkcx0g6ly0peU/o5Ed9RooTnzGwaBXcWhhInscqaLETGVWUO23F/VmxlfgfnhCADACKMSZcidoHnE11VQVyVy1BS+FnSHEp5GFDy/G2brZXjwaL1l23XLf4Jd7QDbOXj7k0rF6Hdjnr9A67ayrGkp+10B8+s626Cxg813SSYj5ONADE7PP9DzyrzPJnAcIqXt2bgROfOypHdl0ifOzWtMWwwB9gdteuZRe01Tmb4Q== 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=0QNl8/K34dXXO4olXEeV1fgO+qg6/8wB4pTXb+jU1wc=; b=qumvcoUrFCKj/jBzFIkGnMoUPU5uFa3W3+LaTniwD26l1QGADtjCjliOEMjuC4Wnp8BtDbvHXv+htb2LQf3Z3vL15Ld4k849BiSpYovfSvJgTd4+Zy2b4A4+k3byzPgIwL8CzRfLlS+MqWO4yXd6ns6gQ2iqLCaI56G1oliKTfs= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by BN0PR10MB5048.namprd10.prod.outlook.com (2603:10b6:408:117::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.29; Tue, 7 Nov 2023 21:58:50 +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:50 +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 22/86] Revert "sched/core: Stop using magic values in sched_dynamic_mode()" Date: Tue, 7 Nov 2023 13:57:08 -0800 Message-Id: <20231107215742.363031-23-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: MW4P223CA0013.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:80::18) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|BN0PR10MB5048:EE_ X-MS-Office365-Filtering-Correlation-Id: bfd85dc8-e0b9-4c56-91bf-08dbdfdcb991 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sB5YaQIy9UjhCF0FIBj8pdBQbaahg8IVrtuG0WIlEITh8gUa7eSORZ8wdQcL3T+ePBQhSYTADbF6+1y3jprXLg7iUeGVSKXYNHt/khxgzzp7OF9dSNnV7+zRFzV5XG7ZIitxkvBxdAWD9VJIIQHaRitWpAATV1MNCUSG1khfSjjxmQ03jSzmisR323KBFcSNCCtlbDh4uOF/yOS9px1Kf7chGq6Bz4ZrnVkOcJJ7yRNVdx6f58wm1vx0Cfi7gNvQkXpME0g5fOQotRqC/Fzz6zGQ+ACqtmbifFaWsPCIvxx7KVkqIvSLRj9U4v26mgQqQbOm4UiGMwgA9fkGvkGKIwTNfcdodrugAFvndAoR18yn18YuhhbYQ9wdOyfizFV6SwNxxkLaBdtfMvVqXypt/78H1U1wr4vFSZANWHk9NePVT3ziFk36+Fh/+o7a/aVKQCogw0tAjB/QkvSvEynawGYMEXNRYaEJ0PyyO7Rbb0wDtbvJ1nTuY+urrVMR3ctHwhLuPsUF+/O25ZZhFu+Lx+lsZjqhPeAPotSs+55nGzbGtvDGC1V7zgNdGz0vD22y 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)(396003)(39860400002)(346002)(376002)(136003)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(8936002)(4326008)(8676002)(66476007)(66556008)(316002)(6916009)(66946007)(41300700001)(103116003)(2906002)(86362001)(7406005)(4744005)(7416002)(5660300002)(83380400001)(107886003)(2616005)(26005)(1076003)(38100700002)(36756003)(478600001)(6512007)(6486002)(6666004)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +A9pe8CbYQgdIKVAkQwXSX02Yg2OjuKcW65GOuNh15dOt5lyVXtYm1wiJn+NQFAUStGclKWt6LPWgweT3khMNmDimwLmsIDxBKrnydIn/0Bvik1NdfI76a9bfiyXvpswmpoWv8fSCp05izttXqDigX14ixWZdgRQ+yEvjq/Gwi+yqVlr1BtYo3VHt1fnAgLJHSGup75gY1MP8cG7Hvo8HwCL9diNc60jeAx6srFX6NCPcJr8glZ2VjDJWuNr/LlXEuMmrkT1YZJ++6QmWfwrwxQOuKa4aaJg+NVdyrEgylyCoiPybr5c1PJiobsizOSWF+orpCSqExvwWTYtunyyssQmiMXsRBuKQ0J3IBa6IFAethgNPU+5QykB/y0IoXKVaIR8gPz9rplI785jbxW76kq3xqXvshVpRO/9s6uVs37vY36q8vz2RtCtfeMoglAkAWkH9PfwXNQfgYpdbBZVKVuuVIUYqTatEdmJpSjdpJhPwhRVFgdU3CDa+yDO40RTCGOP+2jbpvegh01XkGaOufMzOcWZxMoXq9JpX2wVuLDwRbRH4aAotzhM3IACWd3kftLHvWhANaDUUO5QbgEF5xeWVUu16Xisui/2rWDS5DcPHECUcBJ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mu10Ofn2QU8nl9NJVeR98eCGuQ+r3b/WLHhEHuUTOIwRhqmIpYZY/bI9rM65WVrY+y2hnPSfYy0o20ce68GSGMIiHwCXUk8nUCwWbZFgiBIuvEvr/QD/dk8pyD+TL0bmOEUp6gun73n3w8J/7yWQ33DuppEvULboMMbjo32w9LxLsERsXYZU3t16FRUT94s99cGn1wSoFB9BbZvKCiLa7q/oYvrlBdqzpUz7luJFRRnm81pfz2JP5l0QfkUxUiJh9S7uU+dHwP0AxpY2PRm1HIkxvtIzlG5eeS9xey2nRujnw6x6YZtmE7BBei2kQS95g/Dso/oE4FbBnFOm7cDBG4Q8/kZrS9uMJIPobSA58PE57+/ClNokebfyixjh0eYIxu4UNNc1fR4war5L0aUvTsAjd8+siVDMu43D3LJM2xINhrPhVX3IxB6jULiSkidrAPLpvJm5FE+jFGq0Me3eys3oyzkLSgWDnWS/VW6A== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bfd85dc8-e0b9-4c56-91bf-08dbdfdcb991 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:50.3813 (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: eTyBNCgaeaqMtL1WSXdVlO5033PPD1ydJf91JuIkAQyPgaXSQDl9iVm0Y+wjxSsCBPqv5+31r8Nu0JEhawA4MVFzPvABKRIdsb0ZByyah2Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5048 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=999 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: mRwN_D95aA5dNA2fOc2Hg6NsnuU4We8i X-Proofpoint-ORIG-GUID: mRwN_D95aA5dNA2fOc2Hg6NsnuU4We8i X-Stat-Signature: 6kzajpzkryt88mxdzqy8sxbx97etmsiz X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: BD9F440010 X-Rspam-User: X-HE-Tag: 1699394355-501754 X-HE-Meta: U2FsdGVkX18sGIqghAoUZjeq8EE7qruxo2KwHOlyIXeYUULR1CrAfc2i3DBa+vr0CWO0OEAMGS59mkD55U2BnX0BPI9MhMb0xf41PX9i9Vc3a7Ge8aS8KKX1Yfo/rQ24kqxwdZeS3wHgD/XXbPC7RHOBdLBVurl/lIrQOE4i8SBMxOF8zyW2WRqxjpW0lzrHuIYnCVCqIfLwQKsOQgGBWvzTnbqylLxMWDi2cHpceUav+M1u+A3yQ0ohzlsoJHEHUi+zwBdU8odT9HhGA/iwTDPbYe/zs3Fi8MQbMQvt9pXDNDrnbf3aSbQTtIrHmmJL9N1kteux/fW424hNn6QClkUu7CINz7uLaDGxRw8aq1d9UnEEFbi6qcOzMDU3RG0P+6oLWKFoA7jBhlcqx00KoAISe2/CanvRwT2FPrx3urq8/xqztpW3jE+tYogAoeDD7f7hk9iQ8Efv3CQcN1O5XerdmPMHncd5vtHm42t0NK9UO30fIGRErWyi68cmT3mhaXhw1C81xxH1Ia77W9GtYlVvB4b6stQILkc1qTvVj3FHSvilrxuM0HZmDEknIEV57QSjcFUb1OvdHeTo1JlcZa7cOV5QzD8hl34sUWwpLk6ZPKEH3NYm6/WFOLJUF/lE13LmEukzROMx77z7jZy849kOL9EM5v3gHJLRcmH+uYs3Qp4Y5+AzmP2W4M1gT587McKIaTpiIR6ZAeUi+huHvw1pntSk9/IzKe4eWlsWMFGKkylf6QFkmKOwAiCi8W9EqB+N5KSOSYlN4DsInNOKX16Y3aWVfQIl0zVDO71kksG1b++tyNNkJpiCFkIjE6WF2z2mqcToK70eRzFG/tQWZhXm9dwsvvF92wvk6bD6pkPowitbndUcebsc5qDwd/E5Kpj3AJs01r5ZbaI9qhskTBdhUfO2ae5XNKotOAITQLdC/Pqr2BnlTyEmrMRt5N6xv1b88F/5J2VwN7nJhVc WoMETVaH W5C5uiNLK7hs1aFqZMA4u8OxgGh41y+npww4eDsWrkNrQoSAVossxrZtojIOHXbiyy1bzSxvKDT5m+WAH63YVzVgDGlWqQdpNmIf95n5I9gy+R0ltxPfqTiXs4c0Uk+z3xuoSu9gJksL25S6SlCBcrhhmSvHuNVN0yA2vFZzka/6Z52khL8b4jEDwl8MkB1jY2qT4vlOYdRQu6ocLj/jlEIsg1zm69ImBIeSVJXu3yf8RLZRVFp9VnTvz+oZYzUmyqDm8VIWMtsTDBo1vkACW7TJTTk7SJIogGXZpT4y4w1NdArGgbcc54Jh4eDKbdVocv9MB+ovhUeykMcxl+ZseFnciJzHbiiJiKAv9XTBt2NYYorgfgVRmcUwODWLSsaXDy6E2WWP6R7gXpVHGhmjsSmUfH7M2/4MvfPhdd53ZJ7N4pS62FvdVj8aE/yBaPrUm838oar2qqOk+RWzLn4xT8lFdOA== 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 7e1b2eb74928b2478fd0630ce6c664334b480d00. Signed-off-by: Ankur Arora --- kernel/sched/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 673de11272fa..bbd19b8ff3e9 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -7001,13 +7001,13 @@ static int preempt_dynamic_mode = preempt_dynamic_full; static int sched_dynamic_mode(const char *str) { if (!strcmp(str, "none")) - return preempt_dynamic_none; + return 0; if (!strcmp(str, "voluntary")) - return preempt_dynamic_voluntary; + return 1; if (!strcmp(str, "full")) - return preempt_dynamic_full; + return 2; return -1; }