cvs commit: src/sys/compat/linux linux_mib.c linux_mib.h
linux_misc.c
Alexander Leidinger
netchild at FreeBSD.org
Sun Dec 31 04:39:11 PST 2006
netchild 2006-12-31 12:39:10 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_mib.c linux_mib.h linux_misc.c
Log:
MFp4 (111746+):
Redo the checking for 2.6 emulation. We now cache the value of
use26 and replace calls to linux_get_osrelease() + parsing with
a call to linux_use26(). Typical path is lockless now.
Pointed out by: kib
This allows to ship RELENG_7_0 with a default osrelease of 2.4.2 and the
possibility to enable 2.6.x emulation without the possible performance
impact of the previous version of the check.
Submitted by: rdivacky
Revision Changes Path
1.27 +28 -0 src/sys/compat/linux/linux_mib.c
1.10 +2 -0 src/sys/compat/linux/linux_mib.h
1.201 +3 -9 src/sys/compat/linux/linux_misc.c
More information about the cvs-src
mailing list