1 |
On Friday, 5 January 2018 18:04:10 GMT Ian Zimmerman wrote: |
2 |
> On 2018-01-05 11:10, Peter Humphrey wrote: |
3 |
> > Symbol: HAVE_EBPF_JIT [=y] |
4 |
> > │ |
5 |
> > │ Type : boolean |
6 |
> > │ Defined at net/Kconfig:436 |
7 |
> > │ Selected by: X86 [=y] && X86_64 [=y] |
8 |
> > |
9 |
> > So it's on, like it or not. This is kernel 4.9.72 on an i7-5820K. |
10 |
> |
11 |
> As Rich writes, the HAVE_* symbols are not settable via the UI, and in |
12 |
> fact do not toggle the inclusion of any code; they are automatically set |
13 |
> by kconfig to record the _availability_ of some features on the system, |
14 |
> based on given constraints such as architecture and memory model. |
15 |
|
16 |
I didn't read that in what Rich wrote, but it's useful anyway - thanks. |
17 |
|
18 |
> So, HAVE_EBPF_JIT=y just means that BPF JIT _can_ be done on x86. There |
19 |
> is a separate BPF_JIT setting to actually enable it. |
20 |
|
21 |
Well, that doesn't seem to be present here. Just the HAVE_ symbol. |
22 |
|
23 |
-- |
24 |
Regards, |
25 |
Peter. |