HomeFreeBSD

sig_intr(9): return early if AST is not scheduled.

Description

sig_intr(9): return early if AST is not scheduled.

Check td_flags for relevant AST requests lock-less. This opens the
race slightly wider where sig_intr() returns false negative, but might
be it is worth it.

Requested by: mjg
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS366549: Do not allow to use O_BENEATH as an oracle.
Branches
Unknown
Tags
Unknown