On 9/4/24 9:58 AM, Alexei Starovoitov wrote:
On Tue, Sep 3, 2024 at 4:00 PM Yonghong Song <yonghong.song@xxxxxxxxx> wrote:
+#include <linux/bpf.h>
+#include <bpf/bpf_helpers.h>
+#include "bpf_misc.h"
+
+#if defined(__TARGET_ARCH_x86)
Does our test framework need this ifdef and dummy_test below?
There is __arch_x86_64 below.
Isn't it enough?
It should be enough. Other arch should be correct although
they do not have convergence issue.
Let me remove above "#if defined(__TARGET_ARCH_x86)" and
do a test again to ensure everything is okay.
+SEC("socket")
+__description("bpf_jit_convergence je <-> jmp")
+__success __retval(0)
+__arch_x86_64