Date: Mon, 1 Sep 2014 16:30:43 +0400 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Alfred Perlstein <alfred@freebsd.org>, Gleb Smirnoff <glebius@FreeBSD.org>, freebsd-arch@freebsd.org Subject: Re: script(2) [was: [CFT/review] new sendfile(2)] Message-ID: <20140901123043.GA15867@zxy.spb.ru> In-Reply-To: <2770.1409522711@critter.freebsd.dk> References: <20140529102054.GX50679@FreeBSD.org> <20140729232404.GF43962@funkthat.com> <20140831165022.GE7693@FreeBSD.org> <540382E2.3040004@freebsd.org> <2770.1409522711@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 31, 2014 at 10:05:11PM +0000, Poul-Henning Kamp wrote: > -------- > In message <540382E2.3040004@freebsd.org>, Alfred Perlstein writes: > > Can I inject an old idea whose time may finally have arrived ? > > The basic thing we are trying to do here is to avoid userland/kernel > context-switches, because they are so expensive. > > This is a very old problem, the TTY line-disciplines, PCAP, accept > filters and sendfile are all hacks that try to "optimize" specific > use-cases. And aven for firewalling, yes? Firewall rules (up to Level 7) may be related to some trie (similar regex tree, radix trie) with advanced match and extract rules in nodes and leafs.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140901123043.GA15867>