Module Name:src
Committed By: riastradh
Date: Sun Jun 26 22:31:47 UTC 2022
Modified Files:
src/sys/kern: subr_time.c
Log Message:
kern: Use timespecsubok in ts2timo.
Should fix arithmetic overflow.
Reported-by: syzbot+4393a753a7c787abe...@syzkaller.appspotmail.com
To g
Module Name:src
Committed By: mrg
Date: Mon May 30 23:36:26 UTC 2022
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
re-do previous - it likely broke kmem cache init.
use {0} for zero sentinel.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys
Module Name:src
Committed By: mrg
Date: Mon May 30 23:36:26 UTC 2022
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
re-do previous - it likely broke kmem cache init.
use {0} for zero sentinel.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys
Module Name:src
Committed By: mrg
Date: Mon May 30 21:42:02 UTC 2022
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
apply some missing #ifn?def KDTRACE_HOOKS from the previous.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/kern/subr_kmem.c
Module Name:src
Committed By: mrg
Date: Mon May 30 21:42:02 UTC 2022
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
apply some missing #ifn?def KDTRACE_HOOKS from the previous.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/kern/subr_kmem.c
Module Name:src
Committed By: riastradh
Date: Mon May 30 20:28:30 UTC 2022
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
kmem(9): Create dtrace sdt probes for each kmem cache size.
The names of the probes correspond to the names shown in vmstat -m.
This should ma
Module Name:src
Committed By: riastradh
Date: Mon May 30 20:28:30 UTC 2022
Modified Files:
src/sys/kern: subr_kmem.c
Log Message:
kmem(9): Create dtrace sdt probes for each kmem cache size.
The names of the probes correspond to the names shown in vmstat -m.
This should ma
Module Name:src
Committed By: riastradh
Date: Sun May 15 16:20:10 UTC 2022
Modified Files:
src/sys/kern: kern_time.c
Log Message:
adjtime(2): Handle negative tv_sec and tv_usec.
Previously I clamped these to avoid dangerous arithmetic overflow.
But I assumed sensible valu
Module Name:src
Committed By: riastradh
Date: Sun May 15 16:20:10 UTC 2022
Modified Files:
src/sys/kern: kern_time.c
Log Message:
adjtime(2): Handle negative tv_sec and tv_usec.
Previously I clamped these to avoid dangerous arithmetic overflow.
But I assumed sensible valu
Module Name:src
Committed By: riastradh
Date: Fri May 13 09:40:25 UTC 2022
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
cprng(9): Fix accidental 4x seed size.
With SHA-256, NIST Hash_DRBG takes an preferred 440-bit/55-byte seed.
It's a weird number, and I'm not
Module Name:src
Committed By: riastradh
Date: Fri May 13 09:40:25 UTC 2022
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
cprng(9): Fix accidental 4x seed size.
With SHA-256, NIST Hash_DRBG takes an preferred 440-bit/55-byte seed.
It's a weird number, and I'm not
Module Name:src
Committed By: riastradh
Date: Fri May 13 09:40:02 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Update comment about where entropy_extract is allowed.
As of last month, it is forbidden in all hard interrupt context.
To ge
Module Name:src
Committed By: riastradh
Date: Fri May 13 09:40:02 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Update comment about where entropy_extract is allowed.
As of last month, it is forbidden in all hard interrupt context.
To ge
Module Name:src
Committed By: riastradh
Date: Fri May 13 09:39:52 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Note rules about how to use entropy_extract output.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/kern
Module Name:src
Committed By: riastradh
Date: Fri May 13 09:39:52 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Note rules about how to use entropy_extract output.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/kern
Module Name:src
Committed By: hannken
Date: Tue May 3 13:54:18 UTC 2022
Modified Files:
src/sys/kern: vnode_if.sh
Log Message:
Really depend the lockdebug checks on option VNODE_LOCKDEBUG -- were
enabled by accident.
To generate a diff of this commit:
cvs rdiff -u -r1.7
Module Name:src
Committed By: hannken
Date: Tue May 3 13:54:18 UTC 2022
Modified Files:
src/sys/kern: vnode_if.sh
Log Message:
Really depend the lockdebug checks on option VNODE_LOCKDEBUG -- were
enabled by accident.
To generate a diff of this commit:
cvs rdiff -u -r1.7
Module Name:src
Committed By: riastradh
Date: Thu Apr 21 12:05:13 UTC 2022
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
futex(9): Convert membar_enter/exit to membar_acquire/release.
No functional change -- this is just in an illustrative comment!
To generate
Module Name:src
Committed By: riastradh
Date: Thu Apr 21 12:05:13 UTC 2022
Modified Files:
src/sys/kern: sys_futex.c
Log Message:
futex(9): Convert membar_enter/exit to membar_acquire/release.
No functional change -- this is just in an illustrative comment!
To generate
Module Name:src
Committed By: riastradh
Date: Sun Apr 17 09:09:13 UTC 2022
Modified Files:
src/sys/kern: subr_prf.c
Log Message:
panic(9): Serialize panicstr access and printing `panic:' message.
This isn't riskier than before -- previously we took kprintf_lock
inside eac
Module Name:src
Committed By: riastradh
Date: Sun Apr 17 09:09:13 UTC 2022
Modified Files:
src/sys/kern: subr_prf.c
Log Message:
panic(9): Serialize panicstr access and printing `panic:' message.
This isn't riskier than before -- previously we took kprintf_lock
inside eac
Module Name:src
Committed By: hannken
Date: Sat Apr 16 07:59:02 UTC 2022
Modified Files:
src/sys/kern: sys_descrip.c
Log Message:
Lock vnode for VOP_PATHCONF().
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/sys_descrip.c
Please note that dif
Module Name:src
Committed By: hannken
Date: Sat Apr 16 07:59:02 UTC 2022
Modified Files:
src/sys/kern: sys_descrip.c
Log Message:
Lock vnode for VOP_PATHCONF().
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/sys_descrip.c
Please note that dif
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:52:05 UTC 2022
Modified Files:
src/sys/kern: sys_select.c
Log Message:
select(9): Use membar_acquire/release and atomic_store_release.
No store-before-load ordering here -- this was obviously always
intended to b
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:52:05 UTC 2022
Modified Files:
src/sys/kern: sys_select.c
Log Message:
select(9): Use membar_acquire/release and atomic_store_release.
No store-before-load ordering here -- this was obviously always
intended to b
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:57 UTC 2022
Modified Files:
src/sys/kern: subr_thmap.c
Log Message:
thmap(9): Convert membar_exit to membar_release.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_thmap.c
Pl
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:48 UTC 2022
Modified Files:
src/sys/kern: subr_pool.c
Log Message:
pool(9): Convert membar_exit to membar_release.
To generate a diff of this commit:
cvs rdiff -u -r1.281 -r1.282 src/sys/kern/subr_pool.c
Ple
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:57 UTC 2022
Modified Files:
src/sys/kern: subr_thmap.c
Log Message:
thmap(9): Convert membar_exit to membar_release.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/kern/subr_thmap.c
Pl
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:48 UTC 2022
Modified Files:
src/sys/kern: subr_pool.c
Log Message:
pool(9): Convert membar_exit to membar_release.
To generate a diff of this commit:
cvs rdiff -u -r1.281 -r1.282 src/sys/kern/subr_pool.c
Ple
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:22 UTC 2022
Modified Files:
src/sys/kern: subr_ipi.c
Log Message:
ipi(9): Convert membar_exit/enter to membar_release/acquire.
No store-before-load ordering needed here, just need to ensure that
in
A,
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:22 UTC 2022
Modified Files:
src/sys/kern: subr_ipi.c
Log Message:
ipi(9): Convert membar_exit/enter to membar_release/acquire.
No store-before-load ordering needed here, just need to ensure that
in
A,
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:09 UTC 2022
Modified Files:
src/sys/kern: subr_copy.c
Log Message:
ucas(9): Convert membar_exit to membar_release.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_copy.c
Pleas
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:51:09 UTC 2022
Modified Files:
src/sys/kern: subr_copy.c
Log Message:
ucas(9): Convert membar_exit to membar_release.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/kern/subr_copy.c
Pleas
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:46:19 UTC 2022
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
rwlock(9): Convert to membar_acquire/release.
Leave an XXX comment where I suspect there might be a missing membar
-- to be audited when I h
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:46:19 UTC 2022
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
rwlock(9): Convert to membar_acquire/release.
Leave an XXX comment where I suspect there might be a missing membar
-- to be audited when I h
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:46:10 UTC 2022
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
mutex(9): Convert to membar_acquire/release.
Except for setting the waiters bit -- not sure if this is actually
required to be store-before-l
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:46:10 UTC 2022
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
mutex(9): Convert to membar_acquire/release.
Except for setting the waiters bit -- not sure if this is actually
required to be store-before-l
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:45:45 UTC 2022
Modified Files:
src/sys/kern: vfs_vnode.c
Log Message:
vfs(9): Add XXX comment about unclear membar_enter.
To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/kern/vfs_vnode.c
Module Name:src
Committed By: riastradh
Date: Sat Apr 9 23:45:45 UTC 2022
Modified Files:
src/sys/kern: vfs_vnode.c
Log Message:
vfs(9): Add XXX comment about unclear membar_enter.
To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/kern/vfs_vnode.c
Module Name:src
Committed By: riastradh
Date: Fri Apr 1 00:16:40 UTC 2022
Modified Files:
src/sys/kern: subr_thmap.c
Log Message:
thmap(9): Handle memory allocation failure in root_try_put.
Reported-by: syzbot+8ded6e17a394e39d6...@syzkaller.appspotmail.com
To generate
Module Name:src
Committed By: riastradh
Date: Fri Apr 1 00:16:40 UTC 2022
Modified Files:
src/sys/kern: subr_thmap.c
Log Message:
thmap(9): Handle memory allocation failure in root_try_put.
Reported-by: syzbot+8ded6e17a394e39d6...@syzkaller.appspotmail.com
To generate
Module Name:src
Committed By: riastradh
Date: Wed Mar 30 17:02:02 UTC 2022
Modified Files:
src/sys/kern: kern_softint.c kern_timeout.c
Log Message:
kern: Assert softint does not net acquire kernel locks.
This redoes previous change where I mistakenly used the CPU's bigloc
Module Name:src
Committed By: riastradh
Date: Wed Mar 30 17:02:02 UTC 2022
Modified Files:
src/sys/kern: kern_softint.c kern_timeout.c
Log Message:
kern: Assert softint does not net acquire kernel locks.
This redoes previous change where I mistakenly used the CPU's bigloc
Module Name:src
Committed By: riastradh
Date: Wed Mar 30 14:54:29 UTC 2022
Modified Files:
src/sys/kern: kern_softint.c kern_timeout.c vfs_bio.c
Log Message:
Revert "kern: Sprinkle biglock-slippage assertions."
Got the diagnostic information I needed from this, and it's h
Module Name:src
Committed By: riastradh
Date: Wed Mar 30 14:54:29 UTC 2022
Modified Files:
src/sys/kern: kern_softint.c kern_timeout.c vfs_bio.c
Log Message:
Revert "kern: Sprinkle biglock-slippage assertions."
Got the diagnostic information I needed from this, and it's h
Module Name:src
Committed By: riastradh
Date: Wed Mar 30 10:34:14 UTC 2022
Modified Files:
src/sys/kern: kern_softint.c kern_timeout.c vfs_bio.c
Log Message:
kern: Sprinkle biglock-slippage assertions.
We seem to have a poltergeist that occasionally messes with the
bigloc
Module Name:src
Committed By: riastradh
Date: Wed Mar 30 10:34:14 UTC 2022
Modified Files:
src/sys/kern: kern_softint.c kern_timeout.c vfs_bio.c
Log Message:
kern: Sprinkle biglock-slippage assertions.
We seem to have a poltergeist that occasionally messes with the
bigloc
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:41:17 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
Log Message:
subr_devsw.c: KNF and style nits.
No functional change intended.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/kern
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:41:17 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
Log Message:
subr_devsw.c: KNF and style nits.
No functional change intended.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/kern
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:38:25 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
Log Message:
autoconf(9): Disentangle slightly circuitous config_detach logic.
No functional change intended.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:38:25 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
Log Message:
autoconf(9): Disentangle slightly circuitous config_detach logic.
No functional change intended.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:32 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
Log Message:
driver(9): Fix synchronization of devsw_attach/lookup/detach.
(`dev' means either `bdev' or `cdev' for brevity here, e.g. in
`devsw_lookup' (
Module Name:src
Committed By: riastradh
Date: Mon Mar 28 12:33:32 UTC 2022
Modified Files:
src/sys/kern: subr_devsw.c
Log Message:
driver(9): Fix synchronization of devsw_attach/lookup/detach.
(`dev' means either `bdev' or `cdev' for brevity here, e.g. in
`devsw_lookup' (
Module Name:src
Committed By: hannken
Date: Fri Mar 25 08:57:15 UTC 2022
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
It is impossible for VOP_LOCK() to return ENOENT with LK_RETRY flag.
Remove the second call to VOP_LOCK().
Enable assertion "vrefcnt(vp) > 0" an
Module Name:src
Committed By: hannken
Date: Fri Mar 25 08:57:15 UTC 2022
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
It is impossible for VOP_LOCK() to return ENOENT with LK_RETRY flag.
Remove the second call to VOP_LOCK().
Enable assertion "vrefcnt(vp) > 0" an
Module Name:src
Committed By: riastradh
Date: Thu Mar 24 12:59:56 UTC 2022
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
vfs(9): Add missing vnode lock around VOP_CLOSE in vfs_mountroot.
Maybe vnode_if.c should be taught to KASSERT the vnode lock now that
locks a
Module Name:src
Committed By: riastradh
Date: Thu Mar 24 12:59:56 UTC 2022
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
vfs(9): Add missing vnode lock around VOP_CLOSE in vfs_mountroot.
Maybe vnode_if.c should be taught to KASSERT the vnode lock now that
locks a
Module Name:src
Committed By: riastradh
Date: Thu Mar 24 12:58:56 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Call entropy_softintr while bound to CPU.
It looks like We tripped on the new assertion in entropy_account_cpu
when there was p
Module Name:src
Committed By: riastradh
Date: Thu Mar 24 12:58:56 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Call entropy_softintr while bound to CPU.
It looks like We tripped on the new assertion in entropy_account_cpu
when there was p
Module Name:src
Committed By: riastradh
Date: Wed Mar 23 23:20:52 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Include and explicitly.
Now that we use curlwp, struct lwp::l_pflag, and LP_BOUND, let's not
rely on side-loads from other .h
Module Name:src
Committed By: riastradh
Date: Wed Mar 23 23:20:52 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Include and explicitly.
Now that we use curlwp, struct lwp::l_pflag, and LP_BOUND, let's not
rely on side-loads from other .h
Module Name:src
Committed By: riastradh
Date: Wed Mar 23 23:18:18 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Bind to CPU temporarily to avoid race with lwp migration.
More fallout from the IPL_VM->IPL_SOFTSERIAL change.
In entropy_ente
Module Name:src
Committed By: riastradh
Date: Wed Mar 23 23:18:18 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Bind to CPU temporarily to avoid race with lwp migration.
More fallout from the IPL_VM->IPL_SOFTSERIAL change.
In entropy_ente
Module Name:src
Committed By: riastradh
Date: Mon Mar 21 22:20:32 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
Log Message:
autoconf(9): Enter more timing samples into entropy pool.
Previously, we sampled the time of each _failed_ config_search. I'm
not sure wh
Module Name:src
Committed By: riastradh
Date: Mon Mar 21 22:20:32 UTC 2022
Modified Files:
src/sys/kern: subr_autoconf.c
Log Message:
autoconf(9): Enter more timing samples into entropy pool.
Previously, we sampled the time of each _failed_ config_search. I'm
not sure wh
Module Name:src
Committed By: riastradh
Date: Mon Mar 21 00:25:04 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Make rnd_lock_sources work while cold.
x86 uses entropy_extract verry early. Fixes mistake in previous
that did not manife
Module Name:src
Committed By: riastradh
Date: Mon Mar 21 00:25:04 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Make rnd_lock_sources work while cold.
x86 uses entropy_extract verry early. Fixes mistake in previous
that did not manife
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 14:30:57 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Fix premature optimization deadlock in entropy_request.
- For synchronous queries from /dev/random, which are waiting for
ent
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 14:30:57 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Fix premature optimization deadlock in entropy_request.
- For synchronous queries from /dev/random, which are waiting for
ent
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 14:05:41 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Revert "entropy(9): Nix rnd_trylock_sources."
Not a premature optimization after all -- this is necessary because
entropy_request can run i
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 14:05:41 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
Revert "entropy(9): Nix rnd_trylock_sources."
Not a premature optimization after all -- this is necessary because
entropy_request can run i
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:44:18 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Nix rnd_trylock_sources.
This was a premature optimization that turned out to be bogus. It's
not harmful to request more than
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:44:18 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Nix rnd_trylock_sources.
This was a premature optimization that turned out to be bogus. It's
not harmful to request more than
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:18:12 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Fix another new race in entropy_account_cpu.
The consolidation xcall can preempt entropy_enter, between when it
unlocks the per
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:18:12 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Fix another new race in entropy_account_cpu.
The consolidation xcall can preempt entropy_enter, between when it
unlocks the per
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:17:44 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Shuffle some assertions around.
Tripped over (diff || E->pending == ENTROPY_CAPACITY*NBBY), not sure
why yet, printing values w
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:17:44 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Shuffle some assertions around.
Tripped over (diff || E->pending == ENTROPY_CAPACITY*NBBY), not sure
why yet, printing values w
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:17:32 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Lock the per-CPU state in entropy_account_cpu.
This was previously called with the per-CPU state locked, which
worked fine as l
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:17:32 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Lock the per-CPU state in entropy_account_cpu.
This was previously called with the per-CPU state locked, which
worked fine as l
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:17:09 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Factor out logic to lock and unlock per-CPU state.
No functional change intended.
To generate a diff of this commit:
cvs rdif
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 13:17:09 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Factor out logic to lock and unlock per-CPU state.
No functional change intended.
To generate a diff of this commit:
cvs rdif
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 00:19:11 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Avoid reentrance to per-CPU state from sleeping on lock.
Changing the global entropy lock from IPL_VM to IPL_SOFTSERIAL meant
i
Module Name:src
Committed By: riastradh
Date: Sun Mar 20 00:19:11 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Avoid reentrance to per-CPU state from sleeping on lock.
Changing the global entropy lock from IPL_VM to IPL_SOFTSERIAL meant
i
Module Name:src
Committed By: hannken
Date: Sat Mar 19 13:50:28 UTC 2022
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
Lock vnode across VOP_OPEN.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/kern/vfs_mount.c
Please note that diffs are
Module Name:src
Committed By: hannken
Date: Sat Mar 19 13:50:28 UTC 2022
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
Lock vnode across VOP_OPEN.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/kern/vfs_mount.c
Please note that diffs are
Module Name:src
Committed By: hannken
Date: Sat Mar 19 13:50:02 UTC 2022
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
Lock vnode across VOP_OPEN.
To generate a diff of this commit:
cvs rdiff -u -r1.225 -r1.226 src/sys/kern/vfs_vnops.c
Please note that diffs ar
Module Name:src
Committed By: hannken
Date: Sat Mar 19 13:50:02 UTC 2022
Modified Files:
src/sys/kern: vfs_vnops.c
Log Message:
Lock vnode across VOP_OPEN.
To generate a diff of this commit:
cvs rdiff -u -r1.225 -r1.226 src/sys/kern/vfs_vnops.c
Please note that diffs ar
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:37:14 UTC 2022
Modified Files:
src/sys/kern: kern_clock.c
Log Message:
clockrnd(9): Use atomic_load_relaxed for struct clockrnd::needed.
This may be set concurrently by clockrnd_get, so let's match the
atomic_sto
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:37:14 UTC 2022
Modified Files:
src/sys/kern: kern_clock.c
Log Message:
clockrnd(9): Use atomic_load_relaxed for struct clockrnd::needed.
This may be set concurrently by clockrnd_get, so let's match the
atomic_sto
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:37:06 UTC 2022
Modified Files:
src/sys/kern: init_main.c
Log Message:
entropy(9): Establish the softint a little earlier.
Just need to wait until softint_establish and high-priority xcalls
will work, no later tha
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:37:06 UTC 2022
Modified Files:
src/sys/kern: init_main.c
Log Message:
entropy(9): Establish the softint a little earlier.
Just need to wait until softint_establish and high-priority xcalls
will work, no later tha
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:35:28 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Count dropped or truncated interrupt samples.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/kern_
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:35:28 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Count dropped or truncated interrupt samples.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/kern_
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:35:19 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Reduce global entropy lock from IPL_VM to IPL_SOFTSERIAL.
This is no longer ever taken in hard interrupt context, so there's no
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:35:19 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Reduce global entropy lock from IPL_VM to IPL_SOFTSERIAL.
This is no longer ever taken in hard interrupt context, so there's no
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:35:07 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Request entropy after the softint is enabled.
Otherwise, there is a window during which interrupts are running, but
the softint
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:35:07 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Request entropy after the softint is enabled.
Otherwise, there is a window during which interrupts are running, but
the softint
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:34:56 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Use the early-entropy path only while cold.
This way, we never take the global entropy lock from interrupt
handlers (no interru
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:34:56 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Use the early-entropy path only while cold.
This way, we never take the global entropy lock from interrupt
handlers (no interru
Module Name:src
Committed By: riastradh
Date: Fri Mar 18 23:34:44 UTC 2022
Modified Files:
src/sys/kern: kern_entropy.c
Log Message:
entropy(9): Create per-CPU state earlier.
This will make it possible to use it from interrupts as soon as they
start, which means the globa
701 - 800 of 1026 matches
Mail list logo