From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B420A2E8B91; Tue, 18 Nov 2025 06:34:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763447693; cv=none; b=WX5AsGE6m17heEbIPDeIIsGXv8pUlUCFPOyCwaJ5JD0VsX4Xhgc6z1ym5gzWg4Z9SBo1NZpNxv+fXGjF7IiHfMUJk24qh4FFaoXR8WrrX6Mi/iR3Gw/ooXvdiy2cSJ81/APk5CmD8Jjz2YpZLv4kr/toaQLtNAbmOs3GZ3cY5eA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763447693; c=relaxed/simple; bh=oKsuM5STjEXOKZ87rh6l1uzTyZMiYw0CkMzFZcifoX4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WFOM12+D3RzNVxyO7wvc8i20pKFNV1ACO8yW2v6bTRpTfAzqz+hOH+WONGB4XOXXWAPL5SV67PANWmGDbJPql7GXUcQl66NCRUMNfqR5jbnfWSDim8IHwu2BRBY5ZhxkKKp46bXDi89sIESv2SxkVR43r7TOn2ov1pri0JTSagM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=mr8HX4BV; arc=none smtp.client-ip=91.218.175.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="mr8HX4BV" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763447688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oKsuM5STjEXOKZ87rh6l1uzTyZMiYw0CkMzFZcifoX4=; b=mr8HX4BVMNFEk+QQ1NoqjZfR+obD/Uz56Lm4Vf0WcvNBRshyO8H2qae8NRtWmTu4m3sBiH RF11uxkXFnuEZu8bevWAVHMT66EntaVXyoD2u8E+3I8+nuhB5VDECk8mKmTmolNpnWsQxO /DyBawQC6+0jDnmGdwTX81i+JyZnXb0= From: Menglong Dong To: Menglong Dong , Alexei Starovoitov Cc: Alexei Starovoitov , Steven Rostedt , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Eduard , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , jiang.biao@linux.dev, bpf , LKML , linux-trace-kernel Subject: Re: [PATCH bpf-next v2 0/6] bpf trampoline support "jmp" mode Date: Tue, 18 Nov 2025 14:34:34 +0800 Message-ID: <5027922.GXAFRqVoOG@7950hx> In-Reply-To: References: <20251117034906.32036-1-dongml2@chinatelecom.cn> Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Migadu-Flow: FLOW_OUT On 2025/11/18 14:31, Alexei Starovoitov wrote: > On Sun, Nov 16, 2025 at 7:49=E2=80=AFPM Menglong Dong wrote: > > > > For now, the bpf trampoline is called by the "call" instruction. Howeve= r, > > it break the RSB and introduce extra overhead in x86_64 arch. >=20 > Please include performance numbers in the cover letter when you respin. Hmm...I included a little performance, do you mean more performance data? Current description: As we can see above, the RSB is totally balanced. After the modification, the performance of fexit increases from 76M/s to 130M/s. >=20 >=20