diff options
author | Alan Cox <alc@FreeBSD.org> | 2010-12-20 22:49:31 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2010-12-20 22:49:31 +0000 |
commit | acd11c74999edad48185afb907d5b80e7302c3d1 (patch) | |
tree | f6dd1a0aa7e3213a5adcdd9bdd3123f868ee9dea /ObsoleteFiles.inc | |
parent | 091c4c86d128d6ded26ff09e99257332cf1d3276 (diff) | |
download | src-acd11c74999edad48185afb907d5b80e7302c3d1.tar.gz src-acd11c74999edad48185afb907d5b80e7302c3d1.zip |
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
Notes
Notes:
svn path=/head/; revision=216604
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions