From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.48.97 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796192201; b=aW4gUqMTvQsahB0LEZQAieJSDlAmagVlq782GVBwOOm2wl5S9BJfPCrwr4/Fg5CIBWjF FFaDwuDV/SaKvdrCxFUF+1tYTwq4WkxSg8vK8EAFBszXdOYYfIJbULGf3lY38cUuvKbhA poDFVviB2mPJyiH+IB8niqE6X0GCXOUBXf7XC+JAee9mFv5ZPgHKftpjGoZflgEi/ZxOz wM+sd01BNCH41ZI0hI5Eo63G8+bPDbTeHvs9E761oE0kY1Mlad/d1ZdfmjotZTuqXBAP6 PEJxspAhrymRUl5JUkxAwnQhR+UD+zCZq1SMgXJVASO0Q/Gf5MrEo8WpPxMYKFEz1kQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796192201; h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:CC:Subject: Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator: msip_labels:x-ms-publictraffictype:x-ms-traffictypediagnostic: x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck: x-ms-exchange-antispam-relay:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata-chunkcount: x-ms-exchange-antispam-messagedata-0:Content-Type: Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg: X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=etplylcdLFtii/F4szO+v6DXOMR+M1BHDEj9UJHa95o=; b=jOAushJn3OGA6mhWPy98XbJQx8WxpIqEVH44lyPCXamd/yvw3dSTbTZOWqdRBWyxvTmk LO/HfAzcMK14zGPq0Ng7w5pPh/NbK9g8b/MBFTf5nMCG/SqI7T3fxLF/Em15AUOyhUu7X wLkLMM0nM4JkSIwfOTk5HQQE2qj7BDR1+IcYQToxL8SWyGFZDLuCIMxK/nEn4//gyAnLU 3kk0wLOIx4ia8wuoTIZ2ByDYpKPl6fUcOSDIUx+O3+ClZDEDlN59jbrpFwhsGcJCQt8xZ tphy6iyKxKYN2uAmiL2yKe1RgzUGkOoghnHfeIchKjnIg7pP0sJIYS3OMSbKgw0y7pQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=vt.edu; spf=pass smtp.mailfrom=vt.edu; dkim=pass header.d=VirginiaTech.onmicrosoft.com header.i=@VirginiaTech.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-VirginiaTech-onmicrosoft-com header.b=i+KvCpsD; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.48.97 Received: from MW6PR02CU001.outbound.protection.outlook.com (mail-westus2azon11022097.outbound.protection.outlook.com [52.101.48.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E97BB606A325; Wed, 2 Dec 2026 06:16:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E97BB606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=vt.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vt.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=VirginiaTech.onmicrosoft.com header.i=@VirginiaTech.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-VirginiaTech-onmicrosoft-com header.b=i+KvCpsD ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IX/quBXX5NdB3y0KG2sftrCiFQFsD6sjx9QGFcpdN5dEeE41LnAKSFIOP8Y6xTd5qI3Wj/lP3Qb6oO7A9pRgqLMbBFGH3Wjzki6nMA7ISTxia/ExvaGdgvWrrA4qE2lOOL/vO+epLMvnUido2fCmfh8yGSbMWAMxl5/xwhDs67d+ne84jGj3wOMXTn417auhCDy1284ihv8ZXFHeq7nedqI4dSlEb173mJt+dVVzHzVy3E9BmJGOaTYe1uUXjvviziJYToYcvk8Tly4EyL1kGoiqbE8mo/7GxBE33gMM6IK6I9KNe76arKkT7k7T2gdjBLaMUxxLHj9XyhAzKZecGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:MIME-Version; bh=etplylcdLFtii/F4szO+v6DXOMR+M1BHDEj9UJHa95o=; b=XxSD40/DPCt0xliQQNTCIbSYZzTlmvLqLrRC7YuMOK+Hz2UMowWJHTD67W/avXC4svyRdGMkDhdeQILpElbUuq4tED1WX3PDMGdAj7ER4+oEiednuk6XPJhVzVHuTNeUFp3cqUL8FK+EOcSl7w9GPR5pkOx885HqFwk555mrgmWmWMtIkrXIrNwOX2n9lpG4DUc26Ghfsw4qZ8ppzw8LYI+cPSHV1+JfkVuRtIeyuMJBlJQLJHGshP7Go4g4cj6wnydNUC7qyHZKEg90ipJYK8NGzoCxnwd5l0V9u1arFptRwzkGjb7QGN2CYYjUe3YO3yg4AtajqigH8EAEp3jcNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vt.edu; dmarc=pass action=none header.from=vt.edu; dkim=pass header.d=vt.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=VirginiaTech.onmicrosoft.com; s=selector1-VirginiaTech-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=etplylcdLFtii/F4szO+v6DXOMR+M1BHDEj9UJHa95o=; b=i+KvCpsDdc2NlEZnf9TLoRVrZNwHXeN0gtY+slDKh1ziYZTn9iu+hOwTcFqBVTCwpv++QX/g9FmEaz6UmVLCbvPUxS3jbf0COvLBS2FgZ/mO7omuzPjwEItU6mKRdr4edAn4Y6HY25CSEWeia7fwxbe6yF2bgHRQDj4T6yg2okY= Received: from DM6PR05MB4137.namprd05.prod.outlook.com (2603:10b6:5:81::28) by DS0PR05MB11052.namprd05.prod.outlook.com (2603:10b6:8:1fe::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Wed, 2 Dec 2026 06:16:32 +0000 Received: from DM6PR05MB4137.namprd05.prod.outlook.com ([fe80::a6db:3b91:d780:cd9b]) by DM6PR05MB4137.namprd05.prod.outlook.com ([fe80::a6db:3b91:d780:cd9b%5]) with mapi id 15.21.0688.009; Wed, 2 Dec 2026 06:16:32 +0000 From: "Ravindran, Binoy" To: "paulmck@kernel.org" CC: Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Uladzislau Rezki , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Josh Poimboeuf , Miroslav Benes , Petr Mladek , Joe Lawrence , Song Liu , Ingo Molnar , Jiri Kosina , "rcu@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "live-patching@vger.kernel.org" , Yafang Shao , "Shastri, Jaidev" Subject: Re: [PATCH v4 1/3] rcu-tasks: Add helpers to visit tasks on the exit lists Thread-Topic: [PATCH v4 1/3] rcu-tasks: Add helpers to visit tasks on the exit lists Thread-Index: AQHdfcUQnIWlHKLdE0+Y6XoN8dKWBLdG6O8AgAAHtTaAAB1WgIAARtsvgAAVAICAAeG/6w== Date: Wed, 2 Dec 2026 06:16:32 +0000 Message-ID: References: <20261126-klp-series-v3-v4-0-2ad73e9c9254@vt.edu> <20261126-klp-series-v3-v4-1-2ad73e9c9254@vt.edu> <9c5f9c77-95f9-4850-9355-13e9ac0ba6d4@paulmck-laptop> <3c5f8fce-56e8-43e4-bbfe-4bd5eed706a1@paulmck-laptop> In-Reply-To: <3c5f8fce-56e8-43e4-bbfe-4bd5eed706a1@paulmck-laptop> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vt.edu; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR05MB4137:EE_|DS0PR05MB11052:EE_ x-ms-office365-filtering-correlation-id: bf37425d-1a2a-4ac5-b0e3-08df503bcf5f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|786006|366016|23010399003|1800799024|10070799003|7416014|376014|38070700021|261028144727099003|56012099006|10067099003|261026121527099003|261026140227099003|261022105027099003|261021121427099003|261022075727099003|261102123227099003|261009223027099003|22082099003|18002099003|4143699003|5023799004|11063799006|6133799003; x-microsoft-antispam-message-info: 0lHUW/YEhCncnzArRokAyyBY+JhiZwBWQbJ2O14SUaPGkrkGoXvSK5FXngqQU893PlEiGpfkbQrJOaT7zfe+37BFDiRg7wlRoB92EB4hoQ5jw38EXPRJffZw3Vhhwm4Ngg1tiQ68o2W7CjI4hpe5oGL+1o8IGiF+zBIZgUpW1w9JCYoueyqAcMkHq3TKqSsKYt8YoTrKU+CAIHCYgyIsOEn8sEcULct0rEmWH88WFxByMLwywwx72Q/VCg0esPr6UAkl4XWF/hg3AE/b2c2qjU0F7StmyYnSlq5oGB+/89WQ85U9Aa3dqTFoJJb2l4lFnMdBgEZ5FqSv2TDrIw0CHDQ+ZdXbWSz06xxWyvW7MXV6BnBILW4rn8TTA9SBqkojwhVImVBwxa9GdhvkANetfaVQojQtLdaweDXDKZKqHkxN1TzQBanV/epYSCD382/cZTYy/Fr/NeNoS7bc9Cz9DZqO54lzcSYHt9rD7XXraA5ZqEGxgieSa1zhhSqOProjQvaQsLijUMHKyfWf0wQfOOg8HjQZugPP9imbbThkd1msUcaAxx0/q8MvDcRGMUe2tsMCMod+1mLRDRTmSI//6U+7Sfx7CuPA+pQJD3DevoR3ZRzvDkhMBKcflp16gmMXs9OMjerLZSDN62wdS+a988rKN3xvqpGQe44K6oogYECa7w9NPt6ykqRBH9qM5JIKQnLj5/YLwgoyZ2ty/ZGNXimIRxs2/8NYKcOYD+Vv+pw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR05MB4137.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(786006)(366016)(23010399003)(1800799024)(10070799003)(7416014)(376014)(38070700021)(261028144727099003)(56012099006)(10067099003)(261026121527099003)(261026140227099003)(261022105027099003)(261021121427099003)(261022075727099003)(261102123227099003)(261009223027099003)(22082099003)(18002099003)(4143699003)(5023799004)(11063799006)(6133799003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?pDv4GWpjcLo5+AGhjXQllPm8Rbj/AV4NymJK+9WIrmk6qcV0Pm80cG4eJE?= =?iso-8859-1?Q?QDbj7Bfo08ueRnka8dyiLSa1ud/le8xJtp8RRpOYPoOtYEtwveTZgLKNun?= =?iso-8859-1?Q?0HhZR/grsP9IjRveJgAef/uSt6JM6lhfBIa8dxkiT8QbSxEFum2HFxadS9?= =?iso-8859-1?Q?VOc4TA8AVr76nmD8FvydjMwO/VsFDorv7d8FB5hImlBGenKQXLAbaH2wi6?= =?iso-8859-1?Q?YlPZfkdlYkC1AoFJd8ZKbxmlbz5nOu6uQOGg3U2qWnzrWTGuVgLdWG33OY?= =?iso-8859-1?Q?9lRxM+5BmEYre/paIn7pT6loLI+DBQA9HVK+9lSQiHxsc3smMPyGl4S0/u?= =?iso-8859-1?Q?s5Q7z85zWhhMzg2w4nyf/5tTIOCpHFJf4YtcBE4B1GHjJOSkRHNCgelhAY?= =?iso-8859-1?Q?OlZcaNv5YPgKZ+20MPUneX8y6ot3ai35jewHAnYi01Sfo3JSji/Ur9w+Ol?= =?iso-8859-1?Q?3XCy5l/yBFsGsEOiVQ4K3GW2soHcqiJYmRDWA4nno6xx/hOp4+cuHixZzZ?= =?iso-8859-1?Q?k2KyS0n8D9GcRZ/Tmgjx9TcfCEsSJoF8euh4HY048hzyoz0cNnWElzUeiY?= =?iso-8859-1?Q?RqP8DrSpCHb9Zrzn9XO6eZB7RtpYUkJNxxr/whmPyM0wXpIoykjtfQL46Z?= =?iso-8859-1?Q?ZiOEnnMvXa0F/jLWazO1uHZL67jZ8G9aGbIvincLfEAruBvFiaYjEiKXLE?= =?iso-8859-1?Q?Da0l47tLkFVh3lTxP8C+cWO7RV7TbFM9iTt9mQkZ8750lFxJ5S8z+BEhy/?= =?iso-8859-1?Q?1PjYx3e/VIo9wi8MIL3RPAbnlhOPdaAHZwPMfIvexPHSA53Gw58Sp+0Spj?= =?iso-8859-1?Q?Uo+knDyJ8in9qjLanreQapDCxqNPbs3+Do3WkiJhIfku2lxlqX4Sp854bQ?= =?iso-8859-1?Q?9nyVvB5+ujKoCcxx1cmD8y7Bo9B1iiPhn8MwNrH7Vb8CeDQtf8IJPAEJFj?= =?iso-8859-1?Q?Fz9Nh99fEHb9Z8I4AE5OTEQ1yHTx/ecRJxuMqH4H/fSmHR9v6/NkrgarYu?= =?iso-8859-1?Q?kF8Wnfs1vG7831/CVk5VfVnPIstEQL/JQD4pAgQkxuaE3JZS3BofWM5ojQ?= =?iso-8859-1?Q?gfUoHNQgXsyZ1d11+lc3f1fBjSrWYXU6zDEaa0mfZ0B8BN1MOhwUlczqdR?= =?iso-8859-1?Q?t63Owvgax0+tpSJRvtfOEPm6Cj8wzrZpbmThcPIFkTWLAbXiPjj0AbVBTM?= =?iso-8859-1?Q?/42qKaD/z6tEK2X0rSS6qnKvl0MPxIjN81yXz7csveXH5E/IM8DGxfEKml?= =?iso-8859-1?Q?dsr1UxBNJLRIRT/Wa6LnWICSDyDz0chYJ8nrEQmEKDh3e3OD4aorbQ7uCU?= =?iso-8859-1?Q?kED7WQrjw1rTXg9Lr92EQDRPeNfhiYyfFm6Q3F4gwTK81ejqvPPN3pmM4l?= =?iso-8859-1?Q?RGw0iXdE2+9owxF3O9cwgC++v0JoUr8P2CLrBivjsbcm6TLbLogsevA8a5?= =?iso-8859-1?Q?V8SDBUplndOysJTCb+cevhkcTg9gaJkRCDZyxY3C1rSMXNqeIwVXFR6FzI?= =?iso-8859-1?Q?t+bQ1yL3F5MVTnKjF4ROtEqyLjGw+KrdxW9YlzC9xr7lxqNV4VhZnO5eG2?= =?iso-8859-1?Q?R9dregbUhYfG4HhJdrXsN1iUuN4M5sVYkbUVKRJKJFfE+7Hxqfa99ajBii?= =?iso-8859-1?Q?ezqz57Gtg2RqbH16RrVQQTtk4TILfdH1UiTG/6Iloh0hJQJpFxBpJfOWav?= =?iso-8859-1?Q?mtFiT+aX2pqBZIMFyXlM8wABiUq/s/uWWCJ4xPfBHvngQ8xXMSl5pwLR3x?= =?iso-8859-1?Q?jqobP6cFIyx3u1ezDnlsOFjTKT2FPirizHLYjtfBj32DgE?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-OriginatorOrg: vt.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB4137.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf37425d-1a2a-4ac5-b0e3-08df503bcf5f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2026 06:16:32.1319 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 60956884-10ad-40fa-863d-4f32c1e3a37a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: e9mQE3CcFc4lpt/LoXB9dS9JxaeM+wqLcS1qQQiuZXabhkHCazz89BNB/fyc26et X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR05MB11052 =0A= On Mon, Nov 30, 2026, Paul E. McKenney wrote:=0A= > Apologies for my confusion, but so many RCU versions! ;-)=0A= =0A= No apology needed, and thank you.=0A= =0A= > Would it work to add those __srcu_read_lock() and __srcu_read_unlock()=0A= > calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish(),=0A= > respectively, then have your code do synchronize_srcu() instead of=0A= > synchronize_rcu_tasks(), presumably by invoking a helper function in=0A= > kernel/rcu/tasks.h?=0A= =0A= Yes, it works in our tests.=0A= =0A= I built it on v7.4-rc2 with our series. exit_tasks_rcu_start() enters an=0A= SRCU read-side critical section on a static SRCU domain, and keeps the=0A= index in a new task_struct field. exit_tasks_rcu_finish() leaves it. A=0A= helper in kernel/rcu/tasks.h calls synchronize_srcu().=0A= klp_try_complete_transition() calls it after every task on the task=0A= list has switched, before the cleanup.=0A= =0A= > Some thought and/or experiment maybe required to come up with the optimal= =0A= > variant of __srcu_read_lock() and __srcu_read_unlock(), but those are=0A= > good places to start.=0A= =0A= I used plain __srcu_read_lock() and __srcu_read_unlock(). I have not=0A= tried other variants yet.=0A= =0A= > This assumes that your code would not be holding mutexes across my=0A= > proposed synchronize_srcu() that are also acquired by do_exit() between= =0A= > its calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish(). See=0A= > here for more details:=0A= >=0A= > 1612160b9127 ("rcu-tasks: Eliminate deadlocks involving do_exit() and RCU= tasks")=0A= >=0A= > If your code does need to hold such mutexes, back to the drawing board.= =0A= =0A= Our code does hold klp_mutex across synchronize_srcu(). I checked=0A= against 1612160b9127, and as far as I can see, nothing between=0A= exit_tasks_rcu_start() and exit_tasks_rcu_finish() takes klp_mutex. No=0A= test deadlocked.=0A= =0A= The test is the same as before. A test-only hook makes exiting tasks=0A= sleep after exit_notify(), and two livepatches that both replace=0A= do_exit() replace each other in a loop.=0A= =0A= Safety: 120 runs and 1,440 cycles, with no sleep and with sleeps from=0A= 20 ms to 2 s, had no crash. 42 of those runs used your SRCU change=0A= without our exit-list walks, and they also had no warnings. I did not=0A= test forced transitions with SRCU.=0A= =0A= Lockdep: I ran three kernels under PROVE_LOCKING, PROVE_RCU and=0A= DEBUG_ATOMIC_SLEEP: your SRCU change without our walks, your SRCU=0A= change with the rest of our series, and our current series. Each=0A= kernel ran 16 runs, with a 2 s sleep, a 200 ms sleep and no sleep.=0A= There were no lockdep or sleep-in-atomic reports, no hung tasks and no=0A= crashes. The only warning was the reschedule IPI warning at=0A= arch/x86/kernel/apic/ipi.c:71, which we also see without either change.=0A= =0A= Latency: here the two designs differ. The SRCU wait covers every task=0A= in the exit window, even one that never runs patched code. Our walk=0A= waits only for exiting tasks that still run patched code. To show this,=0A= I used two livepatches that change getpid(), so no exiting task runs=0A= patched code. Transition times, from "starting patching transition" to=0A= "patching complete", as p90 / p99, from 36 runs per exit sleep (18 for=0A= no sleep):=0A= =0A= no sleep: our walk 1.68 / 1.79 s, SRCU 1.68 / 1.78 s=0A= 500 ms: our walk 1.73 / 1.84 s, SRCU 1.89 / 2.26 s=0A= 1 s: our walk 1.75 / 1.91 s, SRCU 2.48 / 2.80 s=0A= 2 s: our walk 1.84 / 2.03 s, SRCU 3.60 / 3.86 s=0A= =0A= Both designs retry the transition once a second, which accounts for=0A= most of the time with no sleep.=0A= =0A= With no injected sleep, I also ran 24 runs per design while the guests=0A= tore down PID namespaces, about 430,000 for each design. The p99 was=0A= 1.78 s with our walk and 1.76 s with SRCU. The longest transition was=0A= 1.94 s with our walk and 3.97 s with SRCU.=0A= =0A= Slow exits do happen without an injected sleep. We traced exits while=0A= PID namespaces were torn down in a loop. The longest voluntary sleep in=0A= the exit window was 146 ms on an arm64 host and 2 ms on an x86-64 host.=0A= Every voluntary sleep of 1 ms or more was a namespace's init waiting=0A= for its children.=0A= =0A= So in these runs, SRCU cost little when no exit was slow, and it added=0A= the length of a slow exit when there was one. It is also simpler and=0A= needs no new walker interface on the RCU side. Which would you and the=0A= livepatch maintainers prefer? I am happy to rework the series around=0A= SRCU if that is the better fit.=0A= =0A= Thanks,=0A= Binoy=0A= =0A= =0A=