On 02.08.2020 15:57, Taylor R Campbell wrote:
> But it sounds like the original motivation is that it triggered
> -Wvla...which frankly strikes me as a compiler bug since there's
> obviously no actual VLA created in sizeof; as far as I can tell
> there's no semantic difference between
> Date: Sun, 2 Aug 2020 10:47:21 +0200
> From: Jarom�r Dole ek
>
> Readability first and foremost in this case.
>
> I was exploring if I can disable VLAs for the kernel altogether, this
> can't be done for now. Nevertheless, this change looked like it would
> be useful to make anyway.
Why does
Readability first and foremost in this case.
I was exploring if I can disable VLAs for the kernel altogether, this
can't be done for now. Nevertheless, this change looked like it would
be useful to make anyway.
Le dim. 2 août 2020 à 01:15, Taylor R Campbell
a écrit :
>
> > Module Name:src
>
> Module Name:src
> Committed By: jdolecek
> Date: Sat Aug 1 11:18:26 UTC 2020
>
> Modified Files:
> src/sys/kern: subr_autoconf.c
>
> Log Message:
> avoid VLA for the sizeof() calculations
Why?
Le 28/04/2020 à 09:16, Luke Mewburn a écrit :
On 20-04-26 18:15, Maxime Villard wrote:
| - There was no demonstrated use-case justifying importing it. In addition,
|major OSes like Windows and macOS do not implement SCTP. There just is
no
|demand for SCTP on the market; and on
On 2020/06/02 2:08, Joerg Sonnenberger wrote:
On Sun, May 31, 2020 at 11:24:20PM +, Rin Okuyama wrote:
Module Name:src
Committed By: rin
Date: Sun May 31 23:24:20 UTC 2020
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
Stop allocating buffers dynamically
On Sun, May 31, 2020 at 11:24:20PM +, Rin Okuyama wrote:
> Module Name: src
> Committed By: rin
> Date: Sun May 31 23:24:20 UTC 2020
>
> Modified Files:
> src/sys/kern: kern_timeout.c
>
> Log Message:
> Stop allocating buffers dynamically in a DDB session, in order not to
>
"Rin Okuyama" writes:
> Module Name: src
> Committed By: rin
> Date: Sun May 31 08:33:48 UTC 2020
>
> Modified Files:
> src/sys/kern: kern_timeout.c
>
> Log Message:
> db_show_callout(): struct callout_cpu and cpu_info are too much for stack.
>
> XXX
> DDB can be running in the
> On May 31, 2020, at 1:33 AM, Rin Okuyama wrote:
>
> db_show_callout(): struct callout_cpu and cpu_info are too much for stack.
>
> XXX
> DDB can be running in the interrupt context, e.g., when activated from
> console. Therefore, use kmem_intr_alloc(9) instead of kmem_alloc(9).
>
> Frame
On 07.05.2020 07:46, Michael van Elst wrote:
> On Wed, May 06, 2020 at 12:39:21PM +0200, Kamil Rytarowski wrote:
>
> Hi Kamil,
>
>> If I revert the pipe(2) changes on top of NetBSD-current, the test is no
>> longer racy again.
>
> I tried 9.99.60 with and without my bugfix. The test always
On Wed, May 06, 2020 at 12:39:21PM +0200, Kamil Rytarowski wrote:
Hi Kamil,
> If I revert the pipe(2) changes on top of NetBSD-current, the test is no
> longer racy again.
I tried 9.99.60 with and without my bugfix. The test always failed
after some time with exactly that error.
If the change
This caused regressions in t_ptrace_wait* tests and random
hangs/timeouts/failures.
If I revert the pipe(2) changes on top of NetBSD-current, the test is no
longer racy again.
http://netbsd.org/~kamil/patch-00249-pipe-revert.txt
Reproducer:
cd /usr/tests/lib/libc/sys
./t_ptrace_waitpid
On Fri, May 01, 2020 at 04:46:36PM +, m...@netbsd.org wrote:
> We can setup an equivalence: put as much effort into the SCTP removal
> proposal as there was for the SCTP introduction proposal.
>
> Since SCTP was just dropped in src without any prior discussion, I don't
> think we need any
We can setup an equivalence: put as much effort into the SCTP removal
proposal as there was for the SCTP introduction proposal.
Since SCTP was just dropped in src without any prior discussion, I don't
think we need any discussion for removing it.
On 20-04-26 18:15, Maxime Villard wrote:
| - There was no demonstrated use-case justifying importing it. In addition,
|major OSes like Windows and macOS do not implement SCTP. There just is no
|demand for SCTP on the market; and on NetBSD, proportionally even less.
SCTP is used in
> On Apr 26, 2020, at 2:04 PM, Michael van Elst wrote:
>
> Log Message:
> fix DIAGNOSTIC build
non-DIAGNOSTIC you mean?
-- thorpej
Le 26/04/2020 à 16:21, Jonathan A. Kollasch a écrit :
> Module Name: src
> Committed By: jakllsch
> Date: Sun Apr 26 14:21:14 UTC 2020
>
> Modified Files:
> src/sys/kern: uipc_socket.c
>
> Log Message:
> Implement SCTP bug fixes found by maxv@.
>
> Adding these seems to improve
On Mon, Apr 13, 2020 at 04:34:48PM +0100, Roy Marples wrote:
> On 13/04/2020 16:31, Andrew Doran wrote:
> > Hi Roy.
> >
> > On Sat, Apr 11, 2020 at 02:13:06AM +0100, Roy Marples wrote:
> > > On 10/04/2020 23:34, Andrew Doran wrote:
> > > > Module Name:src
> > > > Committed By: ad
> > > >
On 13/04/2020 16:31, Andrew Doran wrote:
Hi Roy.
On Sat, Apr 11, 2020 at 02:13:06AM +0100, Roy Marples wrote:
On 10/04/2020 23:34, Andrew Doran wrote:
Module Name:src
Committed By: ad
Date: Fri Apr 10 22:34:36 UTC 2020
Modified Files:
src/sys/kern: vfs_mount.c
Log
Hi Roy.
On Sat, Apr 11, 2020 at 02:13:06AM +0100, Roy Marples wrote:
> On 10/04/2020 23:34, Andrew Doran wrote:
> > Module Name:src
> > Committed By: ad
> > Date: Fri Apr 10 22:34:36 UTC 2020
> >
> > Modified Files:
> > src/sys/kern: vfs_mount.c
> >
> > Log
On 10/04/2020 23:34, Andrew Doran wrote:
Module Name:src
Committed By: ad
Date: Fri Apr 10 22:34:36 UTC 2020
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
vfs_mountroot(): don't needlessly grab a second reference to the root vnode
(the kernel never chdirs) nor
On Sun, Mar 29, 2020 at 11:41:23AM +0200, Maxime Villard wrote:
> Le 23/03/2020 ? 21:02, Andrew Doran a ?crit?:
> > Module Name:src
> > Committed By: ad
> > Date: Mon Mar 23 20:02:14 UTC 2020
> >
> > Modified Files:
> > src/sys/kern: vfs_cache.c
> >
> > Log
Le 23/03/2020 à 21:02, Andrew Doran a écrit :
> Module Name: src
> Committed By: ad
> Date: Mon Mar 23 20:02:14 UTC 2020
>
> Modified Files:
> src/sys/kern: vfs_cache.c
>
> Log Message:
> cache_remove(): remove from the vnode list first, so cache_revlookup()
> doesn't try to
Le 08/03/2020 à 21:41, Andrew Doran a écrit :
> On Sun, Mar 08, 2020 at 08:34:29AM +0100, Maxime Villard wrote:
>> Le 08/03/2020 ? 01:31, Andrew Doran a ?crit?:
>>> Module Name:src
>>> Committed By: ad
>>> Date: Sun Mar 8 00:31:19 UTC 2020
>>>
>>> Modified Files:
>>>
On Sun, Mar 08, 2020 at 08:34:29AM +0100, Maxime Villard wrote:
> Le 08/03/2020 ? 01:31, Andrew Doran a ?crit?:
> > Module Name:src
> > Committed By: ad
> > Date: Sun Mar 8 00:31:19 UTC 2020
> >
> > Modified Files:
> > src/sys/kern: subr_kmem.c
> >
> > Log
Le 08/03/2020 à 01:31, Andrew Doran a écrit :
> Module Name: src
> Committed By: ad
> Date: Sun Mar 8 00:31:19 UTC 2020
>
> Modified Files:
> src/sys/kern: subr_kmem.c
>
> Log Message:
> KMEM_SIZE: append the size_t to the allocated buffer, rather than
> prepending, so it doesn't
On Tue, Mar 03, 2020 at 02:55:16PM -0500, Christos Zoulas wrote:
> Module Name: src
> Committed By: christos
> Date: Tue Mar 3 19:55:16 UTC 2020
>
> Modified Files:
> src/sys/kern: vfs_syscalls.c
>
> Log Message:
> don't skip the rdir check for the lazy case; breaks chroot df(1)
> Date: Tue, 3 Mar 2020 12:41:32 +0900
> From: Rin Okuyama
>
> On 2020/03/03 1:00, Taylor R Campbell wrote:
> > Include kern_crashme.c in non-DEBUG kernels.
> >
> > This is useful for simulating crashes in production to test failover.
>
> I like this.
>
> Could you please send pullup request
Hi,
On 2020/03/03 1:00, Taylor R Campbell wrote:
Module Name:src
Committed By: riastradh
Date: Mon Mar 2 16:00:54 UTC 2020
Modified Files:
src/sys/kern: files.kern
Log Message:
Include kern_crashme.c in non-DEBUG kernels.
This is useful for simulating crashes in
On 24.02.2020 21:47, Jaromir Dolecek wrote:
> Module Name: src
> Committed By: jdolecek
> Date: Mon Feb 24 20:47:47 UTC 2020
>
> Modified Files:
> src/sys/kern: init_main.c
>
> Log Message:
> move config_init_mi() call before vfsinit(), which can trigger loading
> of VFS modules
>
"Andrew Doran" writes:
> Module Name: src
> Committed By: ad
> Date: Sun Feb 23 20:08:35 UTC 2020
>
> Modified Files:
> src/sys/kern: kern_pmf.c
>
> Log Message:
> shutdown_all: take kernel_lock now that kern_reboot() doesn't.
ah, i am now guessing that having the kernel lock
"Andrew Doran" writes:
> Module Name: src
> Committed By: ad
> Date: Sun Feb 23 20:06:30 UTC 2020
>
> Modified Files:
> src/sys/kern: kern_reboot.c
>
> Log Message:
> - If concurrent calls to kern_reboot(), only let the first do the deed.
> - Don't need kernel_lock for this
On 20.02.2020 22:14, Jaromir Dolecek wrote:
> Module Name: src
> Committed By: jdolecek
> Date: Thu Feb 20 21:14:23 UTC 2020
>
> Modified Files:
> src/sys/kern: subr_autoconf.c
>
> Log Message:
> protect deferred lists' manipulation by config_misc_lock, same as
> config_pending
> On Feb 17, 2020, at 11:19 PM, Andrew Doran wrote:
>
> Hi,
>
> On Thu, Feb 06, 2020 at 06:33:55PM +0100, J. Hannken-Illjes wrote:
>
>>> On 12. Jan 2020, at 18:49, Andrew Doran wrote:
>>>
>>> Module Name:src
>>> Committed By: ad
>>> Date: Sun Jan 12 17:49:17 UTC
Hi,
On Thu, Feb 06, 2020 at 06:33:55PM +0100, J. Hannken-Illjes wrote:
> > On 12. Jan 2020, at 18:49, Andrew Doran wrote:
> >
> > Module Name:src
> > Committed By: ad
> > Date: Sun Jan 12 17:49:17 UTC 2020
> >
> > Modified Files:
> > src/sys/kern: vfs_vnode.c
>
> On 12. Jan 2020, at 18:49, Andrew Doran wrote:
>
> Module Name: src
> Committed By: ad
> Date: Sun Jan 12 17:49:17 UTC 2020
>
> Modified Files:
> src/sys/kern: vfs_vnode.c
>
> Log Message:
> vput(): don't drop the vnode lock, carry the hold over into vrelel() which
> might
"Christos Zoulas" wrote:
> Log Message:
>
> Don't crash if we are on a hippie trail, head full of zombie
+1 for any Australian references in a commit message :)
Cheers,
Simon.
> Therefore, I wouldn't bother adding kcov.h headers, and rolling back to the
> previous version of in_interrupt for now is fine, considering that kcov
> currently has no use outside of amd64.
if you want to put code in sys/kern please make it portable.
adding more MD code in MI places is the
Le 08/12/2019 à 14:22, Martin Husemann a écrit :
On Sun, Dec 08, 2019 at 12:58:20PM +0100, Maxime Villard wrote:
kMSan has special constraints which, in this specific case, come down to: each
function called from a KCOV instrumentation callback must be a static inline
tagged with __nomsan.
> > > Log Message:
> > > Expunge the panicstr checks, we don't need them.
> >
> > can you explain why?
>
> Sure, [ .. ]
ah, wow. i didn't realise it had such a bad effect on cpus before
they actually go properly down.
we should probably work hard to make them go down faster if possible,
On Wed, Dec 11, 2019 at 09:06:33AM +1100, matthew green wrote:
> "Andrew Doran" writes:
> > Module Name:src
> > Committed By: ad
> > Date: Mon Dec 9 21:02:10 UTC 2019
> >
> > Modified Files:
> > src/sys/kern: kern_rwlock.c
> >
> > Log Message:
> > Expunge the
"Andrew Doran" writes:
> Module Name: src
> Committed By: ad
> Date: Mon Dec 9 21:02:10 UTC 2019
>
> Modified Files:
> src/sys/kern: kern_rwlock.c
>
> Log Message:
> Expunge the panicstr checks, we don't need them.
can you explain why? what sort of crash-time testing did
you
> On Dec 9, 2019, at 1:08 PM, Paul Goyette wrote:
>
> On Mon, 9 Dec 2019, Andrew Doran wrote:
>
>> Module Name: src
>> Committed By:ad
>> Date:Mon Dec 9 21:05:23 UTC 2019
>>
>> Modified Files:
>> src/sys/kern: kern_mutex.c
>>
>> Log Message:
>> - Add a
On Mon, 9 Dec 2019, Andrew Doran wrote:
Module Name:src
Committed By: ad
Date: Mon Dec 9 21:05:23 UTC 2019
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
- Add a mutex_owner_running() for the benefit of the pagedaemon, which
needs help with locking things in
On Sun, Dec 08, 2019 at 12:58:20PM +0100, Maxime Villard wrote:
> kMSan has special constraints which, in this specific case, come down to: each
> function called from a KCOV instrumentation callback must be a static inline
> tagged with __nomsan.
>
> This was not the case with the updated
Le 08/12/2019 à 00:51, Kamil Rytarowski a écrit :
On 08.12.2019 00:35, matthew green wrote:
Module Name:src
Committed By: kamil
Date: Sat Dec 7 19:50:34 UTC 2019
Modified Files:
src/sys/kern: subr_kcov.c
Log Message:
Revert the in_interrupt() change to use again the
On 08.12.2019 00:35, matthew green wrote:
>> Module Name: src
>> Committed By:kamil
>> Date:Sat Dec 7 19:50:34 UTC 2019
>>
>> Modified Files:
>> src/sys/kern: subr_kcov.c
>>
>> Log Message:
>> Revert the in_interrupt() change to use again the x86 specific code
>>
>>
> Module Name: src
> Committed By: kamil
> Date: Sat Dec 7 19:50:34 UTC 2019
>
> Modified Files:
> src/sys/kern: subr_kcov.c
>
> Log Message:
> Revert the in_interrupt() change to use again the x86 specific code
>
> This is prerequisite for kMSan and upcoming kernel changes.
>
Le 01/12/2019 à 16:27, Andrew Doran a écrit :
Module Name:src
Committed By: ad
Date: Sun Dec 1 15:27:58 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
Fix a longstanding problem with LWP limits. When changing the user's
LWP count, we must use the
On 2019/11/30 23:35, Andrew Doran wrote:
Hmm, it works fine on amd64 and looks OK but me, but I have backed it out
for the time being.
Thanks! Also thank you for working on this area!
rin
Module Name:src
Committed By: ad
Date: Sat Nov 30 20:45:49 UTC 2019
Modified Files:
src/sys/kern: tty_ptm.c
Log Message:
VOP_UNLOCK + vrele -> vput
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/tty_ptm.c
Please note that diffs are not
Module Name:src
Committed By: ad
Date: Sat Nov 30 20:45:49 UTC 2019
Modified Files:
src/sys/kern: tty_ptm.c
Log Message:
VOP_UNLOCK + vrele -> vput
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/tty_ptm.c
Please note that diffs are not
Hi,
On Sat, Nov 30, 2019 at 04:52:38PM +0900, Rin Okuyama wrote:
> On 2019/11/30 5:50, Andrew Doran wrote:
> > Module Name:src
> > Committed By: ad
> > Date: Fri Nov 29 20:50:54 UTC 2019
> >
> > Modified Files:
> > src/sys/kern: kern_rwlock.c
> >
> > Log Message:
Module Name:src
Committed By: ad
Date: Sat Nov 30 14:21:16 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
Back out previous. It works on amd64 under stress test but not
evbarm-aarch64 for some reason. Will revisit.
To generate a diff of this commit:
Module Name:src
Committed By: ad
Date: Sat Nov 30 14:21:16 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
Back out previous. It works on amd64 under stress test but not
evbarm-aarch64 for some reason. Will revisit.
To generate a diff of this commit:
On 2019/11/30 5:50, Andrew Doran wrote:
Module Name:src
Committed By: ad
Date: Fri Nov 29 20:50:54 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
A couple more tweaks to avoid reading the lock word.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: ad
Date: Fri Nov 29 20:50:54 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
A couple more tweaks to avoid reading the lock word.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/kern/kern_rwlock.c
Module Name:src
Committed By: ad
Date: Fri Nov 29 20:50:54 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
A couple more tweaks to avoid reading the lock word.
To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/kern/kern_rwlock.c
Module Name:src
Committed By: ad
Date: Fri Nov 29 19:44:59 UTC 2019
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
Get rid of MUTEX_RECEIVE/MUTEX_GIVE.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/kern_mutex.c
Please note that
Module Name:src
Committed By: ad
Date: Fri Nov 29 19:44:59 UTC 2019
Modified Files:
src/sys/kern: kern_mutex.c
Log Message:
Get rid of MUTEX_RECEIVE/MUTEX_GIVE.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/kern_mutex.c
Please note that
Module Name:src
Committed By: ad
Date: Fri Nov 29 18:29:45 UTC 2019
Modified Files:
src/sys/kern: sched_4bsd.c
Log Message:
Don't try to kpreempt a CPU hog unless __HAVE_PREEMPTION (oops).
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38
Module Name:src
Committed By: ad
Date: Fri Nov 29 18:29:45 UTC 2019
Modified Files:
src/sys/kern: sched_4bsd.c
Log Message:
Don't try to kpreempt a CPU hog unless __HAVE_PREEMPTION (oops).
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38
Module Name:src
Committed By: ad
Date: Wed Nov 27 20:31:13 UTC 2019
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
Don't try to IPI other CPUs early on. Fixes a crash on sparc64. Thanks
to martin@ for diagnosing.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: ad
Date: Wed Nov 27 20:31:13 UTC 2019
Modified Files:
src/sys/kern: kern_runq.c
Log Message:
Don't try to IPI other CPUs early on. Fixes a crash on sparc64. Thanks
to martin@ for diagnosing.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: ad
Date: Mon Nov 25 20:16:23 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
Remove some unneeded memory barriers and reads of the lock word.
Prodded by Mateusz Guzik.
To generate a diff of this commit:
cvs rdiff -u -r1.54
Module Name:src
Committed By: ad
Date: Mon Nov 25 20:16:23 UTC 2019
Modified Files:
src/sys/kern: kern_rwlock.c
Log Message:
Remove some unneeded memory barriers and reads of the lock word.
Prodded by Mateusz Guzik.
To generate a diff of this commit:
cvs rdiff -u -r1.54
Module Name:src
Committed By: ad
Date: Mon Nov 25 17:24:59 UTC 2019
Modified Files:
src/sys/kern: kern_softint.c
Log Message:
port-sparc/54718 (sparc install hangs since recent scheduler changes)
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51
Module Name:src
Committed By: ad
Date: Mon Nov 25 17:24:59 UTC 2019
Modified Files:
src/sys/kern: kern_softint.c
Log Message:
port-sparc/54718 (sparc install hangs since recent scheduler changes)
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51
Module Name:src
Committed By: riastradh
Date: Mon Nov 25 15:19:54 UTC 2019
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Use cprng_strong, not cprng_fast, for sysctl kern.arnd.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33
Module Name:src
Committed By: riastradh
Date: Mon Nov 25 15:19:54 UTC 2019
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Use cprng_strong, not cprng_fast, for sysctl kern.arnd.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33
Module Name:src
Committed By: ad
Date: Sun Nov 24 13:23:57 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_start(): don't try to change the target CPU. Fixes potential panic
in setrunnable(). Oops, experimental change that escaped.
To generate a diff
Module Name:src
Committed By: ad
Date: Sun Nov 24 13:23:57 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_start(): don't try to change the target CPU. Fixes potential panic
in setrunnable(). Oops, experimental change that escaped.
To generate a diff
Module Name:src
Committed By: ad
Date: Sun Nov 24 13:14:23 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c kern_turnstile.c
Log Message:
Put section attribute for turnstile0 in the correct place. For LLVM.
To generate a diff of this commit:
cvs rdiff -u -r1.212
Module Name:src
Committed By: ad
Date: Sun Nov 24 13:14:23 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c kern_turnstile.c
Log Message:
Put section attribute for turnstile0 in the correct place. For LLVM.
To generate a diff of this commit:
cvs rdiff -u -r1.212
Module Name:src
Committed By: ad
Date: Sat Nov 23 22:35:08 UTC 2019
Modified Files:
src/sys/kern: kern_runq.c sched_4bsd.c
Log Message:
Pull in sys/atomic.h.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/kern_runq.c
cvs rdiff -u -r1.36
Module Name:src
Committed By: ad
Date: Sat Nov 23 22:35:08 UTC 2019
Modified Files:
src/sys/kern: kern_runq.c sched_4bsd.c
Log Message:
Pull in sys/atomic.h.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/kern_runq.c
cvs rdiff -u -r1.36
Module Name:src
Committed By: ad
Date: Fri Nov 22 20:07:53 UTC 2019
Modified Files:
src/sys/kern: sched_m2.c
Log Message:
sched_tick: examine the correct LWP, and lock it.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/sched_m2.c
Please note
Module Name:src
Committed By: ad
Date: Fri Nov 22 20:07:53 UTC 2019
Modified Files:
src/sys/kern: sched_m2.c
Log Message:
sched_tick: examine the correct LWP, and lock it.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/sched_m2.c
Please note
Module Name:src
Committed By: pgoyette
Date: Fri Nov 22 15:57:49 UTC 2019
Modified Files:
src/sys/kern: core_elf32.c
Log Message:
Use __diagused
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/kern/core_elf32.c
Please note that diffs are not
Module Name:src
Committed By: pgoyette
Date: Fri Nov 22 15:57:49 UTC 2019
Modified Files:
src/sys/kern: core_elf32.c
Log Message:
Use __diagused
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/kern/core_elf32.c
Please note that diffs are not
Module Name:src
Committed By: rin
Date: Fri Nov 22 05:01:44 UTC 2019
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Fix regression introduced to ptrace_regs() in rev 1.27:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/sys_ptrace_common.c#rev1.27
Size
Module Name:src
Committed By: rin
Date: Fri Nov 22 05:01:44 UTC 2019
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Fix regression introduced to ptrace_regs() in rev 1.27:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/sys_ptrace_common.c#rev1.27
Size
Module Name:src
Committed By: ad
Date: Thu Nov 21 20:51:05 UTC 2019
Modified Files:
src/sys/kern: kern_synch.c
Log Message:
- Don't give up kpriority boost in preempt(). That's unfair and bad for
interactive response. It should only be dropped on final return to user.
Module Name:src
Committed By: ad
Date: Thu Nov 21 20:51:05 UTC 2019
Modified Files:
src/sys/kern: kern_synch.c
Log Message:
- Don't give up kpriority boost in preempt(). That's unfair and bad for
interactive response. It should only be dropped on final return to user.
Module Name:src
Committed By: ad
Date: Thu Nov 21 18:22:05 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_create:
- Don't need to check for PK_SYSTEM when inheriting an affinity mask.
- Inherit processor set ID under proc_lock, to sync with pset
Module Name:src
Committed By: ad
Date: Thu Nov 21 18:22:05 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c
Log Message:
lwp_create:
- Don't need to check for PK_SYSTEM when inheriting an affinity mask.
- Inherit processor set ID under proc_lock, to sync with pset
Module Name:src
Committed By: ad
Date: Thu Nov 21 18:17:36 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c kern_sig.c
Log Message:
- lwp_need_userret(): only do it if ONPROC and !curlwp, and explain why.
- Use signotify() in a couple more places.
To generate a diff of
Module Name:src
Committed By: ad
Date: Thu Nov 21 18:17:36 UTC 2019
Modified Files:
src/sys/kern: kern_lwp.c kern_sig.c
Log Message:
- lwp_need_userret(): only do it if ONPROC and !curlwp, and explain why.
- Use signotify() in a couple more places.
To generate a diff of
Module Name:src
Committed By: ad
Date: Thu Nov 21 17:57:40 UTC 2019
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
Break the slow path for callout_halt() out into its own routine.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.56
Module Name:src
Committed By: ad
Date: Thu Nov 21 17:57:40 UTC 2019
Modified Files:
src/sys/kern: kern_timeout.c
Log Message:
Break the slow path for callout_halt() out into its own routine.
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.56
Module Name:src
Committed By: ad
Date: Thu Nov 21 17:50:49 UTC 2019
Modified Files:
src/sys/kern: kern_resource.c kern_softint.c
Log Message:
calcru: ignore running softints, unless softint_timing is on.
Fixes crazy times reported for proc0.
To generate a diff of this
Module Name:src
Committed By: ad
Date: Thu Nov 21 17:50:49 UTC 2019
Modified Files:
src/sys/kern: kern_resource.c kern_softint.c
Log Message:
calcru: ignore running softints, unless softint_timing is on.
Fixes crazy times reported for proc0.
To generate a diff of this
Module Name:src
Committed By: ad
Date: Wed Nov 20 21:49:00 UTC 2019
Modified Files:
src/sys/kern: kern_condvar.c
Log Message:
- Put back a microoptimisation that was accidentally removed.
- Comments.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42
Module Name:src
Committed By: ad
Date: Wed Nov 20 21:49:00 UTC 2019
Modified Files:
src/sys/kern: kern_condvar.c
Log Message:
- Put back a microoptimisation that was accidentally removed.
- Comments.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42
Module Name:src
Committed By: nia
Date: Sun Nov 17 12:32:31 UTC 2019
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Update comment to reflect third-party software's usage of KERN_ARND.
Changing it as the comment suggests would be a very terrible idea due to
the
Module Name:src
Committed By: nia
Date: Sun Nov 17 12:32:31 UTC 2019
Modified Files:
src/sys/kern: subr_cprng.c
Log Message:
Update comment to reflect third-party software's usage of KERN_ARND.
Changing it as the comment suggests would be a very terrible idea due to
the
Module Name:src
Committed By: rin
Date: Sun Nov 17 02:22:14 UTC 2019
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Fix pointer arithmetic for 32-bit process on LP64 kernel in
process_auxv_offset().
Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.
Module Name:src
Committed By: rin
Date: Sun Nov 17 02:22:14 UTC 2019
Modified Files:
src/sys/kern: sys_ptrace_common.c
Log Message:
Fix pointer arithmetic for 32-bit process on LP64 kernel in
process_auxv_offset().
Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.
Module Name:src
Committed By: maxv
Date: Sat Nov 16 10:07:53 UTC 2019
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
NULL-check the structure pointer, not the address of its first field. Also
add KASSERT. For clarity, and to appease kUBSan.
To generate a diff of
Module Name:src
Committed By: maxv
Date: Sat Nov 16 10:07:53 UTC 2019
Modified Files:
src/sys/kern: vfs_mount.c
Log Message:
NULL-check the structure pointer, not the address of its first field. Also
add KASSERT. For clarity, and to appease kUBSan.
To generate a diff of
1001 - 1100 of 1962 matches
Mail list logo