HomeFreeBSD

Add basic and not very reliable protection against going to sleep with
rS247195Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add basic and not very reliable protection against going to sleep with
thread scheduled by interrupt fired after we entered critical section.
None of cpu_sleep() implementations on ARM check sched_runnable() now, so
put the first line of defence here. This mostly fixes unexpectedly long
sleeps in synthetic tests of calloutng code and probably other situations.

Details

Provenance
mavAuthored on
Parents
rS247194: Some style(9) && whitespaces fixes. No functional changes.
Branches
Unknown
Tags
Unknown

Event Timeline