Message ID | 20231107215742.363031-6-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 AFE70C4167D for <linux-mm@archiver.kernel.org>; Tue, 7 Nov 2023 21:58:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AE3898D0001; Tue, 7 Nov 2023 16:58:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A74D78D0060; Tue, 7 Nov 2023 16:58:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7DC448D005E; Tue, 7 Nov 2023 16:58:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 62C5E8D0001 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 16:58:47 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 319C4120B47 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:58:47 +0000 (UTC) X-FDA: 81432523494.02.378A031 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf15.hostedemail.com (Postfix) with ESMTP id BE946A0006 for <linux-mm@kvack.org>; Tue, 7 Nov 2023 21:58:43 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b="kjt6N/u/"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=zIiDs6bf; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf15.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-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394323; 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=vSq2w4QcKk2oa0vFIKRTjErZNNQUOLA4d8keGVC8hug=; b=aqPIqfpCXlwkOBxUhlk/uW9DNvX0JQVf15+bVVQCmfdJO2rrRe/iVYrTCd+Esfp3fYUvFf Ptm73hpoPh07h/u8eXjM77XdQD4wvegrPYqTirgi7q7e6zzidKQXKRHR6ScpqUfK9IfuOM va62PRRsQuOr/VM5JhPN2id68yeDUw4= ARC-Authentication-Results: i=2; imf15.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b="kjt6N/u/"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=zIiDs6bf; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf15.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-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394323; a=rsa-sha256; cv=pass; b=PekwswMUSt7jrWImcIw/c1Z5CLuklRLu04I6wNat0W7EE69ISs2+EacsBOkJQBrfuR7iVn pykpBoaaW2CooHh3yZ/ZvoVyNBh56I+FHXKj9EDPIY/2BibHtNehjkGzUwOxMrTn+R4eYP 2oZC3wvVU8khdWxyXFNPf+Q3a1hFRL0= Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJWZ5029132; Tue, 7 Nov 2023 21:58: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=vSq2w4QcKk2oa0vFIKRTjErZNNQUOLA4d8keGVC8hug=; b=kjt6N/u/GSd/CAy+1rGUm7vGAXX9jpl2REIFKXZmhPR2W8FEFy8Ukw+L9dMGa8E1wMIr YTmCinzbsmh0Q8TsfqVXZ1nlvn/3vv2byPDRTxN0xdp48W6NuWO407qk7ZhmWzOhkkgD ZGqSnaschnKa5k20u4DdItCdq4x2KnuCu+bTOjzWSTPIFjKJSl6YS11ZoyAt+o+hoCet R2Uo8iWzrU5ym+hz58GFKA0EZc2GgTyDPWKVwny+qxHaB3/yoDX0xbR8td/XekdL0B/f X+cvcw/1SmYLptfTJj6/ZPaICXkYvMe63ZddPsf/+fqMiA2AwlNCWacrcEezSxqE/7zZ Eg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w230294-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 3A7LIrHc003903; Tue, 7 Nov 2023 21:58:18 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-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hrjBKzDS9/JX2j7Nw9xZ0bFD3SdTrqnX16XGY4Quub0ONrafej3nix4U2/LkTUf8fDPUdVRYq1gFrVA+JjIvqoXMoevwRjyowcb2gxQWXn81nL4MXdcBVZ4bGeeootn9udjerOYJz5iNVr5W6KssKb1nhx8HfzrsRDUUywMjQB7gdcPpF7o7CBcCYXbv5QRtVmFuKRnNzKQuI596g96VUnHJ5QVi+zkEOGo+6AvlOVmx8EzI35NNZSYo9IoCXD1EBXo9LjEOtnrd1APNte4NqOTUm25X4rQjrtiZxRsJFmk3O2WHRuUSmDDPhijY6kOASj91FKbXQ5hymm7ZaPIp5A== 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=vSq2w4QcKk2oa0vFIKRTjErZNNQUOLA4d8keGVC8hug=; b=kc1vB/9UMSZfp2ODUqcXNBZKhM58pR6iM4w5OLa6kp2hY5OsUzfnQm6UykzQujDPbCWZV472C4WhnIo2Ukkh4LM1WMYy4ChaXp/KxS4FnPEZAvNzwrSnBIoSZEemLACu8CecyDnVZh3URMOo4dH9DPhKfw1gU+qOl5hYK8XCp2qph1S3bbB8pQ27BX1TvlaShWwRGwRvPbT2A0SNlhWbsuQYQa7SWypFst89XQ3Et3v2g4ncaBNZgNWkLhj8asmAESU7y2vKffiE/0Xq+PFZSK/uT7f8sbw8dWaLW2nu22fz3+hJIJ0BbdhVlH/GMXvG8+2TSWX2fukc77Q/SIpwaQ== 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=vSq2w4QcKk2oa0vFIKRTjErZNNQUOLA4d8keGVC8hug=; b=zIiDs6bflFicy6PIZupH81vvGvVMAIXKPksDRtnW1WcappqQrIEk57UxextKEhr9vAkKetGf4kbrohtUGTjjznIjOfX4m0mam1qHC1KujhqFJuNJcglKUIOXpMEycQbpxEs5gRKW9vxDq2FRqKDgQevIOHnZ6rYuLlcAKaLvsoc= 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:57:57 +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:57:57 +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 05/86] Revert "kcsan: Use preemption model accessors" Date: Tue, 7 Nov 2023 13:56:51 -0800 Message-Id: <20231107215742.363031-6-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: d672b789-0ac2-4f29-c07e-08dbdfdc9a05 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oIe3KAHxxpSgFGStGVa0CQfxKsFQxbWW77uCIotdUQQ7kBltZ7+S+dKdmwfHDuyYxXhJRffU3ewhjSsh0XbSyxy3W14AmPjKfTgUaMpleN39pZjK6w88NerLhXGYjT1Ig9m0C9nj48gK+sFV9N2pNzTzn1WC904lcdvnyerp5AN7n9vlExETPZit8cs76ZeZYhhfpdA5T2rKhQwbCOEvByXVUlNoqXyKh1kLcMSVGy6rZ15rmCp/08LbPeSSjFVQMh1iVHqrjPxo4f+8kofoST3MFt1K7qotKubnLtrzhUSwz3GRfuk8GBsrxoiReMSOcy75SiLMtSTmMNk1vGiccPUu6/bndp9X/hRsihlOwKJU5+QN8gxeDHSM32uKOrMHmImULI7QxQPyYw01uSit8CRNNcU+cFesV9PgAToE0fhGSQeAQLcRUMoDpl5Zj8jGrLYYfATtFD5lusOBYSfuxfVZE3fb+bmhHZaLBAcsOdKcDBA6qeFl1Rtwyz0ry2SOk5FEtcIY5Gu9K/uXPvlRYmJNBE6QwpqqUJLx7MJOqL3/BHSq8MOQxy9Vucan1r8c 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)(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: RfqHHp4EaSw4SVoPQYHyQj5rDEafvjLCABhjeiQibaEFGT4G4PimsYU77h0pUdneFD9QGS345Mm7Cpfd94JyuJ8lrRQHrZC7dODC18gnHrMiWPE4h0ACunFnWD9c1qmJG1iV4ApHSpv+WTHXIg38RVhoZviTmfdtnPjDk2a4aZ15A1K17beinpZ8/EKtCyKVfkLvi/9zY1fbGaDIB7wIso5faxwMVyolRTFADPulXENVp+jIy+zt6tKeFqQFA6vLl+UOYqjq2DX6rcob7iOwEf0QnePZiKuVawH8MZSeMwzLMArUaFvD8ZO0hhEPZCtR6Arp/aOzS0sL8ADs2SSAy3NaUqnQo6/FY+MmdnRFxTHAwid8xUFT+i3JLF8JvkQg6PrL35TWLT4IC9aQlU3RC4pStvYezpLnG0smhUnXl8EJkEhDrG1nIyzJ2t2KSe4/kpE1IQM/wcf/2dIt2mLWsceaf0sgTDWcu/jHIK5Yjg94ppyoqs+Fdfm60g8VsKsYcOMTBjBWJO0DILVBVVwMExdTpuwG2JppuKWOBQyQhqRlHLscvatOi+3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uQJgQQ7NQQMKyplIruJkZ70Ubz+PQkJHqWGSMLwA5QVdGERDRwuTYPbhjrGIXfa0WgaXza5KCvKc/uKSWKXwhhehHWDQCNr8ihrAgDj3RMB0tO0MAHhx17i6wU20i/lRSry9GzpYEyMvBPfFegZySOQ74hZkPRwUqx2kB8UDH5GCRU7ck8FyJQ4W/l+6+CH51ubKEoeOjlp7adUht2nUQdWfmP+h2bDh6+HBAi3Y7w+P53aGcMvM6b7vHfPXAlj+A/OoO5pq/d7XKQEIEfUCjz3Leb2KcrKvJipjddoejZSJdUU5ho/c4SvkjX1ZhGfShsUPp9FEjngEg0kdujUOa6shQu0M61JrEFSW4/DuUAEoHkRt4E06BEtF556eYX/D4qTqwmNz3eYwzqXiRGK3H3vOnEMMEZTvGafkTcPoS1XKDv81nb7Fs+c8h1Kq1Q+lvfUyY6Eqj0yI2TEGRAIt6ykWbghnlElr9u0wY8OjZ8PqTmdUJ0hAH8EGOCAXvBvzCbrw39kRLdpSZwnLrdpVlOptx/BYwg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d672b789-0ac2-4f29-c07e-08dbdfdc9a05 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:57:57.4328 (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: sRYPTIh7c0iyYfpXRYbmnKlUqvcYTaiueLVggbEFqA2lszOmT0/6x9hrf41lktXaHaqto9tk3WlgK34NTTptR4IW8O/6cT6BuX5WOe6IY+s= 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: HuiwYIi76RmiFcWCATsnlA7jVoushHdD X-Proofpoint-ORIG-GUID: HuiwYIi76RmiFcWCATsnlA7jVoushHdD X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: BE946A0006 X-Stat-Signature: 8qy9eqzesphc8c3ef1j8cadn4nqnxdqe X-HE-Tag: 1699394323-439441 X-HE-Meta: U2FsdGVkX19sdSIaFlEPr2u5/8be/S/Y+6IkkM6PV/w4fxOkeGLZuH1wuXhSkYUpviVd7BvQk6+o9P6/ysp+/plaXdLAE8po7hVIiaziQ93b+uFJe73dEPbjDg+ai9iRFTXUA93q8MBCWJRIBTnXlya9zLsyWn4ccoaHEbQtwseLtBetVfdwqUF1HlCEA91qLYjESKWzPbaTTm+Rx0+7dMQpKQ+F3g09HcrveDaq5tXjp6Pj4zuZpzhJhNZI3gL18EcC/W2SP3d3gYTXFK7fpBEoBA90mxnLjFjiswI6iwc1PxJ5GL2G7ALpRzkJblTsR/7AulBIuHcdGihCsflH1FIWGCvmrw5QrKWGOBDNxpGFphxXBd6y3v9Na3YBPrO7grg1667wSDz7Ala7AFZqu1zn6RaxZfZ65CAk6o1hNbKtTPl0bMyiXzz+Llz3kYFQzLGhNiJY+6skUsArdglXtzsmgXcyeBKjTQnHKU2KYh/wV5nT4H6SOoZ5gSiQFh0i5vySiw855jcpgIM3gzFAhpRtIzJbfzDvIdO2nusKeNJsqs0aN0tfu2x8CzkRmBIuNb6uziN2cZwhbqYPoWruCUwO87PoGl5v0hn7bPyN2lDIi4wveo+VO1wH15QHW1MRLMgE8TuUHxlUQC+F0ilMYV/NRZCsir0hrSmPX4GJAuIDZ9euHxfJf2oWjLxXVYNBDRhB2FpkKyRblTh27rUXfx4vtflvChqTqVeQSjQhtXuhGtsbSXD6EX/UPM3djgnplzLUiUsUIWEKZrYq2C/4kEEguMD0uNXvC8T12KamgGvLCUdTWrfzt4d71cP0pNUkzb626AY3/1sNW/o9l6qJiExqBOl0TfwPt4/QxX6SUh2G+vbNGt3nORvWN2OVAHWxIvDQzuCeeNL+ABt9Woj1SY//DD26r4Gr71HEHfuwTeMoij5dK4XUnxpGggom0xFkP6GUnBZrg7AoYY2cx3d Wk4Ok7ep 8eFIK/4oYALTK7ARaZFM5Wr63S8dYKpkrUGgmVgiX0CnYvRp4m3NbYNSfGEqN3KfMJ9+YfV8N7Y7jrYiI5iibqoakS2ucvqsySTzrzaZTH5GKPaHTTVQQ7+lKSDOKg+WK4HTXUcVrCRn7th3bTk2Ua/+7E8MQh0EW4JRDHCFiZtNkqIhV+xWL+4CkK+1o+NmuDEybhLFQ4JklHiWW/CDz8YjLbIZBmWqrWMNPToC5ybl0zQ6T1ucEAGtXi7VR9s2vuUwpMqZrf6WV/djgj8PELzbJ/mrfdhhNlVMvOHpk65I8nBCIyWN+LzUIImQBr5cBs0FLM6eu5r2AmbhTdanYA/UczaXn/AdWrnzNtc9OTYQryTzPCUR9t/pzb8E83LlK/X2x 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/kernel/kcsan/kcsan_test.c b/kernel/kcsan/kcsan_test.c index 0ddbdab5903d..6f46fd7998ce 100644 --- a/kernel/kcsan/kcsan_test.c +++ b/kernel/kcsan/kcsan_test.c @@ -1385,14 +1385,13 @@ static const void *nthreads_gen_params(const void *prev, char *desc) else nthreads *= 2; - if (!preempt_model_preemptible() || - !IS_ENABLED(CONFIG_KCSAN_INTERRUPT_WATCHER)) { + if (!IS_ENABLED(CONFIG_PREEMPT) || !IS_ENABLED(CONFIG_KCSAN_INTERRUPT_WATCHER)) { /* * Without any preemption, keep 2 CPUs free for other tasks, one * of which is the main test case function checking for * completion or failure. */ - const long min_unused_cpus = preempt_model_none() ? 2 : 0; + const long min_unused_cpus = IS_ENABLED(CONFIG_PREEMPT_NONE) ? 2 : 0; const long min_required_cpus = 2 + min_unused_cpus; if (num_online_cpus() < min_required_cpus) {
This reverts commit 5693fa74f98afed5421ac0165e9e9291bde7d9e1. Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com> --- kernel/kcsan/kcsan_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)