aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_ulimit.h
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-12-31 12:39:10 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-12-31 12:39:10 +0000
commit9ce8f9bcdd9d706c6990f6609914f710383a1590 (patch)
tree5f7a66921f13b7a6f4b7bf8ae9af0f639d8d2e9f /sys/compat/svr4/svr4_ulimit.h
parentef95cfeab944437a09a8a396baac5213510aa528 (diff)
downloadsrc-9ce8f9bcdd9d706c6990f6609914f710383a1590.tar.gz
src-9ce8f9bcdd9d706c6990f6609914f710383a1590.zip
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
Notes
Notes: svn path=/head/; revision=165687
Diffstat (limited to 'sys/compat/svr4/svr4_ulimit.h')
0 files changed, 0 insertions, 0 deletions