summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_fork.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-09-12 19:06:08 +0000
committerkib <kib@FreeBSD.org>2010-09-12 19:06:08 +0000
commit131282cc47f43ec1f723472b37d855802e379b11 (patch)
treee048d7e13f369bc09408da0ceef36b4fd79b6dac /lib/libthr/thread/thr_fork.c
parent7ad5ac6559c0245da0e841850e65a611a2530cfd (diff)
downloadFreeBSD-src-131282cc47f43ec1f723472b37d855802e379b11.zip
FreeBSD-src-131282cc47f43ec1f723472b37d855802e379b11.tar.gz
Do not fork nfsiod directly from the vop methods. This causes LORs between
vnode lock and several locks needed during fork, like fd lock. Instead, schedule the task to be executed in the taskqueue context. We still waiting for the fork to finish, but the context of the thread executing the task does not make real LORs with our vnode lock. Submitted by: pluknet at gmail com Reviewed by: jhb Tested by: pho MFC after: 3 weeks
Diffstat (limited to 'lib/libthr/thread/thr_fork.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud