summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/__error.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2009-05-23 07:58:56 +0000
committeralc <alc@FreeBSD.org>2009-05-23 07:58:56 +0000
commit0aebbd8ad9aed8fa4608da264a9e626d5bc2ecc6 (patch)
tree1c8e6d1f19d81bdf3fc6fb5a95e4662b170de397 /lib/libc/sys/__error.c
parent75f2d8c228d77fe36081e5ec716311431fd62b0b (diff)
downloadFreeBSD-src-0aebbd8ad9aed8fa4608da264a9e626d5bc2ecc6.zip
FreeBSD-src-0aebbd8ad9aed8fa4608da264a9e626d5bc2ecc6.tar.gz
Preset the modified bit in the PTE when pmap_enter() is called during a
write fault or while wiring a mapping that must support write access. In general, this change should reduce the number of traps that occur for the purpose of setting the modified bit. More specifically, this change should prevent traps while holding locks in a sysctl handler. See kern/kern_sysctl.c revisions 1.168 and 1.195 (svn r192160) for further details. Tested by: gonzo
Diffstat (limited to 'lib/libc/sys/__error.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud