]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
No need to lock emul_lock in exit_group() because em->shared
authorkib <kib@FreeBSD.org>
Thu, 1 Feb 2007 13:33:33 +0000 (13:33 +0000)
committerkib <kib@FreeBSD.org>
Thu, 1 Feb 2007 13:33:33 +0000 (13:33 +0000)
commit3f2b6c010a7e8108cc1c386fb716b119a3fdd692
tree12612c88ab9da21d9a2cf1bbe238e8c1526923a1
parent02650398d18b3b63edf1117aae8d34ee6d28c729
No need to lock emul_lock in exit_group() because em->shared
cannot change (because its referenced by curthread). This fixes
a LOR caused by acquiring emul_shared_lock while holding emul_lock.

Fix typo in comment.

Submitted by: rdivacky
sys/compat/linux/linux_misc.c