cvs commit: src/sys/net bpf.c

Alfred Perlstein alfred at freebsd.org
Tue Jun 7 13:44:50 GMT 2005


* Wilko Bulte <wb at freebie.xs4all.nl> [050607 03:43] wrote:
> On Tue, Jun 07, 2005 at 11:35:22AM +0200, Dag-Erling Sm?rgrav wrote..
> > "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> > > Peter Jeremy <PeterJeremy at optushome.com.au> writes:
> > > > If people are using really large BPF programs, is there a benefit in
> > > > moving from bytecode to machine code?
> > > I'm sure there would be, but we wouldn't be compatible with everybody
> > > else if we did so.
> > 
> > Sure we would.  There is no need to change the API, just compile the
> > byte code to native machine code when the filter is loaded.
> 
> Suddenly smells like Java here ;)

Wait, are we going to make bpf have a 128meg footprint and uh.,..?

-- 
- Alfred Perlstein
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list