Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys

Mindaugas Rasiukevicius wrote:
> Module Name:  src
> Committed By: rmind
> Date:         Wed Aug  1 23:24:29 UTC 2012
> Modified Files:
>       src/sys/arch/amd64/conf: files.amd64 std.amd64
>       src/sys/arch/i386/conf: files.i386 std.i386
>       src/sys/conf: files
>       src/sys/modules/bpf: Makefile
>       src/sys/net: bpf.c bpf_filter.c bpfdesc.h
> Added Files:
>       src/sys/arch/amd64/amd64: bpf_jit_machdep.c bpf_jit_machdep.h
>       src/sys/arch/i386/i386: bpf_jit_machdep.c bpf_jit_machdep.h
>       src/sys/net: bpf_jit.c bpf_jit.h
> Log Message:
> Add BPF JIT compiler, currently supporting amd64 and i386.  Code obtained
> from FreeBSD.  Also, make few BPF fixes and simplifications while here.
> Note that bpf_jit_enable is false for now.
> OK dyoung@, some feedback from matt@

FreeBSD calls bpf_filter from bpf_mtap2 rathen than calling jit'ed
function because their jit code doesn't support mbuf chain.
NetBSD calls bpf_deliver from _bpf_mtap2 which in turn calls jit'ed
function. I think it's wrong because JIT code in NetBSD doesn't support
mbuf chain either.


Home | Main Index | Thread Index | Old Index