created | 2020-01-18T02:12:42Z |
---|---|
begin | 2020-01-12T00:00:00Z |
end | 2020-01-13T00:00:00Z |
path | src/sys |
commits | 6 |
date | 2020-01-12T00:01:12Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_synch.c | log | diff | annotate |
message |
*sleep_nsec(9): sleep *at least* the given number of nanoseconds The *sleep(9) interfaces are challenging to use when one needs to sleep for a given minimum duration: the programmer needs to account for both the current tick and any integer division when converting an interval to a count of ticks. This sort of input conversion is complicated and ugly at best and error-prone at worst. This patch consolidates this conversion logic into the *sleep_nsec(9) functions themselves. This will allow us to use the functions at the syscall layer and elsewhere in the kernel where guaranteeing a minimum sleep duration is of vital importance. With input from bluhm@, guenther@, ratchov@, tedu@, and kettenis@. Requested by mpi@ and kettenis@. Conversion algorithm from mpi@. ok mpi@, kettenis@, deraadt@ |
date | 2020-01-12T09:16:57Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/kern/sys_pipe.c | log | diff | annotate |
message |
Get rid of redundant parenthesis. ok millert@ ratchov@ visa@ |
date | 2020-01-12T09:18:39Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/kern/sys_pipe.c | log | diff | annotate |
message | condense comment |
date | 2020-01-12T09:19:54Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/sys/pipe.h | log | diff | annotate |
message | tweak locking comment |
date | 2020-01-12T16:55:00Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm/arm/cpu.c | log | diff | annotate |
src/sys/arch/arm/include/cpu.h | log | diff | annotate | |
message | Implement cpu_kick() and cpu_unidle(). |
date | 2020-01-12T22:00:23Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/amlclock.c | log | diff | annotate |
message | Add thermal sensor clock. |