CVS commit: src/sys/arch/powerpc/powerpc

2020-02-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Feb 17 21:49:27 UTC 2020 Modified Files: src/sys/arch/powerpc/powerpc: powerpc_machdep.c Log Message: cpu_ast(): no need to call userret(), as the caller does it for us. From rin@. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2020-02-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Feb 17 21:44:43 UTC 2020 Modified Files: src/sys/kern: kern_softint.c Log Message: softint_dispatch(): Temporarily call kernel_lock_plug_leak() since there is incontinent code somewhere. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2020-02-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Feb 17 21:44:43 UTC 2020 Modified Files: src/sys/kern: kern_softint.c Log Message: softint_dispatch(): Temporarily call kernel_lock_plug_leak() since there is incontinent code somewhere. To generate a diff of this commit: cvs

CVS commit: [ad-namecache] src/sys/kern

2020-02-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 16 22:00:53 UTC 2020 Modified Files: src/sys/kern [ad-namecache]: vfs_cache.c Log Message: Comments. To generate a diff of this commit: cvs rdiff -u -r1.126.2.11 -r1.126.2.12 src/sys/kern/vfs_cache.c Please note that diffs

CVS commit: [ad-namecache] src/sys/kern

2020-02-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 16 22:00:53 UTC 2020 Modified Files: src/sys/kern [ad-namecache]: vfs_cache.c Log Message: Comments. To generate a diff of this commit: cvs rdiff -u -r1.126.2.11 -r1.126.2.12 src/sys/kern/vfs_cache.c Please note that diffs

CVS commit: src/sys/kern

2020-02-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 16 21:31:19 UTC 2020 Modified Files: src/sys/kern: kern_synch.c Log Message: nextlwp(): fix a couple of locking bugs including one I introduced yesterday, and add comments around same. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2020-02-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 16 21:31:19 UTC 2020 Modified Files: src/sys/kern: kern_synch.c Log Message: nextlwp(): fix a couple of locking bugs including one I introduced yesterday, and add comments around same. To generate a diff of this commit: cvs

CVS commit: src/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 18:12:15 UTC 2020 Modified Files: src/sys/arch/vax/vax: pmap.c src/sys/ddb: db_proc.c src/sys/kern: init_main.c kern_exit.c kern_idle.c kern_lwp.c kern_resource.c kern_sleepq.c kern_softint.c

CVS commit: src/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 18:12:15 UTC 2020 Modified Files: src/sys/arch/vax/vax: pmap.c src/sys/ddb: db_proc.c src/sys/kern: init_main.c kern_exit.c kern_idle.c kern_lwp.c kern_resource.c kern_sleepq.c kern_softint.c

CVS commit: src/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 17:13:55 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_exec.c src/sys/kern: kern_exec.c kern_lwp.c src/sys/sys: lwp.h Log Message: PR kern/54922: 9.99.45@20200202 panic: diagnostic assertion

CVS commit: src/sys/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 17:14:31 UTC 2020 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.47 - added lwp_renumber() To generate a diff of this commit: cvs rdiff -u -r1.649 -r1.650 src/sys/sys/param.h Please note that diffs are

CVS commit: src/sys/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 17:14:31 UTC 2020 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.47 - added lwp_renumber() To generate a diff of this commit: cvs rdiff -u -r1.649 -r1.650 src/sys/sys/param.h Please note that diffs are

CVS commit: src/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 17:13:55 UTC 2020 Modified Files: src/sys/compat/linux/common: linux_exec.c src/sys/kern: kern_exec.c kern_lwp.c src/sys/sys: lwp.h Log Message: PR kern/54922: 9.99.45@20200202 panic: diagnostic assertion

CVS commit: src/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 17:09:24 UTC 2020 Modified Files: src/sys/kern: kern_condvar.c sys_select.c src/sys/sys: syncobj.h Log Message: - List all of the syncobjs in syncobj.h. - Update a comment. To generate a diff of this commit: cvs

CVS commit: src/sys

2020-02-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 15 17:09:24 UTC 2020 Modified Files: src/sys/kern: kern_condvar.c sys_select.c src/sys/sys: syncobj.h Log Message: - List all of the syncobjs in syncobj.h. - Update a comment. To generate a diff of this commit: cvs

Re: CVS commit: src/sys

2020-02-08 Thread Andrew Doran
On Thu, Feb 06, 2020 at 11:30:20PM +, Jason R Thorpe wrote: > Modified Files: > src/sys/net: if.c if.h > src/sys/netinet: ip_carp.c > > Log Message: > Perform link state change processing on a work queue, rather than in a > softint. Thinking out loud more than anything else:

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Andrew Doran
Hmm. Was there not originally an environment variable to control this behaviour, since many applications are buggy? Andrew On Sun, Feb 02, 2020 at 01:01:49AM +0900, Ryo ONODERA wrote: > Hi, > > pthread__error()s in pthread_equal() cause segfault > during start of pkgsrc/www/firefox-72.0.2. >

Re: CVS commit: src/common/lib/libc/arch

2020-02-01 Thread Andrew Doran
On Sat, Feb 01, 2020 at 03:02:02PM +, m...@netbsd.org wrote: > On Mon, Jan 27, 2020 at 10:09:21PM +0000, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Mon Jan 27 22:09:21 UTC 2020 > > > > Removed Files: >

Re: CVS commit: src/sys

2020-02-01 Thread Andrew Doran
On Sat, Feb 01, 2020 at 02:23:24AM +, Taylor R Campbell wrote: > Module Name: src > Committed By: riastradh > Date: Sat Feb 1 02:23:23 UTC 2020 > > Modified Files: > src/sys/ddb: db_xxx.c > src/sys/kern: kern_descrip.c kern_sig.c subr_exec_fd.c uipc_socket2.c >

Re: CVS commit: src/lib/libpthread

2020-01-31 Thread Andrew Doran
On Fri, Jan 31, 2020 at 06:55:00PM -, Christos Zoulas wrote: > In article <724af477-010b-9ddf-6ece-e23d7cf59...@gmx.com>, > Kamil Rytarowski wrote: > >-=-=-=-=-=- > >-=-=-=-=-=- > > > >On 31.01.2020 03:38, Christos Zoulas wrote: > >> And it is fixed now. > >> > >> christos > >> > > > >OK.

CVS commit: src/sys/kern

2020-01-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 30 12:36:38 UTC 2020 Modified Files: src/sys/kern: sys_lwp.c Log Message: Update comments To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/kern/sys_lwp.c Please note that diffs are not public domain;

CVS commit: src/sys/kern

2020-01-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 30 12:36:38 UTC 2020 Modified Files: src/sys/kern: sys_lwp.c Log Message: Update comments To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/kern/sys_lwp.c Please note that diffs are not public domain;

CVS commit: src/sys/uvm

2020-01-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 30 12:28:51 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: uvmpdpol_estimatepageable(): Don't take any locks here. This can be called from DDB, and in any case the numbers are

CVS commit: src/sys/uvm

2020-01-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 30 12:28:51 UTC 2020 Modified Files: src/sys/uvm: uvm_pdpolicy_clock.c uvm_pdpolicy_clockpro.c Log Message: uvmpdpol_estimatepageable(): Don't take any locks here. This can be called from DDB, and in any case the numbers are

Re: CVS commit: src/sys/sys

2020-01-29 Thread Andrew Doran
On Wed, Jan 29, 2020 at 12:58:52AM +0700, Robert Elz wrote: > Date:Tue, 28 Jan 2020 16:40:27 + > From: "Andrew Doran" > Message-ID: <20200128164027.8558bf...@cvs.netbsd.org> > > | Log Message: > | Put pri_t back to an int. I

CVS commit: src/lib/libpthread

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 17:11:57 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: - pthread_join(): remove temporary hack now kernel returns correct errno. - kill(getpid(), SIGABRT) -> _lwp_kill(_lwp_self(), SIGABRT) To

CVS commit: src/lib/libpthread

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 17:11:57 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: - pthread_join(): remove temporary hack now kernel returns correct errno. - kill(getpid(), SIGABRT) -> _lwp_kill(_lwp_self(), SIGABRT) To

CVS commit: src/sys

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 15:47:52 UTC 2020 Modified Files: src/sys/compat/common: kern_50.c kern_time_60.c src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_compat_60.c netbsd32_lwp.c src/sys/kern: kern_exec.c

CVS commit: src/sys

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 15:47:52 UTC 2020 Modified Files: src/sys/compat/common: kern_50.c kern_time_60.c src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_compat_60.c netbsd32_lwp.c src/sys/kern: kern_exec.c

CVS commit: src/common/lib/libc/string

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 09:18:26 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Some boot blocks too big now, only compare in big chunks if !_STANDALONE. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/common/lib/libc/string

2020-01-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 29 09:18:26 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Some boot blocks too big now, only compare in big chunks if !_STANDALONE. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/common/lib/libc/gen

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 22:20:45 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: gang_lookup_scan(): if a dense scan and the first sibling doesn't match, the scan is finished. To generate a diff of this commit: cvs

CVS commit: src/common/lib/libc/gen

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 22:20:45 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c Log Message: gang_lookup_scan(): if a dense scan and the first sibling doesn't match, the scan is finished. To generate a diff of this commit: cvs

CVS commit: src/sys/sys

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 20:35:04 UTC 2020 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.43 - struct lwp, pri_t changed To generate a diff of this commit: cvs rdiff -u -r1.645 -r1.646 src/sys/sys/param.h Please note that diffs

CVS commit: src/sys/sys

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 20:35:04 UTC 2020 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.43 - struct lwp, pri_t changed To generate a diff of this commit: cvs rdiff -u -r1.645 -r1.646 src/sys/sys/param.h Please note that diffs

CVS commit: src/sys/sys

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 16:40:27 UTC 2020 Modified Files: src/sys/sys: lwp.h types.h Log Message: Put pri_t back to an int. It looks like there might be a sign extension issue somewhere but it's not worth the hassle trying to find it. To

CVS commit: src/sys/sys

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 16:40:27 UTC 2020 Modified Files: src/sys/sys: lwp.h types.h Log Message: Put pri_t back to an int. It looks like there might be a sign extension issue somewhere but it's not worth the hassle trying to find it. To

CVS commit: src/sys/kern

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 16:35:39 UTC 2020 Modified Files: src/sys/kern: init_main.c Log Message: Call radix_tree_init() earlier, so more stuff can make use of radixtree. To generate a diff of this commit: cvs rdiff -u -r1.518 -r1.519

CVS commit: src/sys/kern

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 16:35:39 UTC 2020 Modified Files: src/sys/kern: init_main.c Log Message: Call radix_tree_init() earlier, so more stuff can make use of radixtree. To generate a diff of this commit: cvs rdiff -u -r1.518 -r1.519

CVS commit: src

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 16:33:34 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c src/sys/sys: radixtree.h Log Message: Add a radix_tree_await_memory(), for kernel use. To generate a diff of this commit: cvs rdiff -u -r1.21

CVS commit: src

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 16:33:34 UTC 2020 Modified Files: src/common/lib/libc/gen: radixtree.c src/sys/sys: radixtree.h Log Message: Add a radix_tree_await_memory(), for kernel use. To generate a diff of this commit: cvs rdiff -u -r1.21

CVS commit: src/lib/libpthread

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 13:08:40 UTC 2020 Modified Files: src/lib/libpthread: pthread_int.h Log Message: - A bit more alignment in __pthread_st especially for the rbtree node. - Use COHERENCY_UNIT from sys/param.h. To generate a diff of this

CVS commit: src/lib/libpthread

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 13:08:40 UTC 2020 Modified Files: src/lib/libpthread: pthread_int.h Log Message: - A bit more alignment in __pthread_st especially for the rbtree node. - Use COHERENCY_UNIT from sys/param.h. To generate a diff of this

CVS commit: src/lib/libpthread

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 09:23:15 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: pthread_join(): add a temporary hack to make lib/libpthread/t_detach pass. The correct fix is to do this in kernel (I have that change, but it's

CVS commit: src/lib/libpthread

2020-01-28 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 28 09:23:15 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: pthread_join(): add a temporary hack to make lib/libpthread/t_detach pass. The correct fix is to do this in kernel (I have that change, but it's

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:22:03 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:22:03 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: Drop the alignment check if __NO_STRICT_ALIGNMENT (x86, m68k, vax). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/lib/libkern/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:06:13 UTC 2020 Modified Files: src/sys/lib/libkern/arch/i386: Makefile.inc src/sys/lib/libkern/arch/x86_64: Makefile.inc Log Message: Make x86 use the C version of memcmp(). To generate a diff of this commit:

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:13:39 UTC 2020 Modified Files: src/common/lib/libc/string: bcmp.c memcmp.c Log Message: bcmp() / memcmp(): compare in uintptr_t sized chunks when it's easy to. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/common/lib/libc/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:09:21 UTC 2020 Removed Files: src/common/lib/libc/arch/i386/string: memcmp.S src/common/lib/libc/arch/x86_64/string: bcmp.S memcmp.S Log Message: x86 uses the C versions of bcmp() and memcmp() now. To generate

CVS commit: src/common/lib/libc/string

2020-01-27 Thread Andrew Doran
22:13:39 ad Exp $ */ + +/*- + * Copyright (c) 2020 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Andrew Doran. + * + * Redistribution and use in source and binary forms, with or without + * modification

CVS commit: src/sys/kern

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:05:10 UTC 2020 Modified Files: src/sys/kern: sys_sched.c Log Message: Remove comment that is out of date and I think hinting at something other than what it says (preemption case for SCHED_FIFO). To generate a diff of

CVS commit: src/lib/libc/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:08:08 UTC 2020 Modified Files: src/lib/libc/arch/i386/string: Makefile.inc src/lib/libc/arch/x86_64/string: Makefile.inc Log Message: Make x86 use the C versions of bcmp() and memcmp(). To generate a diff of

CVS commit: src/lib/libc/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:08:08 UTC 2020 Modified Files: src/lib/libc/arch/i386/string: Makefile.inc src/lib/libc/arch/x86_64/string: Makefile.inc Log Message: Make x86 use the C versions of bcmp() and memcmp(). To generate a diff of

CVS commit: src/sys/kern

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:05:10 UTC 2020 Modified Files: src/sys/kern: sys_sched.c Log Message: Remove comment that is out of date and I think hinting at something other than what it says (preemption case for SCHED_FIFO). To generate a diff of

CVS commit: src/common/lib/libc/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:09:21 UTC 2020 Removed Files: src/common/lib/libc/arch/i386/string: memcmp.S src/common/lib/libc/arch/x86_64/string: bcmp.S memcmp.S Log Message: x86 uses the C versions of bcmp() and memcmp() now. To generate

CVS commit: src/sys/lib/libkern/arch

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 22:06:13 UTC 2020 Modified Files: src/sys/lib/libkern/arch/i386: Makefile.inc src/sys/lib/libkern/arch/x86_64: Makefile.inc Log Message: Make x86 use the C version of memcmp(). To generate a diff of this commit:

CVS commit: src/sys/kern

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 21:58:16 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c Log Message: - lwp_wait(): if the process is exiting and no progress is being made, wake every clock tick and kick all the LWPs again. - lwp_create(): copy the

CVS commit: src/sys/kern

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 21:58:16 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c Log Message: - lwp_wait(): if the process is exiting and no progress is being made, wake every clock tick and kick all the LWPs again. - lwp_create(): copy the

CVS commit: src/sys/kern

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 21:09:33 UTC 2020 Modified Files: src/sys/kern: kern_exit.c Log Message: - exit1(): for DIAGNOSTIC, call kernel_lock_plug_leak() (temporary). - exit_lwps(): call lwp_need_userret() or LWP might never notice. To generate

CVS commit: src/sys/kern

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 21:09:33 UTC 2020 Modified Files: src/sys/kern: kern_exit.c Log Message: - exit1(): for DIAGNOSTIC, call kernel_lock_plug_leak() (temporary). - exit_lwps(): call lwp_need_userret() or LWP might never notice. To generate

CVS commit: src/sys

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 21:05:43 UTC 2020 Modified Files: src/sys/kern: kern_lock.c src/sys/sys: lock.h Log Message: Add a kernel_lock_plug_leak() that drops any holds and tries to identify the baddy. To generate a diff of this commit:

CVS commit: src/sys

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 21:05:43 UTC 2020 Modified Files: src/sys/kern: kern_lock.c src/sys/sys: lock.h Log Message: Add a kernel_lock_plug_leak() that drops any holds and tries to identify the baddy. To generate a diff of this commit:

CVS commit: src/lib/libpthread

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 20:50:05 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h Log Message: pthread_detach(), pthread_join(): go back to using _lwp_detach() and _lwp_wait(), rather than doing it all in userspace. There's

CVS commit: src/lib/libpthread

2020-01-27 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jan 27 20:50:05 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h Log Message: pthread_detach(), pthread_join(): go back to using _lwp_detach() and _lwp_wait(), rather than doing it all in userspace. There's

CVS commit: src/sys

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 19:08:09 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_lwp.c src/sys/kern: sys_lwp.c Log Message: Correction to previous: don't leak newuc if copyout() fails. To generate a diff of this commit: cvs

CVS commit: src/sys

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 19:08:09 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_lwp.c src/sys/kern: sys_lwp.c Log Message: Correction to previous: don't leak newuc if copyout() fails. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 19:06:24 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c Log Message: Update a comment. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/kern/kern_lwp.c Please note that diffs are not public

CVS commit: src/sys/kern

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 19:06:24 UTC 2020 Modified Files: src/sys/kern: kern_lwp.c Log Message: Update a comment. To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/kern/kern_lwp.c Please note that diffs are not public

CVS commit: src/sys

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 19:01:56 UTC 2020 Modified Files: src/sys/kern: kern_sleepq.c src/sys/sys: syncobj.h Log Message: Add SOBJ_SLEEPQ_NULL: means there is no TAILQ and the caller tracks the sleeping LWPs some other way, which

CVS commit: src/sys

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 19:01:56 UTC 2020 Modified Files: src/sys/kern: kern_sleepq.c src/sys/sys: syncobj.h Log Message: Add SOBJ_SLEEPQ_NULL: means there is no TAILQ and the caller tracks the sleeping LWPs some other way, which

CVS commit: src/sys/kern

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 18:52:55 UTC 2020 Modified Files: src/sys/kern: kern_softint.c Log Message: softint_dispatch(): replace the KASSERT for LW_RUNNING with a big printf() plus panic() that dumps lots of info. To generate a diff of this

CVS commit: src/sys/kern

2020-01-26 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jan 26 18:52:55 UTC 2020 Modified Files: src/sys/kern: kern_softint.c Log Message: softint_dispatch(): replace the KASSERT for LW_RUNNING with a big printf() plus panic() that dumps lots of info. To generate a diff of this

CVS commit: [ad-namecache] src/sys

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 22:38:53 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64 [ad-namecache]: aarch64_machdep.c cpu.c locore.S start.S src/sys/arch/aarch64/conf [ad-namecache]: files.aarch64

CVS commit: [ad-namecache] src/sys

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 21:45:00 UTC 2020 Modified Files: src/sys/kern [ad-namecache]: kern_rwlock.c kern_synch.c src/sys/rump/include/rump [ad-namecache]: rump_namei.h src/sys/sys [ad-namecache]: rwlock.h Log Message: Remove

CVS commit: [ad-namecache] src/sys

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 21:45:00 UTC 2020 Modified Files: src/sys/kern [ad-namecache]: kern_rwlock.c kern_synch.c src/sys/rump/include/rump [ad-namecache]: rump_namei.h src/sys/sys [ad-namecache]: rwlock.h Log Message: Remove

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 20:29:43 UTC 2020 Modified Files: src/sys/kern: kern_idle.c Log Message: For secondary CPUs, the idle LWP is the first to run, and it's directly entered from MD code without a trip through mi_switch(). Make the picture

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 20:29:43 UTC 2020 Modified Files: src/sys/kern: kern_idle.c Log Message: For secondary CPUs, the idle LWP is the first to run, and it's directly entered from MD code without a trip through mi_switch(). Make the picture

CVS commit: [ad-namecache] src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 18:42:24 UTC 2020 Modified Files: src/sys/kern [ad-namecache]: vfs_cwd.c Log Message: Add a missing membar to previous. To generate a diff of this commit: cvs rdiff -u -r1.4.62.1 -r1.4.62.2 src/sys/kern/vfs_cwd.c Please

CVS commit: [ad-namecache] src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 18:42:24 UTC 2020 Modified Files: src/sys/kern [ad-namecache]: vfs_cwd.c Log Message: Add a missing membar to previous. To generate a diff of this commit: cvs rdiff -u -r1.4.62.1 -r1.4.62.2 src/sys/kern/vfs_cwd.c Please

CVS commit: src/lib/libpthread

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 18:30:41 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: Adjustment to previous: don't call _lwp_unpark_all() with nwaiters == 0. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/lib/libpthread

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 18:30:41 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: Adjustment to previous: don't call _lwp_unpark_all() with nwaiters == 0. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

CVS commit: src/lib/libpthread

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 18:01:28 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: pthread_exit(): it looks there there is at least one path through which a thread can exit with waiters still hanging off it (cancellation when

CVS commit: src/lib/libpthread

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 18:01:28 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: pthread_exit(): it looks there there is at least one path through which a thread can exit with waiters still hanging off it (cancellation when

CVS commit: src/lib/libpthread

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 17:58:28 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: pthread__mutex_unlock_slow(): ignore the DEFERRED bit. It's only purpose is to get the thread to go through the slow path. If there are

CVS commit: src/lib/libpthread

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 17:58:28 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: pthread__mutex_unlock_slow(): ignore the DEFERRED bit. It's only purpose is to get the thread to go through the slow path. If there are

CVS commit: [ad-namecache] src/sys

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:54:04 UTC 2020 Modified Files: src/sys/compat/netbsd32 [ad-namecache]: netbsd32_fs.c src/sys/kern [ad-namecache]: kern_exec.c kern_proc.c uipc_usrreq.c vfs_cwd.c vfs_getcwd.c vfs_lookup.c vfs_mount.c

CVS commit: [ad-namecache] src/sys

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:54:04 UTC 2020 Modified Files: src/sys/compat/netbsd32 [ad-namecache]: netbsd32_fs.c src/sys/kern [ad-namecache]: kern_exec.c kern_proc.c uipc_usrreq.c vfs_cwd.c vfs_getcwd.c vfs_lookup.c vfs_mount.c

CVS commit: src

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:41:52 UTC 2020 Modified Files: src/lib/libpthread: pthread.c src/sys/compat/netbsd32: netbsd32_lwp.c src/sys/kern: sys_lwp.c src/sys/sys: lwp.h Log Message: - Fix a race between the kernel and

CVS commit: src

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:41:52 UTC 2020 Modified Files: src/lib/libpthread: pthread.c src/sys/compat/netbsd32: netbsd32_lwp.c src/sys/kern: sys_lwp.c src/sys/sys: lwp.h Log Message: - Fix a race between the kernel and

CVS commit: src/sys/arch/x86/x86

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:38:24 UTC 2020 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: cpu_lwp_free() can be called with (l != curlwp) in error paths, so don't detonate. To generate a diff of this commit: cvs rdiff -u -r1.40

CVS commit: src/sys/arch/x86/x86

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:38:24 UTC 2020 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: cpu_lwp_free() can be called with (l != curlwp) in error paths, so don't detonate. To generate a diff of this commit: cvs rdiff -u -r1.40

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:12:47 UTC 2020 Modified Files: src/sys/kern: kern_softint.c Log Message: softint_execute(): don't hang onto the kernel_lock hold longer than needed. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:12:47 UTC 2020 Modified Files: src/sys/kern: kern_softint.c Log Message: softint_execute(): don't hang onto the kernel_lock hold longer than needed. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:09:54 UTC 2020 Modified Files: src/sys/kern: kern_runq.c Log Message: sched_takecpu(): for vfork(), when looking at curcpu's runqueue consider maximum priority waiting to run and not count of LWPs. To generate a diff

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:09:54 UTC 2020 Modified Files: src/sys/kern: kern_runq.c Log Message: sched_takecpu(): for vfork(), when looking at curcpu's runqueue consider maximum priority waiting to run and not count of LWPs. To generate a diff

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:08:40 UTC 2020 Modified Files: src/sys/kern: subr_kmem.c Log Message: - Pad kmem cache names with zeros so vmstat -m and -C are readable. - Exclude caches with size not a factor or multiple of the coherency unit.

CVS commit: src/sys/kern

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:08:40 UTC 2020 Modified Files: src/sys/kern: subr_kmem.c Log Message: - Pad kmem cache names with zeros so vmstat -m and -C are readable. - Exclude caches with size not a factor or multiple of the coherency unit.

CVS commit: src/sys/kern

2020-01-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Jan 24 20:05:15 UTC 2020 Modified Files: src/sys/kern: kern_lock.c kern_synch.c Log Message: Carefully put kernel_lock back the way it was, and add a comment hinting that changing it is not a good idea, and hopefully nobody will

CVS commit: src/sys/kern

2020-01-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Jan 24 20:05:15 UTC 2020 Modified Files: src/sys/kern: kern_lock.c kern_synch.c Log Message: Carefully put kernel_lock back the way it was, and add a comment hinting that changing it is not a good idea, and hopefully nobody will

<    5   6   7   8   9   10   11   12   13   14   >