HomeFreeBSD

Do not take the process lock. The assignment to u_short inside the

Description

Do not take the process lock. The assignment to u_short inside the
properly aligned structure is atomic on all supported architectures, and
the thread that should see side-effect of assignment is the same thread
that does assignment.

Use a more appropriate conditional to detect the linux ABI.

Suggested by: kib
X-MFC: together with r215664

Details

Provenance
netchildAuthored on Nov 22 2010, 12:42 PM
Parents
rG09c7c81c16d6: Don't generate input() since it's not used.
Branches
Unknown
Tags
Unknown

Event Timeline