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.57.59 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796337924; b=3Ko4vugVVTcaxUA9SQLO1O+mlqEuEQfL+l5/JiJuEHFewcXhCCQzDFqdx3/pqP+837Qb su2YBpluLWsE0jRz0xhaDWJyCBH+xPpTz+U1uM/fvozDQHCKJVimAd4HmV7xZWudqTUGl Xfn4iGFTJORvGvf4r6H8ij+be3MCAZFX947uRotRAReLaUSdgUbagCU3bLuvw3kv2Wu9m T44PTTor6EcrRBbjTbkJ+QkJGvr2V52RK8crMPfYZaE5YU7KqEvGaslm6U4tKGHk3Lm5t OUfC70Zyso6XhqiPleOQoHfEMf/0ERKxd+IH4GcjveowOEqyI8W1yDurdpW69LaMh6g== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796337924; h=DMARC-Filter:DKIM-Signature:Received:Received:Date:From:To:Cc: Subject:Message-ID:References:Content-Type:Content-Disposition: In-Reply-To:X-ClientProxiedBy:MIME-Version: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:X-OriginatorOrg: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: 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=aEVhK5/sR4XfVmiVY3jMc0eMHCpPj7vW1Tv+VlDtblk=; b=BgnmpckCNGWg6ZkHWfqVwQBXObFPD4uJDOgpDjVlVIeP6HfyRODFQWsoxJQA1cqeaZvu +sveB4E1rDx4n94pnJGmPWp63WUX6qFcaCXvViCQHjmo+4LR/+eQBzg47rd6lg5FocxIS 9jbT7Y3UX2q/0dojIv6FUMR52PZWIsFRS/Pxm8HvRXTqyvHqoCt79G/CoV5p6PAbo7BqC C6dC0aruLLwASH+i7MyhfeX/E8LCYcq9Jfr4SLVCkBwxkFaGhk3B+3AagxAVeAcWum3wg onrCh1rOVp/tS+ajV4pylMjWLQgOoG1Qo8oi22Bi9DlOBZZOurx6/TbTAi8oHXvtVWA== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b="pr0Nll/Z"; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.57.59 Received: from BN8PR05CU002.outbound.protection.outlook.com (mail-eastus2azon11011059.outbound.protection.outlook.com [52.101.57.59]) (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 57665606A32C for ; Thu, 3 Dec 2026 22:45:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 57665606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=pr0Nll/Z ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jN+BTQua0d6HDmssmBPyFeS7zSY8JyvtMwlC49M5UfHozcGfKj749e1w6C9lSOMXJ1gWWjrQJVesnBmanvsAetLVwlOMVyU32t6pSeoMu9tqwKR35AM9KBoZZ8YXCCFBkLtS67jBV3Kw45+4Uj02WXFqPeR6cny90kzIF+YJ+UvGXb9vipsMQetVPkafVFWjtLnz8BLmfpH0PYyEe6jlX6qEtWeBRzZoDIsIVa9YLS5QaKItjbNBv2kkKIPT0a2I7rgyra5zNoLNfZl4TyH9L6DbUQprgUp0KRy8lRaLmuKvnKrKhztuTNLT5epsdMXOyQCFFf28hB1c9B8o5A8H/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=aEVhK5/sR4XfVmiVY3jMc0eMHCpPj7vW1Tv+VlDtblk=; b=XiniJ7TiADc7mGdXeymkuJ132WuByBU9hkUP28Heo3gaq2zHtpL8mxYNtUYuVm5d4Rxu4JO+fsgVg09D7a1G/ZDxIs7H53CAY9qfQc8hx7hjk+wBSARCouZ97yta9Zxuc9jiR+WlblCaR/9tWqFy1/XO1yiGJFWZ75071+WOTfXpzaKIqmEkNDx13K1XFtma+cslj2lepq8miXAGxTKJDpwZxgwPqTfQv/SDPmhxmmjbtSJUuq2BsuOaMEkRYCYXZQqCTENZ+ZelQAB4kzbM4RGQjSumeNvt33kuPAitBDHD+r6gjj45YxgFElb6xleFTWE71biCBdz3l6BbCu8YpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aEVhK5/sR4XfVmiVY3jMc0eMHCpPj7vW1Tv+VlDtblk=; b=pr0Nll/Z2tEfhoUMXlfGaQE+zvwDUw4Y51Q0czOps79Xy3AUl7+mzcUf2oaHeWnWJDtF3+RbA3OPS4+HbzuG6sj2hVRLNZmcAe/kjaio9j/QUCPov95XeQ64s6C86/3mzU5+lOg9jR5YtvRkLBUiG+v96ge3yqEEUEHvGLLyx/ZQXUTGj5bd8q+loIQziaqCxRr6ah6Z1xNzCjYG4qmC0v3x1JjFiTcItIRpR5K8HwBrN96rnAZAkT9czzHezimPuPGt3VSBF4BV7aJB3uLGFIrFvpavr8DCsUyurFikezLHgakvpthVI1NZFgSiSiUbweg/oQYAiVNrQupJqiWbTQ== Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BL1PR12MB5174.namprd12.prod.outlook.com (2603:10b6:208:31c::19) by PH7PR12MB5925.namprd12.prod.outlook.com (2603:10b6:510:1d8::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.12; Thu, 3 Dec 2026 22:45:19 +0000 Received: from BL1PR12MB5174.namprd12.prod.outlook.com ([fe80::58de:822b:868:96e9]) by BL1PR12MB5174.namprd12.prod.outlook.com ([fe80::58de:822b:868:96e9%5]) with mapi id 15.21.0688.010; Thu, 3 Dec 2026 22:45:19 +0000 Date: Thu, 3 Dec 2026 23:45:06 +0100 From: Andrea Righi To: Chris Mason Cc: tj@kernel.org, void@manifault.com, changwoo@igalia.com, sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH sched_ext/for-7.4-fixes] sched_ext: Don't skip NONE tasks in sched_ext_dead() Message-ID: References: <20261203202815.32456-1-mason@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261203202815.32456-1-mason@kernel.org> X-ClientProxiedBy: MI1PEPF00000D6C.ITAP293.PROD.OUTLOOK.COM (2603:10a6:298:1::49c) To BL1PR12MB5174.namprd12.prod.outlook.com (2603:10b6:208:31c::19) 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-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5174:EE_|PH7PR12MB5925:EE_ X-MS-Office365-Filtering-Correlation-Id: ca360aca-0d45-4134-ff91-08df518f1b8e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|23010399003|366016|261102123227099003|10067099003|56012099006|261022075727099003|261022105027099003|261021121427099003|261026121527099003|261028144727099003|261026140227099003|261021123027099003|261009223027099003|18002099003|22082099003|11063799006|5023799004; X-Microsoft-Antispam-Message-Info: cO+QGguSJQKQmTkA0D4PIf0+kfjgcyiTTEa9Ty0bx/gaph6+zumtbYC+sGcOI9vlqUZGnyXHSvEFrh+Sw19L5g2SgxxCKM0UX24MXgTeprInsltus6yW7j2jOcNy+zGuPvyJT1/Qafda1as7q9xgcsY5IXH59bkb+j4hTaJxumB5Zd/YZhMYjERhw2XHpJ1N8hXaSvrftamJ4UEqHPP++QFYIGHhtRG5YE0ix430bIf1EBGLWSif07eVqBPqquVqAlpB05u4jmXCmt5OvWEhImuJFB1xww024hxyzIuBh1CRKGHMf3Jr+XKUKmghUcCP3ag9bv+tQ18Ju/makKmMgza2r2m2TgM4ZjOahu/65Xd0hmTpTW3MEYu97EhafdJV6t+Ap3sl3k+famt3iG69cn2mOBOkRZ2rMIosFgo8BX09kJ9YXCzgY4+DrgcxIfM6CDwLhet5sliH3OxtI9GHfpGPWpw7Kwkh9mfK11/YJef+353F1JRRKQQXMBqDKK2vIHIZcD1CF1UqGZYw2xeXgM1fm8gOkTYW5xbTXxEmCF6pgByCApwj3d0/5eNQc3Wh4ezrxIoeVfpffN4ZQ74jfcbJGKuS0QlwpDpmijsV9FdfPZoUGgRaPRXeUm3CcsdKjqxYdvwOK0YCwV7bk2MM9SjGNd7ibmemMGhVynZgTb4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5174.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(23010399003)(366016)(261102123227099003)(10067099003)(56012099006)(261022075727099003)(261022105027099003)(261021121427099003)(261026121527099003)(261028144727099003)(261026140227099003)(261021123027099003)(261009223027099003)(18002099003)(22082099003)(11063799006)(5023799004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?f7yVtJMSNBetiawoHsKbAJ5Aj5rk3AUow4ii2nx0Zvd44D4lblYCBXU3DR4t?= =?us-ascii?Q?4Pj7R2DkPbkEzine7rZbrPhpCZgRT6SDALifVexDRpsUG0xB4Vnh2W55gTCR?= =?us-ascii?Q?IPHCECpowKQS255SquQL5x6QISD+z5fwvHrVoxlWzWy3AMpdESx0KHdqgbSQ?= =?us-ascii?Q?o5IjZhrJ5KHLmmv9c5AI3iyiTHlp0Uiq0jVZ9NzpbqXhZ5/RTZogLpaLThMo?= =?us-ascii?Q?DXFy5khdKqpwZMSSsT09Ye555QJLACoTByRGXMWxfnyJ8E1MNodzb9OY2xeo?= =?us-ascii?Q?e+lyAxwmB0k50elcMzVPOXnO71TdJMeY400pl2pjTxOeo5jPdXxYQUFwAcTr?= =?us-ascii?Q?D/Y7n6qv83aRPM9wU2VkIgaWdgX+0R/nrPgKY2akKrcVCKJVHSVOrzig82Ky?= =?us-ascii?Q?ccMBQi7T4RGO9JRcoD3BGYpug8M3cMlNJyGSw7pELDKFF8ECJ2iludIogq3Q?= =?us-ascii?Q?X4PtnD9donXULADDE8I0lS450KeH33BgVH5+qR7K2IYbf8NHD70p8ZZ66mIf?= =?us-ascii?Q?M/4hRcqJFkVagrSt9EJia5xvvz8aoT4IsJn7OXR2Mq6sFsi7+YT6m0hTC+hP?= =?us-ascii?Q?Q9oC9LQPHP9PLyRhutiS44h9c5tURPzrQs1wo1JyK24s3D0FlGIRYuKe+toP?= =?us-ascii?Q?M8DpIa70y5tQ7909Q3Rw9wMD9ln6eBjU5NYrrUByXz393n6nK874LKbz8Xyb?= =?us-ascii?Q?cp8c8vSEz8vha20cN9bA9dCJANI6AcfXCcEglp2BJx7CsTNzgITYTtHK+a26?= =?us-ascii?Q?8sNCPWfV24VJZM8jIf9+Fy3WlcrqVSZffCdHeSo3bh8cGO99t0qvbycGYlJB?= =?us-ascii?Q?Kkn66/bR71qO+0ks/q7qlbfj5ME7zzadgEeRH6ZX8mgf9fKZq1IK0455Juc3?= =?us-ascii?Q?fmDSjqaou8/y1KMHLmMVpS3WAHbgT6oMUBH3MQ8+2nxkwB+tMj4JGo97OTRs?= =?us-ascii?Q?Jc/mutvLPOgGlVQp54mKU3IxvlcVTjuZF3LbLLd8pFtC7oT6KiNXRwSyjAW2?= =?us-ascii?Q?qhVdWXzuSWmcZvcuV5pJbhG55iCo6jiTLLZuwtQ2I3ObNwOrDFMRBGiO4ZoW?= =?us-ascii?Q?Ft1PLnzreUIyDb+Jf4PMAoRTpkrNMp+vaDGthTdTFs4URSMjKU/FydRhQPVJ?= =?us-ascii?Q?SeXyvWqPvf/1RLoZkKPZlfUov/55q8uvnbwe4glUkoDh/KWeiJYUX04XHRBi?= =?us-ascii?Q?n4r0d2GEWv0l9A737e5Y7D4JxPmMRE4MIWxZlOz3qaTCefN1g0ZwL3m2O9+G?= =?us-ascii?Q?QvQ1kAXi1iAvHFtZX6cBUbRJ+uYdkZt+lH7FHON4qrBbAmrdr+qdPZppExdn?= =?us-ascii?Q?mNxzsXVtZCXdtEIFe05T9oQNvkFZa9jqP4aFEeU24x706udYRXTbmqQNyaYG?= =?us-ascii?Q?/YyQvWdZsy7XeZImpE9/ePlhMOADiSQ6MROu/CQKlR1UvvPYA9O4BR1J9En/?= =?us-ascii?Q?QlMZj53Uoa0etoTZWI7iEV5PjYAfT3X8/Oo7ukBgN8EG0Pcc8nfz5V+Nn5Sl?= =?us-ascii?Q?UQXBbSmNjNb4Pq4A2UvoynU/FwapkpDjn2/YV6M91fgUbnrhhhWiK18boDbQ?= =?us-ascii?Q?iV0XJybB9iOBVa6kBA4HsI9vTcveB/Kknb0LSI2wKZXuBSRbdIYjy7HU4t64?= =?us-ascii?Q?fYZANyujmtTHlpeTMSXTMbZ6nrfuGtm6n4WIZj51z+4H4lDbSarw2q6hJRss?= =?us-ascii?Q?+lmgYWEwQshGlfc2VjWL0vYFmv03MjN7O8S7Xeax2AUHLHEteRGTZ9bAxSYi?= =?us-ascii?Q?ACWEP2GyqQ=3D=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca360aca-0d45-4134-ff91-08df518f1b8e X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5174.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 22:45:19.6186 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OwX2a85+0veMPr5Z+DftIpGCRstt8MdFPGDk0A/K5kIHI4qW0dH58oUO0cxoirQOY+6xQ2XK8ptpOXPr7D6DOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5925 Hi Chris, On Thu, Dec 03, 2026 at 03:28:15PM -0500, Chris Mason wrote: > sched_ext_dead() leaves p->scx.sched set if the task was punted by > scx_fail_parent(), which leads to a use-after-free of the parent sched. > > Tasks hold no reference on their sched, so p->scx.sched has to be > cleared before the sched is freed. sched_ext_dead() doesn't do that > for a task at SCX_TASK_NONE, and scx_punt_task() leaves a live task at > NONE with p->scx.sched set: > > scx_sub_disable(sub) > __scx_init_task(parent) fails > scx_fail_parent() > scx_punt_task(parent, p) NONE, p->scx.sched = parent > sched_ext_dead(p) > list_del_init() p is off scx_tasks > state is NONE p->scx.sched stays > scx_root_disable(parent) > scx_task_iter_next_locked() doesn't visit p > scx_sched_free_rcu_work() > kfree(parent) > scx_bpf_select_cpu_and(p) a new root has a sub-sched > scx_error(p->scx.sched) The analysis makes sense to me. > > The fix used here is to drop the skip, so that every dead task is taken > off its sched and marked SCX_TASK_DEAD. > > Fixes: 337ec00b1d9c ("sched_ext: Implement cgroup sub-sched enabling and disabling") > Signed-off-by: Chris Mason > --- > This is an AI generated fix, on top of v7.4-rc5. > > It makes every exiting task take its rq lock in sched_ext_dead(), even > without a BPF scheduler loaded. I haven't benchmarked that. Yeah, this is a bit concerning, I think the suggestion in sashiko's review makes sense, we can add a fast path that checks for SCX_DISABLED under scx_tasks_lock(), to avoid the extra locking when a BPF scheduler isn't loaded. When one is loaded, exiting tasks are normally READY or ENABLED, so they were already taking the rq lock before this change. Something like this (on top of your patch): diff --git a/kernel/sched/ext/ext.c b/kernel/sched/ext/ext.c index fd3d3d49be145..b67eab423fc82 100644 --- a/kernel/sched/ext/ext.c +++ b/kernel/sched/ext/ext.c @@ -4988,6 +4988,16 @@ void sched_ext_dead(struct task_struct *p) rhashtable_remove_fast(&scx_tid_hash, &p->scx.tid_hash_node, scx_tid_hash_params); + + /* + * If disabled, @p is %NONE with no sched and, being off + * scx_tasks, can't be picked up by a racing root enable. Skip + * the rq lock. + */ + if (scx_enable_state() == SCX_DISABLED) { + scx_set_task_state(p, SCX_TASK_DEAD); + return; + } } /* BTW, I think the lockless NONE check is racy even without any ops.init_task() failure, scx_rehome_task() transiently goes through NONE under the rq lock but without holding scx_tasks_lock. If sched_ext_dead() hits that window, the task is never exited from the parent and it's left with a stale p->scx.sched. Your patch fixes this case as well, and the fast path doesn't reintroduce it. Maybe it's worth mentioning this case as well in the patch description. Thanks, -Andrea > > kernel/sched/ext/ext.c | 24 +++++++++++------------- > 1 file changed, 11 insertions(+), 13 deletions(-) > > diff --git a/kernel/sched/ext/ext.c b/kernel/sched/ext/ext.c > index efa1d01d03afa..fd3d3d49be145 100644 > --- a/kernel/sched/ext/ext.c > +++ b/kernel/sched/ext/ext.c > @@ -4973,6 +4973,9 @@ static bool task_dead_and_done(struct task_struct *p) > > void sched_ext_dead(struct task_struct *p) > { > + struct rq_flags rf; > + struct rq *rq; > + > /* > * By the time control reaches here, @p has %TASK_DEAD set, switched out > * for the last time and then dropped the rq lock - task_dead_and_done() > @@ -4992,24 +4995,19 @@ void sched_ext_dead(struct task_struct *p) > * ENABLED transitions can't race us. Disable ops for @p. > * > * %SCX_TASK_DEAD synchronizes against cgroup task iteration - see > - * scx_task_iter_next_locked(). NONE tasks need no marking: cgroup > - * iteration is only used from sub-sched paths, which require root > - * enabled. Root enable transitions every live task to at least READY. > + * scx_task_iter_next_locked(). NONE tasks go through this too: the > + * sub-sched paths change the state under @p's rq lock, and > + * scx_punt_task() leaves a live task at NONE with its sched set. > * > * %INIT_BEGIN means ops.init_task() is running for @p. Don't call > * into ops; transition to %DEAD so the post-init recheck unwinds > * via scx_sub_init_cancel_task(). > */ > - if (scx_get_task_state(p) != SCX_TASK_NONE) { > - struct rq_flags rf; > - struct rq *rq; > - > - rq = task_rq_lock(p, &rf); > - if (scx_get_task_state(p) != SCX_TASK_INIT_BEGIN) > - scx_disable_and_exit_task(scx_task_sched(p), p); > - scx_set_task_state(p, SCX_TASK_DEAD); > - task_rq_unlock(rq, p, &rf); > - } > + rq = task_rq_lock(p, &rf); > + if (scx_get_task_state(p) != SCX_TASK_INIT_BEGIN) > + scx_disable_and_exit_task(scx_task_sched(p), p); > + scx_set_task_state(p, SCX_TASK_DEAD); > + task_rq_unlock(rq, p, &rf); > } > > static void reweight_task_scx(struct rq *rq, struct task_struct *p, > > base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244 > -- > 2.55.0 >