Date: Wed, 15 Nov 2006 14:56:24 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-hackers@FreeBSD.ORG, youshi10@u.washington.edu Subject: Re: bpf kernel module Message-ID: <200611151356.kAFDuOXE098265@lurza.secnetix.de> In-Reply-To: <455A16AF.5040200@u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper wrote: > Something else I should have mentioned. Statically building components > into the kernel makes operation faster overall, I don't think there's a measurable difference in speed. > but increases the > required memory for your machine, whereas using modules is more > expensive time-wise, but you can load portions of the kernel piece by > piece, instead of load the entire kernel into main memory. In the case discussed here (bpf), memory is not an issue, because the bpf module -- if it existed -- would have to be loaded permanently anyway, or otherwise pflogd wouldn't work. In fact, a kernel module requires a small amount of additional memory, compared to the same code compiled statically into the kernel. It's not a big deal, though. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Being really good at C++ is like being really good at using rocks to sharpen sticks." -- Thant Tessman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611151356.kAFDuOXE098265>