created | 2020-10-20T20:55:52Z |
---|---|
begin | 2020-10-03T00:00:00Z |
end | 2020-10-04T00:00:00Z |
path | src/sys |
commits | 3 |
date | 2020-10-03T00:23:55Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/if.c | log | diff | annotate |
message |
Introduce `if_cloners_lock' rwlock and use it to serialize if_clone_{create,destroy}(). This fixes the races described below. if_clone_{create,destroy}() are kernel locked, but since they touch various sleep points introduced by rwlocks and M_WAITOK allocations, without serialization they can intersect due to race condition. The avoided races are: 1. While performing if_clone_create(), concurrent thread which performing if_clone_create() can attach `ifp' with the same `if_xname' and made inconsistent `if_list' where all attached interfaces linked. 2. While performing if_clone_create(), concurrent thread which performing if_clone_destroy() can kill this incomplete `ifp'. 3. While performing if_clone_destroy(), concurrent thread which performing if_clone_destroy() can kill this dying `ifp'. ok claudio@ kn@ mpi@ sashan@ |
date | 2020-10-03T06:22:20Z | |||
---|---|---|---|---|
author | gkoehler | |||
files | src/sys/arch/macppc/stand/conf.c | log | diff | annotate |
src/sys/arch/macppc/stand/main.c | log | diff | annotate | |
message |
Increase CLAIM_LIMIT from 11M to 14M to make room for retguard The kernel text will grow larger when retguard adds code to many functions to check their return addresses. The entire kernel (including text, data, bss, symbol table, and ramdisk) must fit under the CLAIM_LIMIT. A kernel that overflows this limit may fail very quickly, by causing a "DEFAULT CATCH!" error in Open Firmware. Crank version to "1.10", so I can see whether the running ofwboot uses the higher CLAIM_LIMIT. ok deraadt@ |
date | 2020-10-03T07:31:12Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/kcov.c | log | diff | annotate |
message |
Collect coverage from interrupts. Currently limited to remote sections which allows coverage of timeouts executed from softclock to be collected. During boot, a dedicated coverage buffer per CPU is allocated which is used to collect coverage in interrupts. The kcov implementation in Linux recently added the same functionality. ok mpi@ |