Date: Sun, 31 Dec 2006 12:39:10 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_mib.c linux_mib.h linux_misc.c Message-ID: <200612311239.kBVCdABj058437@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612311239.kBVCdABj058437>
