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

2009-03-26 Thread Andrew Doran
On Wed, Mar 25, 2009 at 10:54:57PM +, David Young wrote: Module Name: src Committed By: dyoung Date: Wed Mar 25 22:54:57 UTC 2009 Modified Files: src/sys/arch/x86/include: intr.h Log Message: It is only by accident that this gets the definitions it needs from

Re: CVS commit: othersrc/zfs/external/cddl/osnet/dist

2009-03-26 Thread Andrew Doran
On Thu, Mar 26, 2009 at 10:21:49PM +, Andrew Doran wrote: On Fri, Mar 27, 2009 at 09:14:40AM +1100, Simon Burge wrote: +#ifdef __NetBSD__ +#include uvm/uvm.h +#definebtop(x) ((x) * PAGE_SIZE) [ ... ] Isn't that working out pages to bytes and not bytes to pages

Re: CVS commit: src/sys/dev/sbus

2009-03-27 Thread Andrew Doran
On Fri, Mar 27, 2009 at 12:25:41PM +, Izumi Tsutsui wrote: Log Message: Use bus_space(9) to access registers. SETREG() macro using bogus casts against packed structures doesn't work on gcc4. (no character on screen) See also: http://mail-index.NetBSD.org/port-sparc/2003/11/11/0002.html

Re: CVS commit: src/sys/dev/sbus

2009-03-27 Thread Andrew Doran
On Fri, Mar 27, 2009 at 04:31:33PM -0400, Michael wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On Mar 27, 2009, at 9:07 AM, Izumi Tsutsui wrote: a...@netbsd.org wrote: On Fri, Mar 27, 2009 at 12:25:41PM +, Izumi Tsutsui wrote: Log Message: Use bus_space(9) to

Re: CVS commit: src/sys/dev/acpi/acpica

2009-03-31 Thread Andrew Doran
On Tue, Mar 31, 2009 at 05:17:47PM +, Matthias Drochner wrote: Module Name: src Committed By: drochner Date: Tue Mar 31 17:17:47 UTC 2009 Modified Files: src/sys/dev/acpi/acpica: OsdSchedule.c OsdSynch.c Log Message: avoid tsleep also during shutdown (and in

Re: CVS commit: src/sys/dev/acpi

2009-04-08 Thread Andrew Doran
On Wed, Apr 08, 2009 at 12:15:45AM +, David Young wrote: Modified Files: src/sys/dev/acpi: acpi_timer.c acpi_timer.h Log Message: Add acpitimer_detach() to eventually support acpi(4) detachment. tc_detach() does not work correctly on a running system. It can race with

Re: CVS commit: src

2009-04-25 Thread Andrew Doran
On Sat, Apr 25, 2009 at 09:42:30PM +0100, Mindaugas Rasiukevicius wrote: Module Name:src Committed By: ad Date: Sun Apr 19 14:11:38 UTC 2009 ... x86: - Make intr_establish, intr_disestablish safe to use when !cold. - Distribute hardware interrupts among

Re: CVS commit: src/sys

2009-05-16 Thread Andrew Doran
On Sat, May 16, 2009 at 08:29:54AM +, YAMAMOTO Takashi wrote: Modified Files: src/sys/kern: vfs_subr.c src/sys/sys: vnode.h Log Message: put a flag bit into v_usecount to prevent vtryget during getcleanvnode. this fixes the following deadlock. Thanks! How about this to

Re: CVS commit: src/sys

2009-06-23 Thread Andrew Doran
On Tue, Jun 23, 2009 at 07:36:41PM +, Elad Efrat wrote: Log Message: Move the implementation of vaccess() to genfs_can_access(), in line with the other routines of the same spirit. ... No objections on tech-kern@: http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/sys

2009-08-11 Thread Andrew Doran
On Mon, Aug 10, 2009 at 10:47:09PM +, Adam Hamsik wrote: Added Files: src/external/cddl/osnet/dist/uts/common/sys: priv_names.h Log Message: Add missing header file. We should tag this file with osnet-20081117 (cvs tag)

Re: CVS commit: src/sys/kern

2009-08-29 Thread Andrew Doran
On Wed, Aug 26, 2009 at 10:34:47PM +, Manuel Bouyer wrote: Module Name: src Committed By: bouyer Date: Wed Aug 26 22:34:47 UTC 2009 Modified Files: src/sys/kern: uipc_usrreq.c Log Message: In uipc_usrreq(PRU_ACCEPT), grab the unp_streamlock before unp_setpeerlocks().

Re: CVS commit: src

2010-01-26 Thread Andrew Doran
On Wed, Nov 18, 2009 at 11:35:15PM +, YAMAMOTO Takashi wrote: hi, On Wed, Nov 18, 2009 at 01:29:05AM +, YAMAMOTO Takashi wrote: hi, Module Name: src Committed By:dyoung Date:Tue Nov 17 18:36:07 UTC 2009 Modified Files:

Re: CVS commit: src/sys

2010-02-23 Thread Andrew Doran
On Mon, Feb 22, 2010 at 11:31:31AM -0600, David Young wrote: On Sun, Feb 21, 2010 at 02:11:40AM +, Darran Hunt wrote: Module Name:src Committed By: darran Date: Sun Feb 21 02:11:40 UTC 2010 Modified Files: src/sys/arch/i386/i386: trap.c vector.S

Re: CVS commit: src/sys

2010-02-24 Thread Andrew Doran
On Tue, Feb 23, 2010 at 09:58:25AM +1300, Darran Hunt wrote: static void dtrace_vtime_switch(lwp_t *newl) { #ifdef KDTRACE_HOOKS /* * If DTrace has set the active vtime enum to anything * other than INACTIVE (0), then it should have set the * function to call.

Re: CVS commit: src/sys/dev/ic

2010-03-31 Thread Andrew Doran
On Wed, Mar 31, 2010 at 09:45:40AM -0500, David Young wrote: On Wed, Mar 31, 2010 at 05:09:41AM +, Michael Lorenz wrote: Module Name:src Committed By: macallan Date: Wed Mar 31 05:09:41 UTC 2010 Modified Files: src/sys/dev/ic: pcf8584.c Log

Re: CVS commit: src/sys/miscfs/specfs

2010-04-13 Thread Andrew Doran
On Tue, Apr 13, 2010 at 10:47:51AM +0300, Antti Kantee wrote: On Tue Apr 13 2010 at 01:15:56 +, Adam Hoka wrote: Module Name:src Committed By: ahoka Date: Tue Apr 13 01:15:56 UTC 2010 Modified Files: src/sys/miscfs/specfs: spec_vnops.c Log

Re: CVS commit: src/sys/dist/pf/net

2010-04-13 Thread Andrew Doran
On Tue, Apr 13, 2010 at 02:54:23PM +0300, Antti Kantee wrote: On Tue Apr 13 2010 at 01:02:44 +, Adam Hoka wrote: Module Name:src Committed By: ahoka Date: Tue Apr 13 01:02:43 UTC 2010 Modified Files: src/sys/dist/pf/net: pf_ioctl.c Log

Re: CVS commit: src/sys/miscfs/specfs

2010-04-13 Thread Andrew Doran
On Tue, Apr 13, 2010 at 03:27:11PM +0300, Antti Kantee wrote: On Tue Apr 13 2010 at 12:18:38 +, Andrew Doran wrote: On Tue, Apr 13, 2010 at 10:47:51AM +0300, Antti Kantee wrote: On Tue Apr 13 2010 at 01:15:56 +, Adam Hoka wrote: Module Name:src Committed By: ahoka

Re: CVS commit: src/sys/miscfs/specfs

2010-04-13 Thread Andrew Doran
On Tue, Apr 13, 2010 at 03:40:24PM +0300, Antti Kantee wrote: On Tue Apr 13 2010 at 12:32:38 +, Andrew Doran wrote: So the kernel of the problem is namespace collisions, correct? Mostly. Though I still think it's not expected that opening a /dev node will load e.g. an exec package

Re: CVS commit: src/sys

2010-04-29 Thread Andrew Doran
On Thu, Apr 29, 2010 at 09:39:50AM +1000, matthew green wrote: Modified Files: src/sys/arch/amd64/amd64: busfunc.S genassym.cf mainbus.c src/sys/arch/i386/i386: apmbios.c busfunc.S genassym.cf ipkdb_glue.c mainbus.c src/sys/arch/i386/isa: isapnp_machdep.c

Re: CVS commit: src/sys/kern

2010-08-17 Thread Andrew Doran
On Tue, Aug 17, 2010 at 04:45:36PM +0300, Antti Kantee wrote: On Tue Aug 17 2010 at 15:41:11 +0200, Juergen Hannken-Illjes wrote: vp-v_freelisthd = NULL; mutex_exit(vnode_free_list_lock); - if (vp-v_usecount != 0) { - /* -

Re: CVS commit: src/sys/arch

2010-08-17 Thread Andrew Doran
Hi, Why are any types other than in the pmap different between PAE and !PAE? When this was originally proposed I asked for stuff like paddr_t to be 64 bits no matter what the kernel compile settings where. Thanks. On Mon, Aug 16, 2010 at 10:45:10PM +0200, Jean-Yves Migeon wrote: On

Re: CVS commit: src

2010-10-08 Thread Andrew Doran
On Thu, Oct 07, 2010 at 01:33:46AM +0200, Jean-Yves Migeon wrote: On 06.10.2010 12:16, Manuel Bouyer wrote: On Tue, Oct 05, 2010 at 11:48:17PM +, Jean-Yves Migeon wrote: [...] XXX Currently, savecore(8) will fail to dump a PAE kernel in a !PAE environment (and reciprocally). So

Re: CVS commit: src/sys/kern

2010-10-14 Thread Andrew Doran
On Thu, Oct 14, 2010 at 04:59:42AM +0100, Mindaugas Rasiukevicius wrote: Hello, Masaru OKI o...@netbsd.org wrote: Module Name:src Committed By: oki Date: Thu Oct 14 03:07:52 UTC 2010 Modified Files: src/sys/kern: uipc_socket.c Log Message:

Re: CVS commit: src/sys/kern

2010-10-15 Thread Andrew Doran
On Fri, Oct 15, 2010 at 05:30:52PM +0100, Mindaugas Rasiukevicius wrote: o...@netbsd.org wrote: In M_WAIT case, m_reclaim() will run and run until get mbuf cluster if mclpool limit reached. If m_reclaim() repeatedly but cannot to get new mbuf cluster, m_clget() will not return.

Re: CVS commit: src/sys/kern

2010-12-03 Thread Andrew Doran
On Fri, Oct 15, 2010 at 10:33:22PM +, Andrew Doran wrote: On Fri, Oct 15, 2010 at 05:30:52PM +0100, Mindaugas Rasiukevicius wrote: o...@netbsd.org wrote: In M_WAIT case, m_reclaim() will run and run until get mbuf cluster if mclpool limit reached. If m_reclaim() repeatedly but cannot

Re: CVS commit: src/sys

2011-03-01 Thread Andrew Doran
On Mon, Feb 28, 2011 at 04:48:43PM +, Mindaugas Rasiukevicius wrote: Jukka Ruohonen jru...@netbsd.org wrote: Module Name:src Committed By: jruoho Date: Fri Feb 25 09:16:00 UTC 2011 Modified Files: src/sys/arch/x86/acpi: acpi_cpu_md.c

Re: CVS commit: src/sys

2011-03-01 Thread Andrew Doran
On Tue, Mar 01, 2011 at 01:17:11PM +0200, Jukka Ruohonen wrote: On Tue, Mar 01, 2011 at 09:53:24AM +, Andrew Doran wrote: You must not call these interfaces or any kind of MI synchronization interface, spin mutexes included, with interrupts switched off at the machine level! Yes

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 20:04:03 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c src/sys/kern: sys_select.c Log Message: Minor correction to previous. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 20:04:03 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c src/sys/kern: sys_select.c Log Message: Minor correction to previous. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/ddb

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:01:49 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Fix crash(8). Will revisit. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_lex.c Please note that diffs are not public

CVS commit: src/sys/ddb

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:01:49 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Fix crash(8). Will revisit. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/ddb/db_lex.c Please note that diffs are not public

CVS commit: src/sys/arch

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:36:25 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/x86/x86: cpu.c Log Message: - On-demand zeroing pages with MOVNTI is crazy. It empties L1/L2/L3. - Disable zeroing in the idle

CVS commit: src/sys/sys

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:38:15 UTC 2019 Modified Files: src/sys/sys: userret.h Log Message: Add a comment. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/sys/userret.h Please note that diffs are not public domain; they

CVS commit: src/sys/sys

2019-11-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Fri Nov 22 23:38:15 UTC 2019 Modified Files: src/sys/sys: userret.h Log Message: Add a comment. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/sys/userret.h Please note that diffs are not public domain; they

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 18:56:55 UTC 2019 Modified Files: src/sys/kern: kern_sleepq.c kern_turnstile.c src/sys/sys: sleepq.h Log Message: Sleep queues & turnstiles: - Avoid false sharing. - Make the turnstile hash function more suitable.

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 18:56:55 UTC 2019 Modified Files: src/sys/kern: kern_sleepq.c kern_turnstile.c src/sys/sys: sleepq.h Log Message: Sleep queues & turnstiles: - Avoid false sharing. - Make the turnstile hash function more suitable.

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

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

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:02:43 UTC 2019 Modified Files: src/sys/arch/alpha/alpha: ipifuncs.c Log Message: alpha_ipi_ast: use ci_data.cpu_onproc, not ci_curlwp. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

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

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:02:43 UTC 2019 Modified Files: src/sys/arch/alpha/alpha: ipifuncs.c Log Message: alpha_ipi_ast: use ci_data.cpu_onproc, not ci_curlwp. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/sys/dev/pci

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 17:47:23 UTC 2019 Modified Files: src/sys/dev/pci: ichsmb.c Log Message: If attach fails, don't panic on detach. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/ichsmb.c Please note that

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 17:54:04 UTC 2019 Modified Files: src/sys/kern: sys_pset.c src/sys/sys: pset.h Log Message: Simplify pset locking, making it easier to sync with LWP creation, etc. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 17:54:04 UTC 2019 Modified Files: src/sys/kern: sys_pset.c src/sys/sys: pset.h Log Message: Simplify pset locking, making it easier to sync with LWP creation, etc. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys/uvm

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 17:47:53 UTC 2019 Modified Files: src/sys/uvm: uvm_glue.c Log Message: Use lwp_changepri(). To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/uvm/uvm_glue.c Please note that diffs are not public

CVS commit: src/sys/dev/pci

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 17:47:23 UTC 2019 Modified Files: src/sys/dev/pci: ichsmb.c Log Message: If attach fails, don't panic on detach. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pci/ichsmb.c Please note that

CVS commit: src/sys/uvm

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 17:47:53 UTC 2019 Modified Files: src/sys/uvm: uvm_glue.c Log Message: Use lwp_changepri(). To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/uvm/uvm_glue.c Please note that diffs are not public

CVS commit: src/sys/arch

2019-11-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 23 16:36:39 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: lock_stubs.S src/sys/arch/i386/i386: lock_stubs.S Log Message: For this case during build.sh: rw_enter(lock, RW_READ); Having instrumented it,

CVS commit: src/sys/arch

2019-11-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Nov 23 16:36:39 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: lock_stubs.S src/sys/arch/i386/i386: lock_stubs.S Log Message: For this case during build.sh: rw_enter(lock, RW_READ); Having instrumented it,

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:24:02 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: trap.c src/sys/arch/aarch64/include: cpu.h src/sys/arch/alpha/alpha: trap.c src/sys/arch/amd64/amd64: cpufunc.S trap.c

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:24:02 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: trap.c src/sys/arch/aarch64/include: cpu.h src/sys/arch/alpha/alpha: trap.c src/sys/arch/amd64/amd64: cpufunc.S trap.c

CVS commit: src/sys/arch

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:57:24 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu_machdep.c src/sys/arch/mips/mips: cpu_subr.c src/sys/arch/powerpc/powerpc: powerpc_machdep.c src/sys/arch/riscv/riscv:

CVS commit: src/sys/arch

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:57:24 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu_machdep.c src/sys/arch/mips/mips: cpu_subr.c src/sys/arch/powerpc/powerpc: powerpc_machdep.c src/sys/arch/riscv/riscv:

CVS commit: src/sys/arch

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:27:54 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf locore.S src/sys/arch/i386/i386: genassym.cf locore.S Log Message: x86: abort pageidlezero unconditionally if there is something to run. To

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:47:21 UTC 2019 Modified Files: src/sys/kern: kern_lwp.c src/sys/sys: lwp.h Log Message: lwp_setlock(): return pointer to the kmutex_t that we replaced To generate a diff of this commit: cvs rdiff -u -r1.210

CVS commit: src/sys/kern

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

CVS commit: src/sys/kern

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

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:47:21 UTC 2019 Modified Files: src/sys/kern: kern_lwp.c src/sys/sys: lwp.h Log Message: lwp_setlock(): return pointer to the kmutex_t that we replaced To generate a diff of this commit: cvs rdiff -u -r1.210

CVS commit: src/sys/arch/x86

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 21:48:34 UTC 2019 Modified Files: src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: x86_tlb.c Log Message: x86 TLB shootdown IPI changes: - Shave some time off processing. - Reduce cacheline/bus traffic on

CVS commit: src/sys/arch/x86

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 21:48:34 UTC 2019 Modified Files: src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: x86_tlb.c Log Message: x86 TLB shootdown IPI changes: - Shave some time off processing. - Reduce cacheline/bus traffic on

CVS commit: src/sys/arch

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 19:27:54 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf locore.S src/sys/arch/i386/i386: genassym.cf locore.S Log Message: x86: abort pageidlezero unconditionally if there is something to run. To

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 21:42:31 UTC 2019 Modified Files: src/sys/kern: sys_select.c src/sys/sys: selinfo.h Log Message: Minor improvements to select/poll: - Increase the maximum number of clusters from 32 to 64 for large systems.

CVS commit: src/sys

2019-11-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Nov 21 21:42:31 UTC 2019 Modified Files: src/sys/kern: sys_select.c src/sys/sys: selinfo.h Log Message: Minor improvements to select/poll: - Increase the maximum number of clusters from 32 to 64 for large systems.

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

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/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/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

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/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-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/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-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/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/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/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/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/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/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

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/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

  1   2   >