cvs commit: src/sys/compat/linux linux_mib.c linux_mib.h linux_misc.c

Jeremie Le Hen jeremie at
Wed Jan 10 23:22:55 UTC 2007

Hi Alexander,

On Sun, Dec 31, 2006 at 12:39:10PM +0000, Alexander Leidinger wrote:
> 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.

Sorry if this has been already discussed in the past, I've certainly
missed the thread.

Is there any strong reason to not enable 2.6.x emulation by default
in the future RELENG_7 ?

Thank you.
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

More information about the cvs-src mailing list