From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796452809; b=UyPecvumRPRIUeiyfPcVjTDKopRaQmXdodjubFu5hnWaGwU5qYrrtk5G4ZvHk8qPODTR uEKsCPn2apIM//zBt2jrmXuCOLcvUK2g2Y/snx1FHw6I+RNTl3DLMu/21dCuFhEL8/W8M DNxnd8g7LlRBrHcw5ZQcW4razgoLdmAD22qd3A4u11s5QeB4cQhpfQrv8Yv5UxQS5tw0v kcKalpw8MlLcFmeBAFZFkAol2J8NHpCNAd/o25POrj9CMKBx62PtrLIR8sigodxoC2jjZ E4eVl5rblfvt9nqhQgxtOwtp14sCQZi1+cXLLLPrXbNFM8vaO2TV1NoBxaE/yrI5OyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796452809; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=wtS6IgxdUuGQES+EWB9+aS4lMV9Zt84W8UitmNEOl4E=; b=2pAwoMDusNLRTaPFe+ScXFGE3W33Za+r2aNAZHnSormqPgDmQqUDCfLNsZFnORUgonut qU0nsnPCgBmfdQbIzX8mn4uFDXZmndlvJFZZrkrakiA343q26XTyMqGDOTW7ahqY05T3X fu+UNm2VQ1Xh95t9ybNBbW7NfefU1Jlj1LGAHd/s7w0kn3g6O1TdDMwaKA7cT9PKSQKo/ dOVi2nOEWW2HB/puBD0DrAbBwQIy0IhSP86VhhpEXVujTMgdV+bMv7NOuwRvP18bj/vfP OCimIYOZ+f7m4GUaYdPtMMf/ES1EhCNrr7POJInL+Fl3Rkp3x4MtDC6K5yBZku3JUTw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AwDIYlsk; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C324606A322 for ; Sat, 5 Dec 2026 06:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=AwDIYlsk Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCE461F00936; Sat, 5 Dec 2026 06:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796452808; bh=wtS6IgxdUuGQES+EWB9+aS4lMV9Zt84W8UitmNEOl4E=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=AwDIYlskejSSEth8qlJjZpqyZYy+xexUAyaMR0iI6PXxfUgchLoa88tqTwtNMl1kq qhMcHhnrkWnDLBsJWF/Ys3hieg380kgVawohFc7GV5TZbt5xOXPmyyTycySzWsHArA ip/S/V/UlLvJZ0HJ0CLdvHT0AyJ16NUpE/6L53JRF4e16FcQfIuMWZUoy7bijxrvvY Uk+R39QrJyji177e67qSF3hdrnp9EPRkEOIY6ZBWgGLHu8daQiW3sy+QVk2I3czJGJ o6V0vxKVh8PV3lXvy1DyxRyWVAB+9yByggFGp0vnMfurqZTEFX+KwY76CO4s2vZQkY RAzKLJke9IDYw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D3D233808236; Sat, 5 Dec 2026 06:40:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next 0/7] bpf: Keep the state of may_goto in a register From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179645280765.2097092.17907609959558833225.git-patchwork-notify@kernel.org> Date: Sat, 05 Dec 2026 06:40:07 +0000 References: <20261205033801.1046411-1-alexei.starovoitov@gmail.com> In-Reply-To: <20261205033801.1046411-1-alexei.starovoitov@gmail.com> To: Alexei Starovoitov Cc: bpf@vger.kernel.org, daniel@iogearbox.net, andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Sat, 5 Dec 2026 03:37:54 +0000 you wrote: > From: Alexei Starovoitov > > may_goto cancels a prog that loops for too long. It counts iterations in > per-cpu memory that all invocations of the prog share. When one preempts > another, a loop can run forever or get cancelled too early. > > Give each invocation its own state and keep it in %r11 on x86-64, in x24 > on arm64 and in current on other archs. It also makes may_goto faster: two > insns on x86-64 and arm64. > > [...] Here is the summary with links: - [bpf-next,1/7] selftests/bpf: Don't depend on the expansion of may_goto https://git.kernel.org/bpf/bpf-next/c/a83f2ed3b12a - [bpf-next,2/7] selftests/bpf: Wait longer in parallel tests of libarena https://git.kernel.org/bpf/bpf-next/c/e1e53046006e - [bpf-next,3/7] bpf: Keep the state of may_goto per invocation https://git.kernel.org/bpf/bpf-next/c/cd0a0f04b3ba - [bpf-next,4/7] bpf, x86: Keep the state of may_goto in %r11 https://git.kernel.org/bpf/bpf-next/c/2539ded09076 - [bpf-next,5/7] bpf, arm64: Keep the state of may_goto in x24 https://git.kernel.org/bpf/bpf-next/c/b42a10318cd0 - [bpf-next,6/7] bpf: Keep the state of may_goto in the task on other archs https://git.kernel.org/bpf/bpf-next/c/cc475cf3f992 - [bpf-next,7/7] selftests/bpf: Test may_goto state across calls and clobbers of %r11 https://git.kernel.org/bpf/bpf-next/c/97a85c11e9ec You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html