summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2015-07-22 14:49:56 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2015-07-22 14:49:56 +0000
commite6ea578d40797b9b8e2fd62969b9bc4b0060bf92 (patch)
treebf29fce77018e9dd2108919eca38189359a545b5
parentd37bfb4b18d4fcd2f3b702bd56955ed5383ce6c1 (diff)
downloadillumos-joyent-e6ea578d40797b9b8e2fd62969b9bc4b0060bf92.tar.gz
OS-4534 lwp_exit P_PR_LOCK assertion failure
-rw-r--r--usr/src/uts/common/os/lwp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/lwp.c b/usr/src/uts/common/os/lwp.c
index f5be1b40b3..7ca9565928 100644
--- a/usr/src/uts/common/os/lwp.c
+++ b/usr/src/uts/common/os/lwp.c
@@ -955,6 +955,7 @@ lwp_exit(void)
BROP(p)->b_lwpexit(lwp);
BROP(p)->b_freelwp(lwp);
mutex_enter(&p->p_lock);
+ prbarrier(p);
}
/*