Thread (17 messages) 17 messages, 4 authors, 2017-05-23

arch: arm: bpf: Converting cBPF to eBPF for arm 32 bit

From: Kees Cook <hidden>
Date: 2017-05-23 04:27:57
Also in: netdev

Possibly related (same subject, not in this thread)

On Mon, May 22, 2017 at 7:58 PM, Shubham Bansal
[off-list ref] wrote:
On testing the eBPF JIT with CONFIG_FRAME_POINTER I got the following
crash for non jitted testcase.
It's just a softlockup WARN, not a crash, and I think it'd to be
expected given the large runtime test_bpf reports:
[   72.032494] test_bpf: #267 BPF_MAXINSNS: Call heavy transformations
jited:0 1112799
[   92.304815] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s!
[insmod:104]
...
[   93.835343] 1065840 PASS
https://www.kernel.org/doc/Documentation/lockup-watchdogs.txt

You can raise the softlockup time-out by changing the number of
seconds here: /proc/sys/kernel/watchdog_thresh I think the softlockup
is counting the entire runtime of the bpf_tests run, so if it takes 30
seconds to run, put at least 15 into /proc/sys/kernel/watchdog_thresh

-Kees

-- 
Kees Cook
Pixel Security
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help