Re: CVS commit: src/lib/libpthread

2020-06-09 Thread Andrew Doran
On Thu, Jun 04, 2020 at 06:26:07PM +, Martin Husemann wrote: > On Wed, Jun 03, 2020 at 10:10:24PM +0000, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Wed Jun 3 22:10:24 UTC 2020 > > > > Modified

Re: CVS commit: src/tests/lib/libc/sys

2020-06-06 Thread Andrew Doran
On Sat, Jun 06, 2020 at 06:11:21PM +, Jason R Thorpe wrote: > Module Name: src > Committed By: thorpej > Date: Sat Jun 6 18:11:21 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_lwp_create.c > > Log Message: > Add a test case to ensure that _lwp_create() fails with

Re: CVS commit: src/lib/libpthread

2020-06-06 Thread Andrew Doran
On Thu, Jun 04, 2020 at 09:28:09PM +, Andrew Doran wrote: > On Thu, Jun 04, 2020 at 06:26:07PM +, Martin Husemann wrote: > > > On Wed, Jun 03, 2020 at 10:10:24PM +0000, Andrew Doran wrote: > > > Module Name: src > > > Committed By: ad > > >

Re: [stos, again] Re: CVS commit: src/sys/arch/amd64

2020-06-04 Thread Andrew Doran
On Thu, Jun 04, 2020 at 02:35:17AM +0200, Kamil Rytarowski wrote: > On 04.06.2020 00:42, Andrew Doran wrote: > > On Wed, Jun 03, 2020 at 02:03:22AM +0200, Kamil Rytarowski wrote: > > > >> On 03.06.2020 01:49, Andrew Doran wrote: > >>> On the assembly thin

Re: CVS commit: src/lib/libpthread

2020-06-04 Thread Andrew Doran
Hi, On Thu, Jun 04, 2020 at 06:26:07PM +, Martin Husemann wrote: > On Wed, Jun 03, 2020 at 10:10:24PM +0000, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Wed Jun 3 22:10:24 UTC 2020 > > > > Modified

Re: [stos, again] Re: CVS commit: src/sys/arch/amd64

2020-06-03 Thread Andrew Doran
Maxime, I read your e-mail carefully and conclude that the best way forward here is put this one to core@ for a technical decision. Cheers, Andrew On Wed, Jun 03, 2020 at 08:25:32AM +0200, Maxime Villard wrote: > Le 03/06/2020 ? 01:49, Andrew Doran a ?crit?: > > On Tue, Jun 02, 2020

Re: [stos, again] Re: CVS commit: src/sys/arch/amd64

2020-06-03 Thread Andrew Doran
On Wed, Jun 03, 2020 at 02:03:22AM +0200, Kamil Rytarowski wrote: > On 03.06.2020 01:49, Andrew Doran wrote: > > On the assembly thing recall that recently you expressed a desire to remove > > all of the amd64 assembly string functions from libc because of sanitizers - > &g

Re: [stos, again] Re: CVS commit: src/sys/arch/amd64

2020-06-02 Thread Andrew Doran
On Tue, Jun 02, 2020 at 08:41:53AM +0200, Maxime Villard wrote: > Le 02/06/2020 ? 00:58, Andrew Doran a ?crit?: > > Module Name:src > > Committed By: ad > > Date: Mon Jun 1 22:58:06 UTC 2020 > > > > Modified Files: > >

Re: [stos] Re: CVS commit: src/sys/arch

2020-05-28 Thread Andrew Doran
On Thu, May 28, 2020 at 07:06:04PM +0200, Maxime Villard wrote: > Le 27/05/2020 ? 21:58, Maxime Villard a ?crit?: > > Le 27/05/2020 ? 21:33, Andrew Doran a ?crit?: > > > Module Name:??? src > > > Committed By:??? ad > > > Date:??? Wed May 27 19:33:40

Re: CVS commit: src/sys/arch

2020-05-21 Thread Andrew Doran
On Thu, May 21, 2020 at 11:19:49PM +0200, Joerg Sonnenberger wrote: > On Thu, May 21, 2020 at 09:12:31PM +0000, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Thu May 21 21:12:31 UTC 2020 > > > > Modified Fil

Re: CVS commit: src/sys/fs/tmpfs

2020-05-19 Thread Andrew Doran
On Tue, May 19, 2020 at 11:09:07PM +, Andrew Doran wrote: > vnode locks are not held during getpages/putpages. ^ for fault handling, anyway. for read/write they are held by the caller to ubc_uiomove(). Andrew

Re: CVS commit: src/sys/fs/tmpfs

2020-05-19 Thread Andrew Doran
On Sun, May 17, 2020 at 11:49:52PM +, m...@netbsd.org wrote: > On Sun, May 17, 2020 at 09:47:50PM +, m...@netbsd.org wrote: > > On Sun, May 17, 2020 at 07:39:15PM +0000, Andrew Doran wrote: > > > Module Name: src > > > Committed By: ad > > > D

Re: CVS commit: src/sys

2020-05-12 Thread Andrew Doran
On Sun, May 10, 2020 at 03:15:22PM -, Christos Zoulas wrote: > In article <20200508220155.446eef...@cvs.netbsd.org>, > Andrew Doran wrote: > >-=-=-=-=-=- > > > >Module Name: src > >Committed By:ad > >Date:Fri May 8 22:01:55 U

Re: CVS commit: src/sys

2020-04-29 Thread Andrew Doran
On Wed, Apr 29, 2020 at 09:58:55PM +, Andrew Doran wrote: > On Wed, Apr 29, 2020 at 02:32:39PM +0900, Tetsuya Isaki wrote: > > At Wed, 29 Apr 2020 12:22:01 +0900, > > > Tetsuya Isaki wrote: > > > > i would just put it in types.h called __AUDIO_BLK_MS, &g

Re: CVS commit: src/sys

2020-04-29 Thread Andrew Doran
On Wed, Apr 29, 2020 at 02:32:39PM +0900, Tetsuya Isaki wrote: > At Wed, 29 Apr 2020 12:22:01 +0900, > Tetsuya Isaki wrote: > > > i would just put it in types.h called __AUDIO_BLK_MS, > > > and leave a default used in the code if unset. > > It sounds nice. > > I commit once here, and then I will

Re: CVS commit: src/sys/kern

2020-04-13 Thread Andrew Doran
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: > > > > Modu

Re: CVS commit: src/sys/kern

2020-04-13 Thread Andrew Doran
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: > >

Re: [vfs_cache] Re: CVS commit: src/sys/kern

2020-04-05 Thread Andrew Doran
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: > >

Re: CVS commit: src/external/gpl3

2020-03-26 Thread Andrew Doran
On Thu, Mar 26, 2020 at 06:07:54PM +0100, Kamil Rytarowski wrote: > On 26.03.2020 17:49, Robert Elz wrote: > > Date:Thu, 26 Mar 2020 16:28:18 +0100 > > From:Kamil Rytarowski > > Message-ID: <84460ebb-b4bf-f3ee-e51b-e27d0b6e2...@gmx.com> > > > > > > | That is

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

2020-03-17 Thread Andrew Doran
On Tue, Mar 17, 2020 at 10:38:14PM +, Andrew Doran wrote: > Log Message: > - Change some expensive checks DEBUG -> DIAGNOSTIC. That was meant to be the other way around, oops. Andrew

Re: CVS commit: src/sys/arch/sparc/sparc

2020-03-15 Thread Andrew Doran
On Sun, Mar 15, 2020 at 11:38:03AM +1100, matthew green wrote: > "Andrew Doran" writes: > > Module Name:src > > Committed By: ad > > Date: Sat Mar 14 13:34:44 UTC 2020 > > > > Modified Files: > > src/sys/arch/sp

Re: CVS commit: src/sys/kern

2020-03-08 Thread Andrew Doran
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: > >

Re: CVS commit: src

2020-03-07 Thread Andrew Doran
On Sat, Mar 07, 2020 at 12:24:21PM +0100, Maxime Villard wrote: > Can we revert the "__aligned(COHERENCY_UNIT)" for now? There is no particular > hurry to fix this bug, however the KUBSAN instance has been down for more than > two months because of this, and it needs to be addressed. That should

Re: CVS commit: src/sys/kern

2020-03-03 Thread Andrew Doran
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)

Re: CVS commit: src

2020-02-23 Thread Andrew Doran
On Fri, Feb 21, 2020 at 02:14:31PM +0100, Kamil Rytarowski wrote: > On 22.12.2019 20:47, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Sun Dec 22 19:47:35 UTC 2019 > > > > Modified Files: > > src/ext

Re: CVS commit: src/share/man/man9

2020-02-23 Thread Andrew Doran
On Sun, Feb 23, 2020 at 08:57:44AM +, matthew green wrote: > Module Name: src > Committed By: mrg > Date: Sun Feb 23 08:57:44 UTC 2020 > > Modified Files: > src/share/man/man9: Makefile > > Log Message: > install rw_lock_op link too. > > > To generate a diff of this commit:

Re: CVS commit: src/sys/kern

2020-02-17 Thread Andrew Doran
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 > > > > Modifie

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

2020-02-17 Thread Andrew Doran
On Wed, Feb 05, 2020 at 12:46:57PM +0900, Rin Okuyama wrote: > Hi, > > On 2019/12/06 5:55, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Thu Dec 5 20:55:24 UTC 2019 > > > > Modified File

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.

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

Re: CVS commit: src/sys/uvm

2020-01-22 Thread Andrew Doran
On Wed, Jan 22, 2020 at 10:08:16AM +1100, matthew green wrote: > Andrew Doran writes: > > I also recommend disabling ACPI idle, at least until it can be made less > > aggressive by default. It causes a significant slowdown. It can be done > > with detaching all acpicpu dev

Re: CVS commit: src/sys/uvm

2020-01-21 Thread Andrew Doran
On Fri, Jan 10, 2020 at 10:21:25PM +, Andrew Doran wrote: > Hi Frank, > > On Fri, Jan 10, 2020 at 01:10:02PM +0100, Frank Kardel wrote: > > > Hi ! > > > > With this state of January 2nd we ran some tests for robustness and timing > > with

Re: CVS commit: src/sys [freeze on boot]

2020-01-20 Thread Andrew Doran
Fix committed with sys/kern/kern_rwlock.c rev 1.62. I didn't see the problem as I am running with LOCKDEBUG. Apologies for the disruption. Andrew

Re: CVS commit: src/sys [freeze on boot]

2020-01-20 Thread Andrew Doran
On Mon, Jan 20, 2020 at 09:28:32AM -0800, Paul Goyette wrote: > On Mon, 20 Jan 2020, Patrick Welche wrote: > > > On Mon, Jan 20, 2020 at 12:51:00PM +0000, Andrew Doran wrote: > > > This also happened the last time I touched rw_downgrade(), and I backed > > > out &

Re: CVS commit: src/sys [freeze on boot]

2020-01-20 Thread Andrew Doran
Thanks. I can reproduce a hang on boot in qemu. It's hanging starting init, waiting on "needbuf". Investigating now. Andrew On Mon, Jan 20, 2020 at 04:12:45PM +, Patrick Welche wrote: > On Mon, Jan 20, 2020 at 12:51:00PM +, Andrew Doran wrote: > > This also happe

Re: CVS commit: src/sys [freeze on boot]

2020-01-20 Thread Andrew Doran
be universal problem. > > Could you take a look at this problem? > > Thank you. > > "Andrew Doran" writes: > > > Module Name:src > > Committed By: ad > > Date: Sun Jan 19 18:34:24 UTC 2020 > > > > Modified Files:

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

2020-01-16 Thread Andrew Doran
Rytarowski > wrote: > >On 15.01.2020 11:56, Andrew Doran wrote: > >> Module Name: src > >> Committed By: ad > >> Date: Wed Jan 15 10:56:49 UTC 2020 > >> > >> Modified Files: > >>src/common/lib/libc/arch/x86_64/string: b

Re: CVS commit: src/sys

2020-01-13 Thread Andrew Doran
On Mon, Jan 13, 2020 at 06:54:33AM -0800, Jason Thorpe wrote: > > On Jan 12, 2020, at 10:20 PM, Kamil Rytarowski wrote: > > > > While there, could we garbage collect unused defines from sys/param.h? > > > > I'm thinking in particular about: > > As long as we still have tsleep(9) and friends,

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

2020-01-12 Thread Andrew Doran
On Sun, Jan 12, 2020 at 08:25:27PM +0100, Joerg Sonnenberger wrote: > On Sun, Jan 12, 2020 at 01:01:12PM +0000, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Sun Jan 12 13:01:12 UTC 2020 > > > > Modified Files:

Re: CVS commit: src/sys/sys

2020-01-12 Thread Andrew Doran
On Sun, Jan 12, 2020 at 01:30:57PM +, Nick Hudson wrote: > On 12/01/2020 13:19, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Sun Jan 12 13:19:32 UTC 2020 > > > > Modified Files: > > src/sys/sys:

Re: [x86 pmap changes] CVS commit: src/sys/arch

2020-01-11 Thread Andrew Doran
On Fri, Jan 10, 2020 at 06:56:29PM +, Andrew Doran wrote: > On Thu, Jan 09, 2020 at 05:46:13PM +0100, Maxime Villard wrote: > > > This FPU issue should be fixed in the latest nvmm_x86_vmx.c, we still have > > STTS/CLTS (not needed but for debugging) as part of context swit

Re: CVS commit: src/sys/uvm

2020-01-10 Thread Andrew Doran
Hi Frank, On Fri, Jan 10, 2020 at 01:10:02PM +0100, Frank Kardel wrote: > Hi ! > > With this state of January 2nd we ran some tests for robustness and timing > with our database setup: > > Machine: > > Mainboard: S2600WFT > > CPU: 2 x Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz > >

Re: [x86 pmap changes] CVS commit: src/sys/arch

2020-01-10 Thread Andrew Doran
On Thu, Jan 09, 2020 at 05:46:13PM +0100, Maxime Villard wrote: > This FPU issue should be fixed in the latest nvmm_x86_vmx.c, we still have > STTS/CLTS (not needed but for debugging) as part of context switches, and > when overhauling the FPU code I overlooked that VMX needs special CR0_TS >

Re: [x86 pmap changes] CVS commit: src/sys/arch

2020-01-08 Thread Andrew Doran
On Tue, Jan 07, 2020 at 09:39:22AM +0100, Maxime Villard wrote: > > Module Name:src > > Committed By: ad > > Date: Sat Jan 4 22:49:20 UTC 2020 > > > > Modified Files: > > src/sys/arch/x86/include: pmap.h pmap_pv.h > > src/sys/arch/x86/x86: pmap.c > >

Re: [x86 pmap changes] CVS commit: src/sys/arch

2020-01-07 Thread Andrew Doran
On Tue, Jan 07, 2020 at 09:39:22AM +0100, Maxime Villard wrote: > You can test with this on an Intel CPU: > > # modload nvmm > # /usr/tests/lib/libnvmm/./h_mem_assist > > This currently gives random crashes. I'll dig into it. There were also reports of NVMM failures on the lists

Re: [x86 pmap changes] CVS commit: src/sys/arch

2020-01-07 Thread Andrew Doran
On Tue, Jan 07, 2020 at 09:50:42AM +0100, Maxime Villard wrote: > Also unrelated remark: > > + kmutex_t pm_lock/* locks for pm_objs */ > + __aligned(64); /* give lock own cache line */ > > x86 CPUs will soon have 128-byte cache lines, and to ease the

Re: Gallium build broken on evbarm...

2020-01-06 Thread Andrew Doran
On Mon, Jan 06, 2020 at 11:14:18AM +0100, Martin Husemann wrote: > On Mon, Jan 06, 2020 at 10:09:25AM +, Martin Husemann wrote: > > > Log Message: > > > Build fix. Add back inclusion of , which was previously > > > included via . > > Ah - easy one: the include was in a > > #if

Re: CVS commit: src/sys/uvm

2019-12-24 Thread Andrew Doran
On Tue, Dec 24, 2019 at 03:22:54AM +, Taylor R Campbell wrote: > > Module Name:src > > Committed By: ad > > Date: Sat Dec 21 14:41:44 UTC 2019 > > > > - Add inlines to set/get locator values in the unused lower bits of > > pg->phys_addr. Begin by using it to cache the

Re: CVS commit: src/sys/sys

2019-12-22 Thread Andrew Doran
On Sat, Dec 21, 2019 at 05:23:23PM +, Alexander Nasonov wrote: > Andrew Doran wrote: > > Log Message: > > NetBSD 9.99.28 - cpu_data & UVM changes. > > Wow, you bump versions faster than I compile new releases. At this > pace, we'll get to 9.99.99 in a month or tw

Re: CVS commit: src/sys

2019-12-22 Thread Andrew Doran
Hi Joerg, On Sun, Dec 22, 2019 at 01:27:44AM +0100, Joerg Sonnenberger wrote: > On Fri, Dec 20, 2019 at 09:05:34PM +0000, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Fri Dec 20 21:05:34 UTC 2019 > > > > Mod

Re: CVS commit: src/sys/uvm

2019-12-21 Thread Andrew Doran
On Sat, Dec 21, 2019 at 03:08:18PM +0100, Christoph Badura wrote: > On Sat, Dec 21, 2019 at 12:58:26PM +0000, Andrew Doran wrote: > > Modified Files: > > src/sys/uvm: uvm_extern.h uvm_page.c > > Log Message: > > Add uvm_free(): returns number of free pages in

Re: CVS commit: src/sys/kern

2019-12-10 Thread Andrew Doran
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

Re: CVS commit: src/sys

2019-12-06 Thread Andrew Doran
This is experimental: we use l_cpu to mean a number of things and this involves changing it to a different value than curcpu() in a running LWP, which we have not done before. I'll see about making it more robust. Andrew On Fri, Dec 06, 2019 at 09:36:11PM +, Andrew Doran wrote: > Mod

Re: CVS commit: src/sys/arch

2019-12-06 Thread Andrew Doran
On Sat, Dec 07, 2019 at 07:12:10AM +1100, matthew green wrote: > > > > Why? I consider this totaly useless bloat, what was wrong with the > > > > boot.cfg > > > > solution? > > > > > > policy: no default modules in the installation unless licenses > > > issues force such, until module+kernel

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

2019-12-03 Thread Andrew Doran
On Tue, Dec 03, 2019 at 01:14:14PM +0100, Kamil Rytarowski wrote: > On 03.12.2019 12:50, Juergen Hannken-Illjes wrote: > > Module Name:src > > Committed By: hannken > > Date: Tue Dec 3 11:50:45 UTC 2019 > > > > Modified Files: > > src/sys/arch/x86/x86:

Re: CVS commit: src/sys/uvm

2019-12-01 Thread Andrew Doran
Hi, On Sun, Dec 01, 2019 at 08:19:09AM +, Maxime Villard wrote: > Modified Files: > src/sys/uvm: uvm_fault.c > > Log Message: > Use atomic_{load,store}_relaxed() on global counters. If you would be so kind, please don't do any more of the UVM counters. I have a patch to make these

CVS commit: src/sys/dev/onewire

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 23:06:52 UTC 2019 Modified Files: src/sys/dev/onewire: owtemp.c Log Message: Make owtemp reliable for me: - Don't do the calculation if there is a CRC error. - If we get any kind of error during a refresh, retry up to

CVS commit: src/sys/dev/onewire

2019-11-30 Thread Andrew Doran
$ */ +/* $NetBSD: owtemp.c,v 1.19 2019/11/30 23:06:52 ad Exp $ */ /* $OpenBSD: owtemp.c,v 1.1 2006/03/04 16:27:03 grange Exp $ */ +/*- + * Copyright (c) 2019 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Andrew

CVS commit: src/sys/dev

2019-11-30 Thread Andrew Doran
+/*- + * Copyright (c) 2019 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, are permitted provided tha

CVS commit: src/sys/dev

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 23:04:12 UTC 2019 Modified Files: src/sys/dev/gpio: gpioow.c src/sys/dev/onewire: onewire.c onewire_bitbang.c onewirevar.h Log Message: onewire: - Re-do the signalling to be a little more forgiving and efficient.

CVS commit: src/sys/kern

2019-11-30 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-30 Thread Andrew Doran
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

CVS commit: src/sys/sys

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 17:49:03 UTC 2019 Modified Files: src/sys/sys: userret.h Log Message: Avoid false sharing: only update spc_curpriority if value has changed. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/sys

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 17:49:03 UTC 2019 Modified Files: src/sys/sys: userret.h Log Message: Avoid false sharing: only update spc_curpriority if value has changed. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/sys

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 17:46:27 UTC 2019 Modified Files: src/sys/sys: sched.h Log Message: Mark spc_curpriority volatile. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/sys/sched.h Please note that diffs are not public

CVS commit: src/sys/sys

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 17:46:27 UTC 2019 Modified Files: src/sys/sys: sched.h Log Message: Mark spc_curpriority volatile. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/sys/sched.h Please note that diffs are not public

CVS commit: src/sys/sys

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 17:45:54 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Mark the context switch counters volatile (because preemption). To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/sys/sys/lwp.h Please

CVS commit: src/sys/sys

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 17:45:54 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Mark the context switch counters volatile (because preemption). To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191 src/sys/sys/lwp.h Please

CVS commit: src/sys/arch/sh3

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 15:53:36 UTC 2019 Modified Files: src/sys/arch/sh3/include: userret.h src/sys/arch/sh3/sh3: exception.c Log Message: Revert previous. Looks like it requires a more extensive fix. To generate a diff of this

CVS commit: src/sys/arch/sh3

2019-11-30 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 30 15:53:36 UTC 2019 Modified Files: src/sys/arch/sh3/include: userret.h src/sys/arch/sh3/sh3: exception.c Log Message: Revert previous. Looks like it requires a more extensive fix. To generate a diff of this

Re: CVS commit: src/sys/kern

2019-11-30 Thread Andrew Doran
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/k

CVS commit: src/sys/kern

2019-11-30 Thread Andrew Doran
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:

CVS commit: src/sys/kern

2019-11-30 Thread Andrew Doran
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:

CVS commit: src/sys/kern

2019-11-29 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-29 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-29 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-29 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-29 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-29 Thread Andrew Doran
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

CVS commit: src/sys/arch

2019-11-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 29 18:27:33 UTC 2019 Modified Files: src/sys/arch/hppa/hppa: trap.c src/sys/arch/sh3/include: userret.h src/sys/arch/sh3/sh3: exception.c src/sys/arch/sparc/include: userret.h

CVS commit: src/sys/arch

2019-11-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 29 18:27:33 UTC 2019 Modified Files: src/sys/arch/hppa/hppa: trap.c src/sys/arch/sh3/include: userret.h src/sys/arch/sh3/sh3: exception.c src/sys/arch/sparc/include: userret.h

CVS commit: src/sys/kern

2019-11-27 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-27 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-25 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-25 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-25 Thread Andrew Doran
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

CVS commit: src/sys/kern

2019-11-25 Thread Andrew Doran
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

CVS commit: src/sys/arch/sun68k/include

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:53:47 UTC 2019 Modified Files: src/sys/arch/sun68k/include: cpu.h Log Message: Correction to previous. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sun68k/include/cpu.h Please note that

CVS commit: src/sys/arch/sun68k/include

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:53:47 UTC 2019 Modified Files: src/sys/arch/sun68k/include: cpu.h Log Message: Correction to previous. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sun68k/include/cpu.h Please note that

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

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:49:12 UTC 2019 Modified Files: src/sys/arch/powerpc/pic: ipi.c ipivar.h Log Message: Add IPI_AST. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/pic/ipi.c cvs rdiff -u -r1.9 -r1.10

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

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:49:12 UTC 2019 Modified Files: src/sys/arch/powerpc/pic: ipi.c ipivar.h Log Message: Add IPI_AST. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/pic/ipi.c cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/arch/ia64/include

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:45:41 UTC 2019 Modified Files: src/sys/arch/ia64/include: cpu.h Log Message: Make ci_want_resched a u_int. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/ia64/include/cpu.h Please note

CVS commit: src/sys/arch/ia64/include

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:45:41 UTC 2019 Modified Files: src/sys/arch/ia64/include: cpu.h Log Message: Make ci_want_resched a u_int. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/ia64/include/cpu.h Please note

CVS commit: src/sys/arch/alpha/include

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:40:24 UTC 2019 Modified Files: src/sys/arch/alpha/include: cpu.h Log Message: Make ci_want_resched a u_int. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/arch/alpha/include/cpu.h Please note

CVS commit: src/sys/arch/alpha/include

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:40:24 UTC 2019 Modified Files: src/sys/arch/alpha/include: cpu.h Log Message: Make ci_want_resched a u_int. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/arch/alpha/include/cpu.h Please note

CVS commit: src/sys/arch/mips/mips

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:37:39 UTC 2019 Modified Files: src/sys/arch/mips/mips: cpu_subr.c Log Message: Typo. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/mips/mips/cpu_subr.c Please note that diffs are not

  1   2   >