CVS commit: src/sys/kern

2023-07-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jul 29 23:51:29 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: sys_memfd: Fix logic errors for offset in the previous. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/kern/sys_memfd.c

CVS commit: src/sys/kern

2023-07-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jul 29 23:51:29 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: sys_memfd: Fix logic errors for offset in the previous. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/kern/sys_memfd.c

CVS commit: src/sys/kern

2023-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 08:46:27 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: memfd(2): Convert KASSERT to CTASSERT. Move it closer to where it's relevant too. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/sys/kern

2023-07-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 08:46:27 UTC 2023 Modified Files: src/sys/kern: sys_memfd.c Log Message: memfd(2): Convert KASSERT to CTASSERT. Move it closer to where it's relevant too. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/sys/kern

2023-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 29 04:06:32 UTC 2023 Modified Files: src/sys/kern: sys_epoll.c Log Message: remove extra `_' to fix debug build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/kern/sys_epoll.c Please note that

CVS commit: src/sys/kern

2023-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 29 04:06:32 UTC 2023 Modified Files: src/sys/kern: sys_epoll.c Log Message: remove extra `_' to fix debug build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/kern/sys_epoll.c Please note that

Re: CVS commit: src/sys/kern

2023-07-28 Thread Taylor R Campbell
> Date: Fri, 28 Jul 2023 23:40:40 +0900 > From: Izumi Tsutsui > > > Module Name:src > > Committed By: riastradh > > Date: Fri Jul 28 10:37:28 UTC 2023 > > > > Modified Files: > > src/sys/kern: kern_tc.c > > > > Log Message: > > timecounter(9): Link to phk's

Re: CVS commit: src/sys/kern

2023-07-28 Thread Izumi Tsutsui
> Module Name: src > Committed By: riastradh > Date: Fri Jul 28 10:37:28 UTC 2023 > > Modified Files: > src/sys/kern: kern_tc.c > > Log Message: > timecounter(9): Link to phk's timecounter paper for reference. Maybe it's better to refer our timecounter(9) man page?

CVS commit: src/sys/kern

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:37:28 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Link to phk's timecounter paper for reference. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:37:28 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Link to phk's timecounter paper for reference. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

2023-07-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jul 27 01:48:49 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: kern: Restore non-atomic time_second symbol. This is used by savecore(8), vmstat(8), and possibly other things. XXX Should really teach dump

CVS commit: src/sys/kern

2023-07-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jul 27 01:48:49 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: kern: Restore non-atomic time_second symbol. This is used by savecore(8), vmstat(8), and possibly other things. XXX Should really teach dump

CVS commit: src/sys/kern

2023-07-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jul 18 11:57:37 UTC 2023 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Print `waiting for devices' normally once a minute. To generate a diff of this commit: cvs rdiff -u -r1.313 -r1.314

CVS commit: src/sys/kern

2023-07-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jul 18 11:57:37 UTC 2023 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Print `waiting for devices' normally once a minute. To generate a diff of this commit: cvs rdiff -u -r1.313 -r1.314

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 22:57:35 UTC 2023 Modified Files: src/sys/kern: subr_prf.c Log Message: device_printf(9): Lock to avoid interleaving output. XXX pullup-9 XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.200

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 22:57:35 UTC 2023 Modified Files: src/sys/kern: subr_prf.c Log Message: device_printf(9): Lock to avoid interleaving output. XXX pullup-9 XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.200

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 21:51:45 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Sprinkle membar_consumer around th->th_generation. This code was apparently written under the misapprehension that

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 21:51:45 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Sprinkle membar_consumer around th->th_generation. This code was apparently written under the misapprehension that

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 21:51:31 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Use atomic_store_release/load_consume for timehands. This probably fixes real bugs on Alpha and makes the synchronization

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 21:51:31 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Use atomic_store_release/load_consume for timehands. This probably fixes real bugs on Alpha and makes the synchronization

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 21:51:20 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Use seqlock for atomic snapshots of timebase. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 21:51:20 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Use seqlock for atomic snapshots of timebase. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 15:41:06 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: Revert "timecounter(9): Use an ipi barrier on time_second/uptime rollover." Evidently rump doesn't have ipi, so this won't work unless we have

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 15:41:06 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: Revert "timecounter(9): Use an ipi barrier on time_second/uptime rollover." Evidently rump doesn't have ipi, so this won't work unless we have

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:48:14 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): No static; committed wrong version of patch. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:48:14 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): No static; committed wrong version of patch. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:42:23 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Use an ipi barrier on time_second/uptime rollover. This way we only need __insn_barrier, not membar_consumer, on the read side.

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:42:23 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Use an ipi barrier on time_second/uptime rollover. This way we only need __insn_barrier, not membar_consumer, on the read side.

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:42:02 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Revert last -- timecounter_lock is already IPL_HIGH. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:42:02 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Revert last -- timecounter_lock is already IPL_HIGH. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:35:07 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Ward off interrupts during time_second/uptime update. Only relevant during 32-bit wraparound, so the potential performance

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:35:07 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Ward off interrupts during time_second/uptime update. Only relevant during 32-bit wraparound, so the potential performance

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:29:12 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Fix thinko in previous. Swapped the wrong variable in this mental macro expansion! To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 13:29:12 UTC 2023 Modified Files: src/sys/kern: kern_tc.c Log Message: timecounter(9): Fix thinko in previous. Swapped the wrong variable in this mental macro expansion! To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 10:55:27 UTC 2023 Modified Files: src/sys/kern: kern_kthread.c Log Message: kthread(9): Fix nested kthread_join. No reason for one kthread_join to interfere with another, or to cause non-cyclic dependencies to get

CVS commit: src/sys/kern

2023-07-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 17 10:55:27 UTC 2023 Modified Files: src/sys/kern: kern_kthread.c Log Message: kthread(9): Fix nested kthread_join. No reason for one kthread_join to interfere with another, or to cause non-cyclic dependencies to get

CVS commit: src/sys/kern

2023-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 16 10:18:19 UTC 2023 Modified Files: src/sys/kern: kern_heartbeat.c Log Message: heartbeat(9): For now, use time_uptime without atomic_load_relaxed. A later commit will change time_uptime to a macro so it is atomic,

CVS commit: src/sys/kern

2023-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 16 10:18:19 UTC 2023 Modified Files: src/sys/kern: kern_heartbeat.c Log Message: heartbeat(9): For now, use time_uptime without atomic_load_relaxed. A later commit will change time_uptime to a macro so it is atomic,

CVS commit: src/sys/kern

2023-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 16 10:18:07 UTC 2023 Modified Files: src/sys/kern: kern_heartbeat.c Log Message: heartbeat(9): Avoid xcall(9) while cold. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_heartbeat.c

CVS commit: src/sys/kern

2023-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 16 10:18:07 UTC 2023 Modified Files: src/sys/kern: kern_heartbeat.c Log Message: heartbeat(9): Avoid xcall(9) while cold. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_heartbeat.c

CVS commit: src/sys/kern

2023-07-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jul 13 13:33:55 UTC 2023 Modified Files: src/sys/kern: kern_synch.c Log Message: kern: Print more detailed monotonic-clock-went-backwards messages. Let's try harder to track this down. XXX Should add dtrace probes. To

CVS commit: src/sys/kern

2023-07-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jul 13 13:33:55 UTC 2023 Modified Files: src/sys/kern: kern_synch.c Log Message: kern: Print more detailed monotonic-clock-went-backwards messages. Let's try harder to track this down. XXX Should add dtrace probes. To

CVS commit: src/sys/kern

2023-07-10 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jul 10 06:42:33 UTC 2023 Modified Files: src/sys/kern: files.kern Log Message: add missing sys_memfd.c. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/kern/files.kern Please note that diffs are not

CVS commit: src/sys/kern

2023-07-10 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jul 10 06:42:33 UTC 2023 Modified Files: src/sys/kern: files.kern Log Message: add missing sys_memfd.c. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/kern/files.kern Please note that diffs are not

CVS commit: src/sys/kern

2023-07-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jul 10 02:33:04 UTC 2023 Modified Files: src/sys/kern: syscalls.master Log Message: Add memfd_create(2) from GSoC 2023 by Theodore Preduta To generate a diff of this commit: cvs rdiff -u -r1.309 -r1.310

CVS commit: src/sys/kern

2023-07-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jul 10 02:33:04 UTC 2023 Modified Files: src/sys/kern: syscalls.master Log Message: Add memfd_create(2) from GSoC 2023 by Theodore Preduta To generate a diff of this commit: cvs rdiff -u -r1.309 -r1.310

CVS commit: src/sys/kern

2023-07-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 8 11:42:03 UTC 2023 Modified Files: src/sys/kern: kern_resource.c Log Message: kern_resource.c: Fix brace placement. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190

CVS commit: src/sys/kern

2023-07-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 8 11:42:03 UTC 2023 Modified Files: src/sys/kern: kern_resource.c Log Message: kern_resource.c: Fix brace placement. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 18:02:52 UTC 2023 Modified Files: src/sys/kern: kern_lock.c Log Message: Revert unintentional changes to kern_lock.c in previous commit. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 18:02:52 UTC 2023 Modified Files: src/sys/kern: kern_lock.c Log Message: Revert unintentional changes to kern_lock.c in previous commit. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 17:05:13 UTC 2023 Modified Files: src/sys/kern: kern_heartbeat.c kern_lock.c Log Message: heartbeat(9): Test whether curcpu is stable, not kpreempt_disabled. kpreempt_disabled worked for my testing because I tested

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 17:05:13 UTC 2023 Modified Files: src/sys/kern: kern_heartbeat.c kern_lock.c Log Message: heartbeat(9): Test whether curcpu is stable, not kpreempt_disabled. kpreempt_disabled worked for my testing because I tested

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 17:04:50 UTC 2023 Modified Files: src/sys/kern: subr_xcall.c Log Message: xcall(9): If !mp_online, raise spl or set LP_BOUND to call func. High-priority xcalls may reasonably assume that the spl is raised to

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 17:04:50 UTC 2023 Modified Files: src/sys/kern: subr_xcall.c Log Message: xcall(9): If !mp_online, raise spl or set LP_BOUND to call func. High-priority xcalls may reasonably assume that the spl is raised to

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 12:34:26 UTC 2023 Modified Files: src/sys/kern: kern_crashme.c Log Message: crashme(9): New crash methods with raised ipl or kpreempt disabled. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/kern

2023-07-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 7 12:34:26 UTC 2023 Modified Files: src/sys/kern: kern_crashme.c Log Message: crashme(9): New crash methods with raised ipl or kpreempt disabled. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/kern

2023-06-26 Thread Masatake Daimon
Module Name:src Committed By: pho Date: Tue Jun 27 01:19:44 UTC 2023 Modified Files: src/sys/kern: kern_timeout.c Log Message: callout(9): Delete the unused member cc_cancel from struct callout_cpu I see no reason why it should be there, and believe its a leftover from

CVS commit: src/sys/kern

2023-06-26 Thread Masatake Daimon
Module Name:src Committed By: pho Date: Tue Jun 27 01:19:44 UTC 2023 Modified Files: src/sys/kern: kern_timeout.c Log Message: callout(9): Delete the unused member cc_cancel from struct callout_cpu I see no reason why it should be there, and believe its a leftover from

CVS commit: src/sys/kern

2023-06-26 Thread Masatake Daimon
Module Name:src Committed By: pho Date: Tue Jun 27 01:17:43 UTC 2023 Modified Files: src/sys/kern: kern_timeout.c Log Message: callout(9): Tidy up the condition for "callout is running on another LWP" No functional changes. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2023-06-26 Thread Masatake Daimon
Module Name:src Committed By: pho Date: Tue Jun 27 01:17:43 UTC 2023 Modified Files: src/sys/kern: kern_timeout.c Log Message: callout(9): Tidy up the condition for "callout is running on another LWP" No functional changes. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2023-06-26 Thread Masatake Daimon
Module Name:src Committed By: pho Date: Tue Jun 27 01:15:22 UTC 2023 Modified Files: src/sys/kern: kern_timeout.c Log Message: callout(9): Fix panic() in callout_destroy() (kern/57226) The culprit was callout_halt(). "(c->c_flags & CALLOUT_FIRED) != 0" wasn't the correct

CVS commit: src/sys/kern

2023-06-26 Thread Masatake Daimon
Module Name:src Committed By: pho Date: Tue Jun 27 01:15:22 UTC 2023 Modified Files: src/sys/kern: kern_timeout.c Log Message: callout(9): Fix panic() in callout_destroy() (kern/57226) The culprit was callout_halt(). "(c->c_flags & CALLOUT_FIRED) != 0" wasn't the correct

CVS commit: src/sys/kern

2023-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 23 22:49:38 UTC 2023 Modified Files: src/sys/kern: kern_synch.c Log Message: tsleep: Comment out kernel lock assertion for now. Breaks tpm(4) which breaks boot on a lot of systems. tpm(4) shouldn't be using tsleep;

CVS commit: src/sys/kern

2023-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 23 22:49:38 UTC 2023 Modified Files: src/sys/kern: kern_synch.c Log Message: tsleep: Comment out kernel lock assertion for now. Breaks tpm(4) which breaks boot on a lot of systems. tpm(4) shouldn't be using tsleep;

CVS commit: src/sys/kern

2023-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 23 21:19:03 UTC 2023 Modified Files: src/sys/kern: kern_synch.c Log Message: tsleep(9): Assert kernel lock held. This is never safe to use without the kernel lock. It should only appear in legacy subsystems that

CVS commit: src/sys/kern

2023-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jun 23 21:19:03 UTC 2023 Modified Files: src/sys/kern: kern_synch.c Log Message: tsleep(9): Assert kernel lock held. This is never safe to use without the kernel lock. It should only appear in legacy subsystems that

CVS commit: src/sys/kern

2023-05-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 24 20:22:23 UTC 2023 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Avoid race between rnd_add_data and ioctl(RNDCTL). XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.60

CVS commit: src/sys/kern

2023-05-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 24 20:22:23 UTC 2023 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Avoid race between rnd_add_data and ioctl(RNDCTL). XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.60

CVS commit: src/sys/kern

2023-05-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 24 20:22:12 UTC 2023 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): On flags change, cancel any scheduled consolidation. We've been instructed to lose confidence in existing entropy sources, so

CVS commit: src/sys/kern

2023-05-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 24 20:22:12 UTC 2023 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): On flags change, cancel any scheduled consolidation. We've been instructed to lose confidence in existing entropy sources, so

CVS commit: src/sys/kern

2023-05-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 23 08:16:43 UTC 2023 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Omit config_detach kernel lock assertion too for now. like in config_attach_pseudo, this assertion almost certainly

CVS commit: src/sys/kern

2023-05-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 23 08:16:43 UTC 2023 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Omit config_detach kernel lock assertion too for now. like in config_attach_pseudo, this assertion almost certainly

CVS commit: src/sys/kern

2023-05-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 23 00:31:43 UTC 2023 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Omit config_attach_pseudo kernel lock assertion for now. Breaks too many things that I didn't test in the branch (cgd, fss,

CVS commit: src/sys/kern

2023-05-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 23 00:31:43 UTC 2023 Modified Files: src/sys/kern: subr_autoconf.c Log Message: autoconf(9): Omit config_attach_pseudo kernel lock assertion for now. Breaks too many things that I didn't test in the branch (cgd, fss,

CVS commit: src/sys/kern

2023-05-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 22 14:07:37 UTC 2023 Modified Files: src/sys/kern: tty.c Log Message: tty(9): Make ttwrite update uio with only how much it has consumed. As is, it leaves uio in an inconsistent state. Good enough for the write(2)

CVS commit: src/sys/kern

2023-05-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 22 14:07:37 UTC 2023 Modified Files: src/sys/kern: tty.c Log Message: tty(9): Make ttwrite update uio with only how much it has consumed. As is, it leaves uio in an inconsistent state. Good enough for the write(2)

CVS commit: src/sys/kern

2023-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 14 09:29:58 UTC 2023 Modified Files: src/sys/kern: sys_descrip.c Log Message: kern/sys_descrip.c: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/kern/sys_descrip.c

CVS commit: src/sys/kern

2023-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun May 14 09:29:58 UTC 2023 Modified Files: src/sys/kern: sys_descrip.c Log Message: kern/sys_descrip.c: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/kern/sys_descrip.c

CVS commit: src/sys/kern

2023-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 1 12:18:08 UTC 2023 Modified Files: src/sys/kern: kern_mutex.c Log Message: mutex(9): Write comments in terms of ordering semantics. Phrasing things in terms of implementation details like `acquiring and locking

CVS commit: src/sys/kern

2023-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 1 12:18:08 UTC 2023 Modified Files: src/sys/kern: kern_mutex.c Log Message: mutex(9): Write comments in terms of ordering semantics. Phrasing things in terms of implementation details like `acquiring and locking

CVS commit: src/sys/kern

2023-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 1 12:17:56 UTC 2023 Modified Files: src/sys/kern: kern_mutex.c Log Message: mutex(9): Omit needless membar_consumer. In practical terms, this is not necessary because MUTEX_SET_WAITERS already issues

CVS commit: src/sys/kern

2023-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 1 12:17:56 UTC 2023 Modified Files: src/sys/kern: kern_mutex.c Log Message: mutex(9): Omit needless membar_consumer. In practical terms, this is not necessary because MUTEX_SET_WAITERS already issues

CVS commit: src/sys/kern

2023-04-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 30 08:46:11 UTC 2023 Modified Files: src/sys/kern: vfs_subr.c Log Message: kern/vfs_subr.c: Revert previous build fixes, no longer needed. SDT_PROBE* will now DTRT here. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2023-04-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 30 08:46:11 UTC 2023 Modified Files: src/sys/kern: vfs_subr.c Log Message: kern/vfs_subr.c: Revert previous build fixes, no longer needed. SDT_PROBE* will now DTRT here. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:07:30 UTC 2023 Modified Files: src/sys/kern: vfs_subr.c Log Message: vfs: Sprinkle dtrace probes into syncer. To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498 src/sys/kern/vfs_subr.c Please note

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:07:30 UTC 2023 Modified Files: src/sys/kern: vfs_subr.c Log Message: vfs: Sprinkle dtrace probes into syncer. To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498 src/sys/kern/vfs_subr.c Please note

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:07:22 UTC 2023 Modified Files: src/sys/kern: vfs_cache.c vfs_init.c Log Message: vfs(9): Move SDT_PROVIDER_DEFINE(vfs) from vfs_cache.c to vfs_init.c. Not a namecache-specific thing. To generate a diff of this

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:07:22 UTC 2023 Modified Files: src/sys/kern: vfs_cache.c vfs_init.c Log Message: vfs(9): Move SDT_PROVIDER_DEFINE(vfs) from vfs_cache.c to vfs_init.c. Not a namecache-specific thing. To generate a diff of this

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:07:13 UTC 2023 Modified Files: src/sys/kern: vfs_init.c Log Message: kern/vfs_init.c: Sort includes. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:07:13 UTC 2023 Modified Files: src/sys/kern: vfs_init.c Log Message: kern/vfs_init.c: Sort includes. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:06:33 UTC 2023 Modified Files: src/sys/kern: vfs_subr.c Log Message: kern/vfs_subr.c: Sort includes. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 10:06:33 UTC 2023 Modified Files: src/sys/kern: vfs_subr.c Log Message: kern/vfs_subr.c: Sort includes. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 06:34:20 UTC 2023 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: kern/vfs_syscalls.c: Nix trailing whitesapce. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.558

CVS commit: src/sys/kern

2023-04-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 29 06:34:20 UTC 2023 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: kern/vfs_syscalls.c: Nix trailing whitesapce. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.558

CVS commit: src/sys/kern

2023-04-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 29 03:36:55 UTC 2023 Modified Files: src/sys/kern: subr_time.c Log Message: White space fix. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/kern/subr_time.c Please note that diffs are not public

CVS commit: src/sys/kern

2023-04-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 29 03:36:55 UTC 2023 Modified Files: src/sys/kern: subr_time.c Log Message: White space fix. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/kern/subr_time.c Please note that diffs are not public

CVS commit: src/sys/kern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 14:23:59 UTC 2023 Modified Files: src/sys/kern: kern_descrip.c sys_descrip.c Log Message: fcntl(2), flock(2): Assert FHASLOCK is clear if no fo_advlock. To generate a diff of this commit: cvs rdiff -u -r1.256

CVS commit: src/sys/kern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 14:23:59 UTC 2023 Modified Files: src/sys/kern: kern_descrip.c sys_descrip.c Log Message: fcntl(2), flock(2): Assert FHASLOCK is clear if no fo_advlock. To generate a diff of this commit: cvs rdiff -u -r1.256

CVS commit: src/sys/kern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 14:23:50 UTC 2023 Modified Files: src/sys/kern: sys_descrip.c Log Message: fcntl(2), flock(2): Unify error branches. Let's make this a bit less error-prone by having everything converge in the same place instead of

CVS commit: src/sys/kern

2023-04-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Apr 22 14:23:50 UTC 2023 Modified Files: src/sys/kern: sys_descrip.c Log Message: fcntl(2), flock(2): Unify error branches. Let's make this a bit less error-prone by having everything converge in the same place instead of

<    1   2   3   4   5   6   7   8   9   10   >