[Bug 192918] New: [patch] A thread will spin if a signal interrupts umtxq_sleep_pi.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 22 15:10:32 UTC 2014


            Bug ID: 192918
           Summary: [patch] A thread will spin if a signal interrupts
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: eric at 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.

More information about the freebsd-bugs mailing list