Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1716031
| From | Shubham Bansal <illusionist.neo@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v3] arm: eBPF JIT compiler |
| Date | 2017-08-21 00:20 +0200 |
| Message-ID | <ugGJz-4ll-1@gated-at.bofh.it> (permalink) |
| References | <ug8eR-7Yu-1@gated-at.bofh.it> <ugGJz-4ll-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> With the below #ifdef __LITTLE_ENDIAN spanning the entire > bpf_int_jit_compile(), a user can then enable and compile > eBPF JIT for big endian, even set the bpf_jit_enable to 1 > to turn it on, but it won't JIT anything, which is contrary > to the expectation. > > This should rather be a hard dependency in the Kconfig, if > I got it correctly, expressed as e.g. > > select HAVE_EBPF_JIT if !CPU_ENDIAN_BE32 Will do it. That's a good catch. Thanks Daniel.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH net-next v3] arm: eBPF JIT compiler Shubham Bansal <illusionist.neo@gmail.com> - 2017-08-21 00:20 +0200
csiph-web