Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 15:10:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192918] New: [patch] A thread will spin if a signal interrupts umtxq_sleep_pi.
Message-ID:  <bug-192918-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192918

            Bug ID: 192918
           Summary: [patch] A thread will spin if a signal interrupts
                    umtxq_sleep_pi.
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: eric@vangyzen.net

Created attachment 146158
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146158&action=edit
Test case

If a thread is blocked on a PI user mutex and receives a signal, do_lock_pi()
ignores (overwrites) the return value from umtxq_sleep_pi() and spins.

This was found on 10.0-RELEASE-p7, but the code is the same in head.

Attached are a test case and a patch against releng/10.0.

Thanks to:      Elliott Rabe, Dell Inc.
Obtained from:  Dell Inc.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192918-8>