created | 2019-06-22T11:27:15Z |
---|---|
begin | 2019-06-20T00:00:00Z |
end | 2019-06-21T00:00:00Z |
path | src/sys |
commits | 3 |
date | 2019-06-20T04:31:33Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/kern/subr_log.c | log | diff | annotate |
message |
Work around locking issues in logwakeup(). Instead of actually waking up waiters, just set a flag in logwakeup(). The flag is later noted through periodic polling. This lets the wakeup code run with sufficient locking. logwakeup() is a very tricky place to take locks because the function can be called in many different contexts. By not requiring locks in the routine helps to keep printf(9) as usable as possible. OK mpi@ |
date | 2019-06-20T13:59:39Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/arch/octeon/octeon/machdep.c | log | diff | annotate |
message |
Fix misleading code. The kernel keeps using the original boot descriptors even after bootstrap. |
date | 2019-06-20T14:55:22Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/kern/init_main.c | log | diff | annotate |
src/sys/kern/subr_kubsan.c | log | diff | annotate | |
message |
Undefined behavior (UB) can potentially be present anywhere in the kernel. kubsan reports findings using printf() and assuming that calling printf() is safe in all contexts can be problematic. Instead, defer reporting of findings to the systq task queue. Storage for findings is allocated early in the boot process in order to catch potential UB during boot. The same findings are reported once the task queue subsystem has been initialized. Feedback from kettenis@ and ok mpi@ |