Message ID | 20231107215742.363031-24-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 F1736C4332F for <linux-mm@archiver.kernel.org>; Tue, 7 Nov 2023 21:59:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 06A038D006F; Tue, 7 Nov 2023 16:59:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id F33BC8D0066; Tue, 7 Nov 2023 16:59:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D1A798D006F; Tue, 7 Nov 2023 16:59:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id BC4B78D0066 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 16:59:17 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 927E4120AA9 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:59:17 +0000 (UTC) X-FDA: 81432524754.05.9461FC0 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf14.hostedemail.com (Postfix) with ESMTP id 45BC0100006 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:59:14 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=Z50LL1F9; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rIfwYZIE; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf14.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.177.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=1699394354; 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=aimXOP9BDsvF0+TWIwejvrXImnlnRYq+8BzSM1firg8=; b=Fu/mqJp2rr2wiC+gu32wrPI9qBHmdV6f1Eq8kJEJE//JWUAmj/QDRTyEunRozumupHTSJE iUdQQN3NEfqLjSfwPTsQDl0/EP/ZJGooDLx/S/SYcdC85N7yS7Cun7O6g/pp+rXDiA7HN0 QvLWGlztixjtutY6P6/5ups1Wmh5kc4= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394354; a=rsa-sha256; cv=pass; b=VSCVYg6qp5u3JGB0OuzopLDam75c9GFbj7wu0J8aVzqLYecAvveLDPSsIaj8WsnYlx6+2U spJygziFSPpnKGQ66kXQe8gVBLgk6qVZKTo6QGlyA6xmf4f/S5JN2d3nHOalIezyYGyndv VypQBWh6JGeJmCRKq1YOpAfFsrM5FOg= ARC-Authentication-Results: i=2; imf14.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=Z50LL1F9; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rIfwYZIE; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf14.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com; dmarc=pass (policy=none) header.from=oracle.com Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJpNh004902; Tue, 7 Nov 2023 21:58:55 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=aimXOP9BDsvF0+TWIwejvrXImnlnRYq+8BzSM1firg8=; b=Z50LL1F9ShsDRZePiyL3wK/wOBpsJk+LqXeEpJ1teVHsI26robeakI6ZcP7tYhzfCMQH EvOzfiPnhHMV1wgucvnRWemqjkNFjBZxAVw30SRHs8GggSZYxKpD1rPXcpTcMaFxsoMY j4lsstqXm7xgBXWCamS961T6EGUo2FqO56zEb42zP+ADH2XC5hzDRolxb5IpIsUTI9pC LAVs93MIqtqx21KNHo5V8lCW3SOih1NbJZZGbueP1J9D5+LXtGgIeChRd61L7PPUL+rw Gt4878hfCs/dqPFnIcDASK2mgPMwLJnedLRdZEgjEc0RzQWO0a00ZpS+5h4i6Siaz6MT OA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w22g2ks-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:55 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJYpj023973; Tue, 7 Nov 2023 21:58:54 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w241fpy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T46e/6KqlNzWqVwFvV0El9OUHC7F8r/SmjRiJzesLEJZ1cYvKsqcjnOsvCMSmiWbDieEaSy9+EeDPbjStrnTPjMZ0EcNWdk38Ocr1n8DWq+B14F2gZmEcer+FjbB/m44FELoZH3u+GdRPBxH628gm/sE/KNW3dmc6NK/+t5eNFjrGNaqQbsiCdGjw86t+Dj9/SSLTwfjW3AuF2AeOWV3wOs8i0QebY5Rai9WDmuZaTP+e6GpmH8SAJO9yGS9sOwE5pyjZ+RAPqZaDZh1wYC1pDZUQCgkn/njkxrwkl988VGwel/eC97rQ/uSI8a17kxlTN2fgIA0iVtBTZHoJPruvA== 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=aimXOP9BDsvF0+TWIwejvrXImnlnRYq+8BzSM1firg8=; b=CedbGH2yRQx2PT+JEqopNrYr4XMs3CmCIRs6b/iEvPV4H/6oakIBEA+/tNGHan8qxMp7I2KiKqB++oeB47GKrjwSwdiiHCF9OeY+NgK8XiH+7beT2ZsNSffqv9p1MS9oYU3rHjF6PuONLWOWRSR2wsZW1Wqs+2sjjrFWRlTTh7yl5TKsnQ/ghx41JMNWL4HizKNWNHSs4bWE9BwztUkpTFnTvqwH+s+ycdGhVWbMSwZhQzK0k0JbHuXpZKH2wFMuEM7YNomWoYCyoX0RWfKaAZedd7FjfQ6ePZQmn29UMokGpk8Ya8FLTu/FQJIA4tPMDA17sBG5VAPyLy9xWSXN8w== 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=aimXOP9BDsvF0+TWIwejvrXImnlnRYq+8BzSM1firg8=; b=rIfwYZIEzDi+CYv9JDtfFNu2cIwZpcJhnQ6d4zzA+SVQJxqo+KtrxA8ju7z33xY9HlJLyinq8vV2ifPBzm0SgiLO6v0N1apAUsbeo12WiiMu6Okd5ezSJILRdar0mJakYqujbTV04Sjyi/1C5RPcSxtpZddQV9ShduaWiOdaKwo= 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:52 +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:52 +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 23/86] Revert "sched,x86: Allow !PREEMPT_DYNAMIC" Date: Tue, 7 Nov 2023 13:57:09 -0800 Message-Id: <20231107215742.363031-24-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: MW4P223CA0009.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:80::14) 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: 31da503e-3f01-4761-9e15-08dbdfdcba9c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bqvs+V0fH50c1poNIXaylWVIagXey6k8YfleUVlmPrHY7xbkVOOzEfS9HmwZXXdgNdAc7o2dbzfU9lGhwxukKLpSsL1imYBexnC1VWCXRWL0rTwEyEJO1howtPhXKuqUr3lryx9nnhwxAhYB+eNIF2nlSzbmF02GIaI2pzNF8Hp+ZeDFlhG+Km/jcMDqri+P3b9toD5KWoO+In2jhmfXZM0Pa1vPpU2oB2LG8FGnNRcoa5Q8kcBFJdmniybT40+7BYAkWxcKxr3GrM4WcNxQ2XOeJgWFCwgUf3cP2zuk5iZnVu4NY0iNzIOL1kzoKWIP2/4Mqp2N575DEjJ7qZAzKRJHq1+ORzgpnZkc1/0IvA24iBzCz9qIQy7c8HJPHEQNRTEmc2rW7QnhTlGsugQTeQ0iJQ9iZl7T+7qcb1nkLDP0xovRoI6uZpJzmWni8rYnKuElZ9zFidPioH6j3V4YUWsniPjfQ1vKRe1AnGd5qiAdi7BV003DQC350kYzPdNRGIU+k2A7v6jal5UufuJXOfHj9zuuBHzC0uimNIHbWxnm7VkwQelWFnz31p4RJ72n 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)(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: veJY+PpxfUXRXg3wYQf28Iz5Gp0oq57kMgM5S9B/bKIfTo+94LxG3RV6M7hzIN5H21wYV56uxzR28fc7Lw3ulX7BXZ4iPBAyt74DhuR3TKUQtY1nlLQdNy7Dz8Gv8a5VirFgb5m/DKrbA+aK4e97toOSVETgukeRZzznYksE8SKfG2Wa+b1uPTJ4fPQb60ZSbfaFw+h9bDuA6JjKus4ObkMWX+Z+uJrm0JBFTiLMXbIVSmhy1deQlSdaUBdge1nPKq7E0CIFE1b40jBoKoWrIjbE3PI5TDJHF5VwNmMMY3Eo1dW9l4iHpYvVLteqV9MX1KfB5bU3dAXpyj6ZxShNa0TqFY5ezvkKyjti8kVhsrAfr5pFHS3jpW1Fsr/uDl+DugoHyFF7eEfrdHzOgy/rWf7IhZzkfXdIHRnNq06LqLbB/sr3P/Aulj5xfB+TKbXSgRyz/bmHF6vd6d6o8xvP1Xb9QLGI5Wkm7B8E6sXAf1YpDD/EVLAHg34k6ZtfndpSqyhzDjwZwKRySbPB2dIOV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EjkTRtShOIJRqKisQ/carmVeinEKNZ26CRQ5N52Ai5MujpoFplNwHDNd0oesUsVVwcvhNhEkFZThlVGX2feFYr4OXEtD3Hob7SA6Y+B6iaMkZQhHqKqpqeXh2S8wR43yM8tHa743cD60h8xI7AW6ukwLR0hefYbd2sLYGWG7O8YpT9e6+SelnULFzuJmtGsLzWFfDHNxArjakD1dIK+ChyOvQjHziwmbyYCIx/dJC5RHK14STSyglDMGQvQnoRAgOreXffgqlnQA+IVC18on2KFdcS/ZHfmOaL09ihnyzrzIgtmVa/KFcA1MKfUY5dGbPNrKDCaXII0iw0H6FSHCqDzQ6x0BFn95yKhhh7L1DdsSBGv4mWDJG2SYakPo2lHGqRm+pKEjJjkjottJiUatr/tvdavv77TOf+80BrWOdxjiG66l5fvgmRXvqyQj8fFId5cb4tqhUKgMG2vWYyjlo+8iTowxFAs9EMJ1RVIauNyiYFFC/faGdFgJGOG/HKsTeIASnjopluWHrObDHViEHa14x4BtYmS03Ha7mrrJW/o/lSclw5oB/9g== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 31da503e-3f01-4761-9e15-08dbdfdcba9c 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:52.1439 (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: 42KIVwHYTth/KTaHAH5EvKuflfQv26rGaUJNYykRJ0JgHQ6NaVwzoRAoS4iS4zaJFh0hyE3tD6TxqQJEEVKqqbUYiXiyawkgkS1rC3ljtM4= 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 mlxlogscore=939 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 malwarescore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-ORIG-GUID: VtLRUQLlSyMbGvOyRv3cshKfnvrdfdNY X-Proofpoint-GUID: VtLRUQLlSyMbGvOyRv3cshKfnvrdfdNY X-Stat-Signature: yb891rzizc6wwwpatxeyzkz3i1wa7pdx X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 45BC0100006 X-Rspam-User: X-HE-Tag: 1699394354-600456 X-HE-Meta: U2FsdGVkX19ojZSrauI+PdTU/fX5OV9rPzYC0dDVTZIQN0WNtOvL5NsTKwyoHdo7xWEs4jAasfKpRb9KeJpnqdUN6U3M79CYsyQQ4LQMbHrVZznw7Ky3FY5Szx4M+9+GTSU77U9zzltcjLSKZkGC9qJOGsdObH4RdWibWCHmpu3nUciIn5e9ap0o2s5e1TMdBs3x0bnBT8qDx5ysKGMOHo1DY1um3Or/6mBIR5Fqxrc9rVuOxyDv6cT1ht/aRhR+JcKhbU2CKwudhPKMPEDbqLNuWHNcEsbtOrLXiJiPCtASn90nI1dLscy3m0EulRLA/jabv1pMuj/y0QFmuGs0kH9pk7tSLAS4ba+X/hNUYnrwrOEfNUTfSj3EQXnH13MgJN0SdtUvS46Yk0ghGQLP5ZQ8SwlslAdVTPH8aIZamc60CsloM10ZaNN3Qew9xNyJePcWUMd96OR3WlPFh+5c2O6mzatn81zrUgG7btrZz1iIhhEpyqsU20v+sil3A1OcL4Ah+a4GKKsx8AKrS2SN964rbctfFvX92EdYr+QPcMqG76124XUrlkcibjm0A/WPKt5Yn4GX4SDRrv4zuKmAsloguufHbBGUuVGUM8gcvOcUpIejiYpWfcdlJcY9ZokRa1xmbf/eXHaBgwXvXLpK8PZUCRtkfNtNzg7s3XMEcLJrDjvGOUhy99iSVsL/vy4RD38KOPq8a8QbvBpVCIYIDY2Do1nuekqtqcE7G4Tf1beOqLgNA4Q+xyLkJnIN1uACr+ICa6sKlOxUxesVYoYEoZaFlRzPCAzhyY3wFC6q8XJvETe7Lc2oPyZ1m4x7R/g7b/6DYM/F4Hx68x97gSGM1/9Ox+CdjwlpGX39mljU61RYYvx07arFOXWTprCQHH020mz2bEbuYBgfUYJXhLMgBb0/9G/rbOnjBJnn3Px2CjzxqLPRPoVhTvjj1hjH/b1I37EvBtNE277yS3x7Qlr pgjF9VfU KQkOZscCDZi1RFw8sJPMdAekDRYjJRloUftEbxj8Rd/JPuYekkwKJibM3tnZVykL55L7473WlEdhqxlQWSBr+Rxt/2XrCqbT1H3Mlzfw0J+Bwc++eDga89kZHcIPUIaJCrInlswvfi80oU7BIKaS6OSS5jFHz62hW4zcRk9vLe3i4ylqoz68ELDGNpEXRwPPAVDQDfgltWJD426VQ6pghraDZVAyYWqr/F6y0Pn05Sc1tAvqTg6nrQM9txQy9sI08ALEroG1vsiGhJrYylGmPAy/so/Yf1A81ugDlJnFCJ4rI2REDaef22lyxM1P4MWB2QkKzcy5j2qOGNjhwBJ8BYDjdhxFI2gF+QPJfURaIY3MUcy5HcEnJaNSQe2pNHdwdbWrjTEqNsSXuz1bld41TbiwyPYmiptroS+WIfC0P+im6dpt/n4NixsLW2JFTIiri3KuTbk+EnhmaaTmPdgrXYvrKsMoLPKF4A8yaHq42OjC1D5rEpo30Oeyrf2UyGxXjCOxj 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/arch/x86/include/asm/preempt.h b/arch/x86/include/asm/preempt.h index 495faed1c76c..49d2f0396be4 100644 --- a/arch/x86/include/asm/preempt.h +++ b/arch/x86/include/asm/preempt.h @@ -111,13 +111,6 @@ extern asmlinkage void preempt_schedule_thunk(void); #define __preempt_schedule_func preempt_schedule_thunk -extern asmlinkage void preempt_schedule_notrace(void); -extern asmlinkage void preempt_schedule_notrace_thunk(void); - -#define __preempt_schedule_notrace_func preempt_schedule_notrace_thunk - -#ifdef CONFIG_PREEMPT_DYNAMIC - DECLARE_STATIC_CALL(preempt_schedule, __preempt_schedule_func); #define __preempt_schedule() \ @@ -126,6 +119,11 @@ do { \ asm volatile ("call " STATIC_CALL_TRAMP_STR(preempt_schedule) : ASM_CALL_CONSTRAINT); \ } while (0) +extern asmlinkage void preempt_schedule_notrace(void); +extern asmlinkage void preempt_schedule_notrace_thunk(void); + +#define __preempt_schedule_notrace_func preempt_schedule_notrace_thunk + DECLARE_STATIC_CALL(preempt_schedule_notrace, __preempt_schedule_notrace_func); #define __preempt_schedule_notrace() \ @@ -134,16 +132,6 @@ do { \ asm volatile ("call " STATIC_CALL_TRAMP_STR(preempt_schedule_notrace) : ASM_CALL_CONSTRAINT); \ } while (0) -#else /* PREEMPT_DYNAMIC */ - -#define __preempt_schedule() \ - asm volatile ("call preempt_schedule_thunk" : ASM_CALL_CONSTRAINT); - -#define __preempt_schedule_notrace() \ - asm volatile ("call preempt_schedule_notrace_thunk" : ASM_CALL_CONSTRAINT); - -#endif /* PREEMPT_DYNAMIC */ - -#endif /* PREEMPTION */ +#endif #endif /* __ASM_PREEMPT_H */
This reverts commit c5e6fc08feb2b88dc5dac2f3c817e1c2a4cafda4. Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com> --- arch/x86/include/asm/preempt.h | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-)