summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_emul.c
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2006-12-31 12:39:10 +0000
committernetchild <netchild@FreeBSD.org>2006-12-31 12:39:10 +0000
commit938b19deb7f08d648cbea47aad31cd593e8f79f2 (patch)
tree5f7a66921f13b7a6f4b7bf8ae9af0f639d8d2e9f /sys/compat/linux/linux_emul.c
parente9779a03516fdd2696ca38a5163c7b9d58de9be0 (diff)
downloadFreeBSD-src-938b19deb7f08d648cbea47aad31cd593e8f79f2.zip
FreeBSD-src-938b19deb7f08d648cbea47aad31cd593e8f79f2.tar.gz
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
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud