summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-12-20 22:49:31 +0000
committeralc <alc@FreeBSD.org>2010-12-20 22:49:31 +0000
commitbe5201b0d1c733f2bfb8fa4bef0225259f9acb2c (patch)
treef6dd1a0aa7e3213a5adcdd9bdd3123f868ee9dea /contrib/bsnmp
parent04f9658f5ccf72df9c57e4e218f11574121fc70f (diff)
downloadFreeBSD-src-be5201b0d1c733f2bfb8fa4bef0225259f9acb2c.zip
FreeBSD-src-be5201b0d1c733f2bfb8fa4bef0225259f9acb2c.tar.gz
Introduce vm_fault_hold() and use it to (1) eliminate a long-standing race
condition in proc_rwmem() and to (2) simplify the implementation of the cxgb driver's vm_fault_hold_user_pages(). Specifically, in proc_rwmem() the requested read or write could fail because the targeted page could be reclaimed between the calls to vm_fault() and vm_page_hold(). In collaboration with: kib@ MFC after: 6 weeks
Diffstat (limited to 'contrib/bsnmp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud