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=1796355607; b=jp+fDaCGpc4a0lpEVDdt3j7kM5jv58423VVyp30v9Unsx4f8ZZft8GVspBEuu6vhuF1r u3noCWGUIOhjZbXth68zIs4tW07D0N8sJEAn50Ef9dXZVBWGEpXBJBTGB8c0W7YpYQXOk tDmomy8P0zfLMwSW0ODqaA9pLrLg/Z/HoKt3yBYF4EsKmiCKFnlabevz2qnRDagE7Ak9U Cl0lHKP6heEjAi4aPLnKi/SYB8cUd1ux1ssGtqp/yNfRz1ClQRMjtmEuEcAoGls4aWq51 2ewsVcgLE//8AXAA1RHZCDGqcGHmKo7XZEd+6AMx4EMUUHuciFWVQd8kHBrIHgU/DQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796355607; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=VUQZfpj7Itov8QoX7+LzKjkA9zkgwS0AyU/7v5RIO6Q=; b=wWYR7y7WoLkD/yynMuvUVX1gO62xl2vI6HrjHvN7eSUqbXgDgCwpsWzKOsF5O4+UVNPA LyWPilZRUOQz5z3VIEw2rV0HLZsPNYrHZyyCZnYBs/sLJWNqrkdpLt3sqpQfCoRuk7NSH EqcIU4O/GzaTyc/hij0hPIRe6lMu+Fghgm+CR7H62S0vPMpAp20SreYMos7c2qxw2kxOj IALYpy+mfrFiWN6EgvhAQ7EedQlsF4QMg1oF2HxwHzRbsBQH6RuzJ5yC6onk3wVJ0iv+I 2laZsniia42aCjzvPOlhTV0slHk3t7w/VeENnInjcTWBV7nD5zALS0H6RMBh9Zhuyww== 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=Uj4BwWho; 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 119D8606A322; Fri, 4 Dec 2026 03:40:06 +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=Uj4BwWho Received: by smtp.kernel.org (Postfix) with ESMTPSA id A32161F000C2; Fri, 4 Dec 2026 03:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796355606; bh=VUQZfpj7Itov8QoX7+LzKjkA9zkgwS0AyU/7v5RIO6Q=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Uj4BwWhoC2l/l9yFkVZ72gQq/GYmHvRoJkI/qJV1Nhqy/hphwHprAu/5q/rBKFawS UiwhY5GOancYTsK5uNdCe6qUFfDHEBJR5nPZFX/Zh5WfmUS69ZMD51bvOrU5LC89dv Ado8AkkS6HgteLHfJBVp+DOa/+lqw+wXrS8r/DmkWbDCvT6DYCJRZDHcQb3qt7YWci r6csB+G5bL8/ql0L48bXoA8kFUxTU4apog34Q5eJ5yRCxHipBa0UL8WhtICEOahZEm 1qBG6rhhssadCWqw6ZyA2YVHQNjfrmpf8AXubFd6qANvVSwhrIp805X2BY8MX+JL0p xdf9uYm5SAFQQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96AED3924A77; Fri, 4 Dec 2026 03:40:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" 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 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v2 0/2] bpf: Move IPIs out of pack_mutex and reduce IBPB flushes From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179635560515.804901.3620654132399056862.git-patchwork-notify@kernel.org> Date: Fri, 04 Dec 2026 03:40:05 +0000 References: In-Reply-To: To: Xu Kuohai Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com, song@kernel.org, yonghong.song@linux.dev, jolsa@kernel.org, emil@etsalapatis.com, puranjay@kernel.org, pawan.kumar.gupta@linux.intel.com Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Thu, 3 Dec 2026 14:09:20 +0000 you wrote: > From: Xu Kuohai > > BPF JIT memory is allocated through the BPF program pack allocator, > which uses a global pack_mutex to protect its packs. While holding this > lock, the allocator currently sends IPI to all CPUs on two paths: IBPB > flush on the x86 alloc path and CPU pipeline flush on the arm64 free > path. Because the caller can be preempted while waiting for the IPI > completion, the lock can be held for a long time, causing heavy lock > contention on busy systems. > > [...] Here is the summary with links: - [bpf-next,v2,1/2] bpf: Invalidate freed prog pack memory without holding pack_mutex https://git.kernel.org/bpf/bpf-next/c/3c61cdf2d32c - [bpf-next,v2,2/2] bpf: Reduce branch predictor flush and move it out of pack_mutex https://git.kernel.org/bpf/bpf-next/c/88931b030b19 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html