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=1796351415; b=qo1azXE8lnVy/AQc7XtAHAu/zrQKr200wrtra7dDDm9O4loS0IR1Y3I1M+G3y3x67lKg po7sd1E1M7mCklcGeK6CRJVfKMhWRK6n6v9AuFDNrJQDd8ep4v7yLcvcfGFE3hRxa7B4G KR5oNAUhAXJmpsfCABIVLVUEZ/viflKIxJ0QfSNhgKryfvs/+dH3IVHpXo4mPTL+BSC3q D89wqM+V9mpCw1UbFvmOzjcOYZT9ulH+ugKgLYcxrGYW9vRtutXlvxcfj9Gi30+3a6jbh +hHxG5kTh22yuVN9Fh9n6X7kgUevnTSfX8AhHnmpenuWThxObX2V4l7kzCoYxA1ZWLw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796351415; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=dbUeW32T0UFkQxdYUJWsNU5KfSpXZvYbc34/V4grDPY=; b=TaWuXMUo1yfBi90/GX1I0hCe1EfuoaOQ6zfhnZG39QTEgKwM1UQYu5dV6s+z1UnDTQ9F 3Yyd+7gjv04gZ+nbI2JOm482NXcrAee/+0QkM1v4xuGkazSi003SpTLM0+4PnVj8U6CRT 8AFonj+mTPhcQDxJ8FAgYZYzVFC0ETtDRi5vn+kKZrueZLO7RtLMc4uFxukZWYfsKAqLq q9jBJ67BFPx0T2BccaKgYk68uC1u9gD4rK/6X9CcgPA97jo1bgv4ncChgT7lpODmoWJ2N 2EsUexy1+YpOZhXbhgbu6DoF/5wL4lIwRtjQSGJObaIG67+7X3LV4gYYmC/XPgPrOiA== 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=XDzBmsAW; 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 14014606A335 for ; Fri, 4 Dec 2026 02:30:15 +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=XDzBmsAW Received: by smtp.kernel.org (Postfix) with ESMTPSA id E06C61F000CE; Fri, 4 Dec 2026 02:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796351414; bh=dbUeW32T0UFkQxdYUJWsNU5KfSpXZvYbc34/V4grDPY=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=XDzBmsAWBBUsjvehY5P5RSiWIbZgibEURONS0JAeYQuVFOvlVOSqKZyv/pUk/4JRn hwPyMvX9TuxmI/V1xgYUtxkc10Af3HeBHfLOBOXMghCYw3QOzV+Kmj9u/OShkjku78 3kCOqv5NxSzPtF+Jh3sfdM0CuMdtby6PAwKFj+eb0s/4W3mySmryC7ZoINsJbal7XJ Mku9kJUzS3IU9k/Y7r8iPmQGJpdHFAD/NRD9Xn3zT9j3nkgv6Uo7nDnzLE6Wl6B4gr MGKIipIJzm6TrOXHIQWI5c8LenNiY587cIRejuIivPiHel0wj5AvIFgRmydrilcacu Sia9RxD6FkW2Q== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D3BBF3924A6F; Fri, 4 Dec 2026 02:30:14 +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/4] bpf: Keep fewer states apart because of pointers From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179635141339.775403.2723080048278090172.git-patchwork-notify@kernel.org> Date: Fri, 04 Dec 2026 02:30:13 +0000 References: <20261203195823.4058490-1-alexei.starovoitov@gmail.com> In-Reply-To: <20261203195823.4058490-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 Thu, 3 Dec 2026 19:58:19 +0000 you wrote: > From: Alexei Starovoitov > > Andrii reported [1] that wprof needs a global variable 'zero' in place of > the constant 0. The verifier accepts both, but 0 makes the handler of > sched_switch slower to verify. With 0 clang spills one more pointer. The > slot is dead, but the liveness of the stack keeps it, and it keeps states > apart. Patch 1 fixes that. Pointers to values of two maps multiply the > states again. Patch 3 joins them. Patch 2 lets bpf_dynptr_from_mem() take > the result. > > [...] Here is the summary with links: - [bpf-next,1/4] bpf: Keep the lowest offset of a stack pointer that moves up https://git.kernel.org/bpf/bpf-next/c/bd1af1983e87 - [bpf-next,2/4] bpf: Let bpf_dynptr_from_mem() take memory that nothing invalidates https://git.kernel.org/bpf/bpf-next/c/9bbc138dfbb2 - [bpf-next,3/4] bpf: Join pointers to values of two maps https://git.kernel.org/bpf/bpf-next/c/af37fb768b6b - [bpf-next,4/4] selftests/bpf: Test walks over the stack and joins of map values https://git.kernel.org/bpf/bpf-next/c/58229f84a526 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html