From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D4CD3806A9 for ; Tue, 3 Feb 2026 06:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770101060; cv=none; b=MeUGYDUCxEPL4GOt+f9A5R2G3Z7FLREz7ED9/WrO6xWF3uuV4mi0ISjWBjkrXx9Dgi0vWBmc3UaQ/ovc3IFvaKQ40RQSNkjklapc1RJ5Q0F12x6ylRr+YSuRe1Pa1x0sdkNcd2ZUIfw7/I+uyNc6MyUq6PbF1wlyjhf2NlYXE+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770101060; c=relaxed/simple; bh=xPrjfL5UwqvxmZ4Tuyb8DauipHhBBgFFs2A3jGN9xGw=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=RPVgpKS3Swvo92sIjIF6rN0LWNONN9Q1MjSj+Mrn72gxXIgxG+LsDDQgVL8+c8tv0+YmSdFc9ZxsAeY0iUBcWRdK9E7QMcYNa2peR3Cru+jXWaK0JbJjnEu6qQ7/Z2wt6CmUfdPI+fHR36Ya7hUE9tPKBxyZBuK8Ue2a8/NxICY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dEdAWPEB; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dEdAWPEB" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-82310b74496so3052398b3a.3 for ; Mon, 02 Feb 2026 22:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770101056; x=1770705856; darn=vger.kernel.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xPrjfL5UwqvxmZ4Tuyb8DauipHhBBgFFs2A3jGN9xGw=; b=dEdAWPEBegPcA7qB1xpB4OEdcHwfJVZlsxOlzIpj39aVsGwI3FeYbMK7/V0Twe1qF4 y7Jo1CgaOFTavUs3ULvpBU7eo4/MDLrgFBSGNMIP9yGRqHm2byXVjAd2vxFrG/hCjUsz rZnRl4sXqcwTIw2pHHetS+TR+k6wLfG2i+L/fOkc4PjihmOMl1tMO0NG8vsuZ3WrxoKb /1UhVLDPh+OOjJitcChzfbrSTFmi0fda0kO5gSIbZKhkFJn8fIE3sFEs5MdBDtCAzMK4 2cBYEWRBWEVeC447ubhK7u8UD6YRV08qfOF41WlKHj1xkAq2S4to51CL1mmsjVRYquF1 3J/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770101056; x=1770705856; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xPrjfL5UwqvxmZ4Tuyb8DauipHhBBgFFs2A3jGN9xGw=; b=B3xlRqBQPNdSHzZi3jVx7sKPtaNcU88MqpugscbPHTqm/5R+68WrpUmW4fPQV/P1ga 02DBZ6SQ9Ot7PF9DwiInR9atSHfrRBjDS7KLVDFiiJAWx8e7LF6bt78vqxI1ddkyi7gw fdRLKrhupMOrc6iMsnsXnfEguHK2fBwwAWv4v02+8TZoOs0CbR+q3zApJIU1+JxKFs64 SP/ureNXbxLPiiMGO07QQXylcVTHsUT5HJJVSckO0+rxUmwTVKbwzFW34YqT1ihzeqyM Bh8bbLMywE8OFWTHk9VWi7j6gWhdECFBigGBgd4D9p7yhFPAEUFdDUAWglWA4cxNe0Sr Agyg== X-Forwarded-Encrypted: i=1; AJvYcCU2qegaedOCnv08tbvrbPy4hE1PYO31izZs4q0cddeE5upeWGoEeG3Taf2gmjoC4q2JEEOcaFwk/HoEkrY=@vger.kernel.org X-Gm-Message-State: AOJu0YwnHBNy8QBG8XyXIYtnOWoxOmxoxLuDohhjEFbnZ9a/03bRt0ut 5pMm+WhxyX1XweYJ62+0QC009ZQYmF5ksTIuPveG/rxMr3tNsr8mQAA/ X-Gm-Gg: AZuq6aIPekcjH68cIrG2/T8n/rhCBV7pOV2DcIj6Ls9SV8Tv6RDS4URcGxHWdVWPfm+ JD5WBWAJzkvJcYqQC8pQ5rTb9AVgJEM4eflKY8/SjY47TS3018nxD9LwHVjtzbWxItpzrBFte5Z I6gWqieCvVwUJoP3RfM5fjzsjbGS0VA3NQPSDoU7r2ny/Dg+Nb35mHlg1w249p45YeSGfsjDgwy tJudKr/04XH9Qn1Z7COuCl30lxjNm9VTp9OJEfMzm6B+vL0azbzx/X1DXqIJPbpdgEmLuJMfBNl t3319G8oWnerDEhS7LX0zUJhjue0vsDD51UmdebrNM57pvGVKaVVH8EZmAuLT8Y+96qaBeJzkUQ Zw6RZcrrT/Ag+l6jU4DlFX0pYxvuazOxj6mNSG2SS5BRZV7V+2RpDnlhnQzNCGyqrBoHokxTSn0 gjCYfNI2YYCS7u61FBR8cF3u+Po4Mi X-Received: by 2002:a05:6a00:1aca:b0:823:efa:a657 with SMTP id d2e1a72fcca58-823ab7204cdmr12952396b3a.40.1770101055740; Mon, 02 Feb 2026 22:44:15 -0800 (PST) Received: from smtpclient.apple ([43.224.245.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82379c64b4esm17544174b3a.69.2026.02.02.22.44.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2026 22:44:15 -0800 (PST) Content-Type: text/plain; charset=utf-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: [PATCH] tools/sched_ext: Improve BPF verifier arena detection workaround From: zhidao su In-Reply-To: Date: Tue, 3 Feb 2026 14:44:00 +0800 Cc: tj@kernel.org, void@manifault.com, arighi@nvidia.com, changwoo@igalia.com, sched-ext@lists.linux.dev, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20260203031954.915681-1-suzhidao@xiaomi.com> To: Emil Tsalapatis X-Mailer: Apple Mail (2.3864.300.41.1.7) Thanks for catching this.To be honest, this change was primarily a = result of my attempt to comb through and reorganize the code logic. I = mistakenly thought it was applicable here and did not perform a complete = runtime test for this specific modification.I apologize for the = breakage. I will revert/fix this logic in the next revision to ensure = the scheduler loads correctly. > 2026=E5=B9=B42=E6=9C=883=E6=97=A5 11:54=EF=BC=8CEmil Tsalapatis = =E5=86=99=E9=81=93=EF=BC=9A >=20 > This code change is a bit of a non-sequitur = (BPF_FEATURE_ADDR_SPACE_CAST > is unrelated to the problem scx_arena_subprog_init solves) and causes=20= > the scheduler to fail to load for me. Could you please explain the = logic behind=20 > this patch? Does it work on your machine and if so could you let me = know what > toolchain and kernel you're using?