From patchwork Tue Nov 7 21:57:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13449414 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 86651C4332F for ; Tue, 7 Nov 2023 22:01:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0DC928D0089; Tue, 7 Nov 2023 17:00:54 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 068108D008C; Tue, 7 Nov 2023 17:00:53 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D836E8D0089; Tue, 7 Nov 2023 17:00:53 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id C19E78D008C for ; Tue, 7 Nov 2023 17:00:53 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 8B6FC120B58 for ; Tue, 7 Nov 2023 22:00:53 +0000 (UTC) X-FDA: 81432528786.11.99F6E04 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf13.hostedemail.com (Postfix) with ESMTP id 256BF20028 for ; Tue, 7 Nov 2023 22:00:49 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=2p1Mugt3; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ga8lMrZ7; dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf13.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") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394450; 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=e/s78Q0cIAeUu7C8BHyZikkXhbxwwbevLSilCf+E3nM=; b=N1cqH6o4Rqj5Y7DXNljrKfom5xMLptRQiBAiHkFzvGiN3KOyfmIZeXavp0S2iDmbPCyIjM 0/xW2nEb9GKhavXKhRywcZxNuXtRD3gDObJeMB3PhUTM/0ikc7ANyO32jKZAWe9HlPCEZW aHAWiPubL238J1dEGhd9ZBQIRdFqnUc= ARC-Authentication-Results: i=2; imf13.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=2p1Mugt3; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ga8lMrZ7; dmarc=pass (policy=none) header.from=oracle.com; spf=pass (imf13.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") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394450; a=rsa-sha256; cv=pass; b=MPg6WIdPvIWio1FXzmdAYVxSFzUSZaPcgZnnhHEsl1jPzcMrlKIEI1uK8oeygDuJDuJ2E4 HJAxTBO2cyjGyex1/Z6D/aPRAmI8OTtQfV4iwR8GK3QOlwlRnr6p0zbTRUQyODAaRjGrVj uweTMVg+p5poQQzm5ENld3PkZpamnKg= 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 3A7LJQ9H014468; Tue, 7 Nov 2023 22:00:27 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=e/s78Q0cIAeUu7C8BHyZikkXhbxwwbevLSilCf+E3nM=; b=2p1Mugt3V654BvWLhjjk3KRjMWyBEBuo8JB2k/UTUPl7nISU2k0LyBh1OcOTtI4HUbe6 vjBXSRKYSSK83gCceyC2MK/uGeFoOCML/oV82ZJgCLF6kg973/zvGQNwhQAWC1JqQGHK 7zMrIFUm41pU8g6DXljD0V4YnxQKSx1oMokCch1juhdjzzq3yhWjA2qBZbX+wykdiPJS vSZ3BzVrcheALNNw3yUUtF7niHcR2c1NV58tBmPm5MsVET5lNwaxX2kVf3VcmIueBQSt B2HRpBhvqWhcEl3YJ3o+cr5vWKBwCbRyTLtO0N/YUZkjaJq+CpkRif4/kj7RjzhuoJhb UA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w26r2fp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 22:00:27 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LIgdR011085; Tue, 7 Nov 2023 22:00:26 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2040.outbound.protection.outlook.com [104.47.51.40]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w1tskeh-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 22:00:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RzSFR0T5iVurd8peUNAs2roUn7IlkEDJJd0p+0Mop2gcH5gra/4F8Z20SbNMcrZdU+rPxDdabFsSBMnrAnW+gsiheLO8gU7L1LkSIUAwXyS63LL5OGap3ObYTCQP7MW6Ijl8DxdNU48FXKXPbGEf0CE2lbb3qO9tOVw8vSNVS97a7BIV72HbIQgDe/fz6rzosr6SBfzVUi/7vsxqMdRXuK1CPd96Qb4Y2WN5RO75Rl24P2gllZzhTMCUUUGrA8ABTjMY3fuAAMOAPnD2evuc//3NBPyk0AxVkj8kcPUEps5bhGNRKaheOP9ApPfmpetwX38lm7suxWiWG8K/IDBzCw== 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=e/s78Q0cIAeUu7C8BHyZikkXhbxwwbevLSilCf+E3nM=; b=beFkGc6dwpQ6ck2tv8dcaM8f4LpTLpnq6hyadw0Hoynt1ZIKzvseuy1wQpQKTFApLrG2Gx2dbY7+yftaPsxymRadsSBh/+CoBdwJx5pu/5TnJh+4XiO8sn7BXox6NAsVBzbbLoQ/ffsLgz3H/RX82WA6wvyalmZGyTePfJT0DHSOfM9I5WAhnYgflrcrQxNO0C81wxTDJAE/G1DU/4UxUNh8s28B9Hwr2omFWZXcJzD3xThWVXFGjqJ91/WM+SLthY1cNCd8dd3e+LHYjBDnzxMdYNRWU6PFZahhv/Lnk/O1NuENoJzLoNKFnLo1TSSmfJaRoa7pwNmA1/0jYVa0rA== 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=e/s78Q0cIAeUu7C8BHyZikkXhbxwwbevLSilCf+E3nM=; b=ga8lMrZ7taDnOZQHksofO1/LFnnn9thKl2y7Fe5v8Zh3Ggy41y+5yAfSvTOxrB6NnvMyDSSCSBdzptJYXgbGzxyEqmorjN8eZ8tj/ZgW3l0cJltqfwfcX4Bz/EKOYfa8aPJtyQSmJRvoI+4YudUdLczLCLNm9UdVkcmjnVtBhLE= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by PH7PR10MB6275.namprd10.prod.outlook.com (2603:10b6:510:211::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.27; Tue, 7 Nov 2023 22:00: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 22:00:14 +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 50/86] rcu: TASKS_RCU does not need to depend on PREEMPTION Date: Tue, 7 Nov 2023 13:57:36 -0800 Message-Id: <20231107215742.363031-51-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: MW4PR03CA0062.namprd03.prod.outlook.com (2603:10b6:303:b6::7) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|PH7PR10MB6275:EE_ X-MS-Office365-Filtering-Correlation-Id: 34127c0c-eb61-479f-b627-08dbdfdcebda X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t/aEkEkKkiQ52ESldTybzDDLxqrbNI/PpLWzq1Q64sLQIu+EOesrEoNfxp6tYvBIHx3OM/pZYQgDEJW1Ma7s5yXhNuYx4VHpNJLsfCaJJJYMM3dXG8Yo8SdcRGm9IvZh1sP0v88vMQ16aKvwSwHGuQ/EVf/0cVbpS8pnPBBqAv23oZJ2kqZzya+7wAbPKdeoiDyiyqxoREZVa85Mosr4l1M6xj0TpW8xEy4DCt4OgxUZVqQ+4Vq9RAlv1VSADIV9sijSkk1rd83z2VZzKA0Bl/54g4NhLJg8lMqOB8LI0EWG34SHX9sQmkO/dtaMGYhHSpbc04q/xWGAzQyUUvyp3DoAfww/jtq64IpAQU3Bv9/B2aGHVnog8AOTbQ3nO3SvVeo4pjq1/uHoHob2l/jXbEqdfojthpvzBIBZxvOPBMx+sbIChy2GZSXvw+wBapZ0x2sN0MCK2CqS+ajggoT4U28r59MSkj2vNaFU99FWemAo03fsDXOGuj/TGI8pJHdrEUBDeEGZ6x8TQ7qcP6DrwbPA9a4omZvQm8ObIdGjYLERZWzk4/TZxyE1OOrdY1Ep 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)(376002)(396003)(39860400002)(346002)(136003)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(66476007)(6666004)(38100700002)(6916009)(6506007)(316002)(66556008)(36756003)(5660300002)(7416002)(7406005)(41300700001)(66946007)(6512007)(103116003)(1076003)(8936002)(8676002)(4326008)(26005)(6486002)(107886003)(2616005)(2906002)(83380400001)(86362001)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AMLm5WtQ4rgmtF/dB55CDlVNBcr+aqZcgSAH2aZ4zVO5UkjAug1E2coPzH8qbiQkpz1+PaosETppFQ3xdZmB7uTwkO86Vc8QAJ1bk2qYjqPWO8gqVJXUXZMmOl12vJpKrN0/yIx7qAn19L02yQYqvFmcH99bZE5sPoOdlA632ouXwmZEhkfpZ2e5lTqIu4a7QzjS6KLww96FEXry9Yt8ALW6Qn3vdQ3XjBeHCbQbCasHJb4cLXH/uymSDg7QZEo9J7rLuIn7YlOWpdN2fvW3KLvpEKZqcuxiA0/uGvQgDmL5ThXd0Ar8HWgSdKlWnTdHpSBxHJreyALs8jNux4vUmcxLg8Q7eU6Tj1v8FNX+pF89BSEubaB77PoAkjEN+DbQpsu3h/WCWCYAduXRuTgx9U/iC4cpa5KL9qwIw/8egxtPXEBESmdwEtcKJgsbcadJIz8X56SzOYTe8nIxprZXrrKW5DxsI65e2yMb638sYaNitXEI9TNIGeP8oHUe5U0BBW2ko+yqtJB6QuC9f3P9dUCNSsjz0A3IKfJusQZObnevG6kRhEgdppQMhb0YJVxvUSrONCLUPNlyequoFmhds3aMbTA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9hgjhDSZXjcwvPKvjPwmsGk4Ern14y3GpIJSV/Z2vT3LSraNYSyZuySwrWPIY1aPMnkBYePwTMShv84rEicv5VbYNgdQQq2EUtrthRUM12DREz8SnZDrZ21JtxSSFvjBQrbCXllKykpVKhwFmdG4vSvPVCXKNZzIsgummHoAdE1NNdfsMWjEn9loJshmdTNElrTrEAVooHz5iZrmTD6r1iaEOrsEcig5Sw4WRu6uXc7ijhHsyCa6eQEZiuMUShEMsKxFvFMbbsYXGVRCVYOjj49SKPPDyMImZkYZ6wxBVaXbf72okT0hSJqVYDswLQ73Y1Cjn281kPeTRYiBoYuUoqiA3I9AZ15jWbY3HkivqzufbuhKd4rNAG5dvaFfJWyPXxrMbulEdEAUf1zBQ2GyIYawvixcCWtL5L18V7eXZ/4kztr4sLskWEa+aHCOLulXP5+rL1IdCDl2DMN1AxQuev2v/9CuhShp/tGtfrkqPQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34127c0c-eb61-479f-b627-08dbdfdcebda X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5409.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 22:00:14.7199 (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: 1HJhIJHpp7Wwg6oHfU2X97uT0i7UvUC0An0IX5MsFOxStl0i9Wz82NEU3NdajfchC5HzITOwWekBvk6UJ+opxskGpNXXl/7zaYeUcYmw2Ak= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6275 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 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-GUID: 8T6UtcZGwHdYg-kln6NIFwyrLLVsOpCQ X-Proofpoint-ORIG-GUID: 8T6UtcZGwHdYg-kln6NIFwyrLLVsOpCQ X-Rspamd-Queue-Id: 256BF20028 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: fj9fer4qa7a4k6jwu355otc97ifpcg5b X-HE-Tag: 1699394449-736390 X-HE-Meta: U2FsdGVkX18ZyPxBIP0pJa6ADYyHl5ozUfVf5+GW5Dcd7G6UK/rbmVlmpuk8HoK/hIlDblMMLXAF2d/q3QcWI22uFLpO5tF9UkF6OvM4r+1k5f+nZVL+si4mAfZhvy03CPx1S0mM5Q2IipgT8uF5yAb80pEx1WN0lrZZyO+nlntjIgJWM0fXq2vVjXQCk/Uzba0HWCtvGrUdZy0LepRdhzOyJ0SpzeWyh+bsIXd71c0A4bldt3wmNiAnKJq7CnmzSx1rFdD5KEsxgQGglzBiMoboGYQt1JXHWXm4JZVfKHvj12+on7E9xUfJ7spRiCyrBoglqI79nvEW9gxeqsFTEeDLrpUqgxuPQa3/+9eysVaYas9yfCyuy7iq5nb+DfptYDocPe8n7PzkO7WAD+k4lbF6zeAcXvEnJtBQ9eNhCsdIG8iO+trb9tDVGL2j9zdjFlI5tEunyd5J9sWLhTkeao3NaBMxxqXMckrRiX6/vzAE8hUyUxLxSvRz37LbqwTiM9pLVHa+0nv8UyRFSxFGp2ThZl7ii/OgfweyF/0Dh33rGNDd1MISYRGXKxsSAu217qzdE/uR30bWjN3th1/eMhxopVDUl8q6sP0IU/cVK7XdbH2JECGddjW6yBufdCHIEsVVLrw+hZ0OKxkPp3SVrXSScS0oNJ44gBwiABqrCTCoYdG3cqT1/JdhScj+zMsDDFk3cthDpxkTxNN/lHw8CgJm80BPxkLq+J8FzkkdMEpbEmbhetRN+xZC5WgbwIK/v3HPxnXwHISqwKk9l9odNsdvANPJCmfSXEpmUoXhKcUWhamTDMRKCKmsOca6W8Pq0lXMDFDhT11siDgjGZ2rH9Qipb7Y3vUH2uH38QIzQL+n9K7JvGsQKF42dG73gMSARxcQjFq/9t7RK7a9l72BNKfrc+/7tSE/rn5z/PXtNQdKhDRrLde9AUi0RIwn2lLcunCPubGLIf/+NOREgSU B0tYWzFR 5YEJfCstUdVXdoyzpMop24I0zivFcGeKcC1q++YMAeR07/2l2Rxmr4Kq2mXzNa4LKS8vPu5yC/6ciJD4cjK3caWTpWhAxo04nz/ofvMg3X8Qxs6JIAiPtqkDgWLggVLrlK/sbO5vVacNewhSirNxGD4BqZJ7Vpy1TO+O5N1JmJUPP13KE/ApXzTRoH9ckdgWlivi/z/1d2i52BGi8HKFS1wg+4s9ia1LxoGRA6LYqmFwzMFU9JAk4GNXtFpi+Yl7D1nlLonPj575MFbpGQnCvv3bITxSebhO83bmLiCAVTqRPkRmwPwPcSbhFkxxr0Wv9AkWu5q3XWNHJ2Vx7dPbCPAEyX66rsst3ohREMCgsvumIm365ZD5eRj/tTHPLHyKDqIgORqd7cdgUAMyw1UeMLstOVAQVp7vec+WlaxbQ+lNiiFy9KfkAcImczR8iWqzYJK1GXIGP1bEeR+zGE5PdCDWMRUp9Z2htUPNTEbMVh7kJhT240biO5Y2M75b6I/Ftlm5/IQYqa5t3cD3b+RVkxAzhmyDJiydIZ05ErDFbioVUmO4ZfuwZ8Uy5RfTo8Qk60XTGyeylBReHYoHUq/Gr8/fgfb8z7yBcoW3ClKolnOqPQ3kDPCb5jzv2EA== 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: With PREEMPTION being always enabled, we don't need TASKS_RCU to be explicitly conditioned on it. Suggested-by: Paul E. McKenney Signed-off-by: Ankur Arora Reviewed-by: Paul E. McKenney --- arch/Kconfig | 4 ++-- include/linux/rcupdate.h | 4 ---- kernel/bpf/Kconfig | 2 +- kernel/trace/Kconfig | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 05ce60036ecc..f5179b24072c 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -55,7 +55,7 @@ config KPROBES depends on MODULES depends on HAVE_KPROBES select KALLSYMS - select TASKS_RCU if PREEMPTION + select TASKS_RCU help Kprobes allows you to trap at almost any kernel address and execute a callback function. register_kprobe() establishes @@ -104,7 +104,7 @@ config STATIC_CALL_SELFTEST config OPTPROBES def_bool y depends on KPROBES && HAVE_OPTPROBES - select TASKS_RCU if PREEMPTION + select TASKS_RCU config KPROBES_ON_FTRACE def_bool y diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 5e5f920ade90..7246ee602b0b 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -171,10 +171,6 @@ static inline void rcu_nocb_flush_deferred_wakeup(void) { } } while (0) void call_rcu_tasks(struct rcu_head *head, rcu_callback_t func); void synchronize_rcu_tasks(void); -# else -# define rcu_tasks_classic_qs(t, preempt) do { } while (0) -# define call_rcu_tasks call_rcu -# define synchronize_rcu_tasks synchronize_rcu # endif # ifdef CONFIG_TASKS_TRACE_RCU diff --git a/kernel/bpf/Kconfig b/kernel/bpf/Kconfig index 6a906ff93006..e3231b28e2a0 100644 --- a/kernel/bpf/Kconfig +++ b/kernel/bpf/Kconfig @@ -27,7 +27,7 @@ config BPF_SYSCALL bool "Enable bpf() system call" select BPF select IRQ_WORK - select TASKS_RCU if PREEMPTION + select TASKS_RCU select TASKS_TRACE_RCU select BINARY_PRINTF select NET_SOCK_MSG if NET diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 61c541c36596..e090387b1c2d 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -163,7 +163,7 @@ config TRACING select BINARY_PRINTF select EVENT_TRACING select TRACE_CLOCK - select TASKS_RCU if PREEMPTION + select TASKS_RCU config GENERIC_TRACER bool @@ -204,7 +204,7 @@ config FUNCTION_TRACER select GENERIC_TRACER select CONTEXT_SWITCH_TRACER select GLOB - select TASKS_RCU if PREEMPTION + select TASKS_RCU select TASKS_RUDE_RCU help Enable the kernel to trace every kernel function. This is done