summaryrefslogtreecommitdiffstats
path: root/etc/pf.os
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-12-10 20:44:09 +0000
committerkib <kib@FreeBSD.org>2012-12-10 20:44:09 +0000
commitac910a885b8cfd1135628cae925006f2525c7956 (patch)
tree27c7210f88eeb131374d9bbe0ee11ee2ceb9a142 /etc/pf.os
parentc8062fa2a473cce32f1049fa8353dea6b9cdb3f2 (diff)
downloadFreeBSD-src-ac910a885b8cfd1135628cae925006f2525c7956.zip
FreeBSD-src-ac910a885b8cfd1135628cae925006f2525c7956.tar.gz
Do not yield while owning a mutex. The Giant reacquire in the
kern_yield() is problematic than. The owned mutex is the mount interlock, and it is in fact not needed to guarantee the stability of the mount list of active vnodes, so fix the the issue by only taking the mount interlock for MNT_REF and MNT_REL operations. While there, augment the unconditional yield by some amount of spinning [1]. Reported and tested by: pho Reviewed by: attilio Submitted by: attilio [1] MFC after: 3 days
Diffstat (limited to 'etc/pf.os')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud