memory mapped packet capturing - bpf replacement ?
Bruce M Simpson
bms at spc.org
Mon Jun 14 17:48:04 GMT 2004
On Mon, Jun 14, 2004 at 08:38:57AM -0400, Ed Maste wrote:
> Hello Sergey. I haven't looked at your code, but I'll provide
> some comments, having implemented a mmaped ringbuffer BPF
> replacement myself.
We've had some prior interest in this. Do you have patches? If so, I'd be
more than happy to look at them.
Linux has something similar, but when I looked at the mechanism involved,
I was loathe to adopt the same logic because the buffer(s) involved were
allocated from userland and then mapped accordingly; we generally can't
afford to take a page fault in that path, for mutex related reasons.
Regards,
BMS
More information about the freebsd-hackers
mailing list