Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
A JIT for packet filters
Posted Apr 14, 2011 16:28 UTC (Thu) by wahern (subscriber, #37304)
I'd be interested in this because I'm looking for a tiny JIT compiler. MyJIT is the best I can find so far, but it can't recover from OOM errors and it's quite large, which means I'm too lazy to fix it.
Posted Apr 14, 2011 16:37 UTC (Thu) by trasz (guest, #45786)
It was introduced six years ago, with this commit:
r153151 | jkim | 2005-12-06 03:58:12 +0100 (Tue, 06 Dec 2005) | 17 lines
Add experimental BPF Just-In-Time compiler for amd64 and i386.
Use the following kernel configuration option to enable:
If you want to use bpf_filter() instead (e. g., debugging), do:
to turn it off.
Currently BIOCSETWF and bpf_mtap2() are unsupported, and bpf_mtap() is
partially supported because 1) no need, 2) avoid expensive m_copydata(9).
Obtained from: WinPcap 3.1 (for i386)
Posted Apr 14, 2011 16:39 UTC (Thu) by wahern (subscriber, #37304)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds