Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Expect a ~15% average slowdown if you use an Intel processor
Date: Sat, 06 Jan 2018 00:40:27
Message-Id: CAGfcS_mxtubjG4-K6DF2Hzdvc50j9zRRv63SyuKn2UcPrAQhvQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Expect a ~15% average slowdown if you use an Intel processor by Adam Carter
1 On Fri, Jan 5, 2018 at 7:26 PM, Adam Carter <adamcarter3@×××××.com> wrote:
2 >> > So, HAVE_EBPF_JIT=y just means that BPF JIT _can_ be done on x86. There
3 >> > is a separate BPF_JIT setting to actually enable it.
4 >>
5 >> Well, that doesn't seem to be present here. Just the HAVE_ symbol.
6 >
7 >
8 > Careful, there's BPF and EBPF.
9 >
10 > $ zgrep BPF /proc/config.gz
11 > CONFIG_CGROUP_BPF=y
12 > CONFIG_BPF=y
13 > CONFIG_BPF_SYSCALL=y
14 > # CONFIG_NETFILTER_XT_MATCH_BPF is not set
15 > # CONFIG_NET_CLS_BPF is not set
16 > # CONFIG_NET_ACT_BPF is not set
17 > # CONFIG_BPF_JIT is not set
18 > # CONFIG_BPF_STREAM_PARSER is not set
19 > CONFIG_HAVE_EBPF_JIT=y
20 > # CONFIG_TEST_BPF is not set
21 >
22
23 In this context they're the same thing. The only use of "EBPF" is
24 that internal dependency, which might be why nobody bothered to try to
25 change it.
26
27 --
28 Rich