CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 09:56:21 UTC 2019

Modified Files:
src/distrib/notes/common: extract-contrib-string.pl

Log Message:
Recognize ad clause in CMU PPP and some OpenSSL code.

Use "n" (grouping doesn't capture) when matching $ack* regexps to
alleviate performance hit a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/distrib/notes/common/extract-contrib-string.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/imx/fdt

2019-12-03 Thread Kenichi Hashimoto
Module Name:src
Committed By:   hkenken
Date:   Tue Dec  3 10:32:53 UTC 2019

Modified Files:
src/sys/arch/arm/imx/fdt: imx6_spi.c

Log Message:
Remove FDT_INTR_MPSAFE flag.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/fdt/imx6_spi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 10:40:51 UTC 2019

Added Files:
src: contrib.txt

Log Message:
Move the entry for CMU Computing Services to its proper place in the
sorting order.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/contrib.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 10:46:41 UTC 2019

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Move the entry for CMU Computing Services to its proper place in the
sorting order.  Add more ad clauses from CMU ppp code.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 10:51:46 UTC 2019

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Fix the enry for Computer Systems Laboratory at the University of Utah
and move it to its proper place in the sorting order.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 10:54:39 UTC 2019

Removed Files:
src: contrib.txt

Log Message:
Remove accidentally committed output from extract-contrib-string.pl
I will have a stern talk with my emacs about this incident.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/contrib.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec  3 11:22:06 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec  3 11:25:44 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Make dwc2debug sysctl'able


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/unbound/dist/util

2019-12-03 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Tue Dec  3 11:25:20 UTC 2019

Modified Files:
src/external/bsd/unbound/dist/util: netevent.c

Log Message:
Apply a fix from upstream:
  https://github.com/NLnetLabs/unbound/pull/122
This should enable proper functioning of tcp-idle-timeout.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/bsd/unbound/dist/util/netevent.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2019-12-03 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Tue Dec  3 11:26:13 UTC 2019

Modified Files:
src/sys/dev/pci: if_kse.c

Log Message:
streamline receive filter logic, work-in-progress.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/if_kse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-12-03 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Dec  3 11:50:16 UTC 2019

Modified Files:
src/sys/arch/x86/x86: x86_machdep.c

Log Message:
Make cpu_intr_p() work with "curlwp->l_cpu == NULL" and
assert "curlwp == &lwp0" in this case.

Prevents crash during early boot with "options LOCKDEBUG".


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/arch/x86/x86/x86_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-12-03 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Dec  3 11:50:45 UTC 2019

Modified Files:
src/sys/arch/x86/x86: x86_machdep.c

Log Message:
Make sure the assignment to "idepth" is done inside the loop to prevent
preemption between loop end and dereference of "l_cpu->ci_depth".


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/sys/arch/x86/x86/x86_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sh3/sh3

2019-12-03 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Tue Dec  3 12:39:00 UTC 2019

Modified Files:
src/sys/arch/sh3/sh3: exception.c

Log Message:
tlb_exception: in slow path, check for usermode before calling userret().


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/sh3/sh3/exception.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sh3/sh3

2019-12-03 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Tue Dec  3 12:42:21 UTC 2019

Modified Files:
src/sys/arch/sh3/sh3: exception.c

Log Message:
One more tweak.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/sh3/sh3/exception.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2019-12-03 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Dec  3 13:30:52 UTC 2019

Modified Files:
src/sys/kern: subr_pserialize.c

Log Message:
Stopgap hack to unbreak the build: #ifdef __HAVE_ATOMIC64_LOADSTORE
the event counter update. From rmind@


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_pserialize.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec  3 13:37:50 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Need  for previous


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 13:41:56 UTC 2019

Modified Files:
src/distrib/notes/common: extract-contrib-string.pl

Log Message:
Drop the final quote if followed by dot.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/distrib/notes/common/extract-contrib-string.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 13:42:55 UTC 2019

Modified Files:
src/distrib/notes/common: extract-contrib-string.pl

Log Message:
Add xsrc to the invocation example.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/distrib/notes/common/extract-contrib-string.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/sys

2019-12-03 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec  3 13:48:25 UTC 2019

Modified Files:
src/sys/sys: module_hook.h

Log Message:
Adapt to use the new atomic_* operations.  As discussed with
riastradh@ in private Email.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/sys/module_hook.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec  3 14:35:50 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Use size_t for loop count variable


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Dec  3 14:38:49 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Calulate the right lenght for isoc transfer and the usb_syncmem

PR/54696: Kernel panic in bus_dma.c on Raspberry Pi 3B/3B+


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/tmac

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 14:41:00 UTC 2019

Modified Files:
src/share/tmac: doc2html

Log Message:
Use groff -Tencoding argument to emit 


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/dm

2019-12-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Tue Dec  3 15:03:15 UTC 2019

Modified Files:
src/sys/dev/dm: netbsd-dm.h

Log Message:
dm: Remove unused macro DM_CMD_LEN

that was added but never used in both NetBSD and DragonFlyBSD.
taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/dm/netbsd-dm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2019-12-03 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Dec  3 15:21:00 UTC 2019

Modified Files:
src/sys/arch/arm/arm: arm_machdep.c
src/sys/arch/mips/mips: cpu_subr.c
src/sys/arch/sparc/sparc: intr.c
src/sys/arch/sparc64/sparc64: machdep.c
src/sys/arch/usermode/dev: cpu.c
src/sys/arch/x86/x86: pmap.c x86_machdep.c
src/sys/kern: kern_lock.c subr_pool.c

Log Message:
Use __insn_barrier to enforce ordering in l_ncsw loops.

(Only need ordering observable by interruption, not by other CPUs.)


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/arm/arm/arm_machdep.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/mips/mips/cpu_subr.c
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/sparc/sparc/intr.c
cvs rdiff -u -r1.294 -r1.295 src/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/usermode/dev/cpu.c
cvs rdiff -u -r1.341 -r1.342 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.132 -r1.133 src/sys/arch/x86/x86/x86_machdep.c
cvs rdiff -u -r1.163 -r1.164 src/sys/kern/kern_lock.c
cvs rdiff -u -r1.262 -r1.263 src/sys/kern/subr_pool.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/dm

2019-12-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Tue Dec  3 15:36:00 UTC 2019

Modified Files:
src/sys/dev/dm: device-mapper.c dm.h

Log Message:
dm: Doesn't need to expose struct cmd_function in a header


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/dm/device-mapper.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/dm/dm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/dm

2019-12-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Tue Dec  3 15:47:38 UTC 2019

Modified Files:
src/sys/dev/dm: dm.h dm_ioctl.c dm_pdev.c dm_target_linear.c
dm_target_snapshot.c dm_target_stripe.c

Log Message:
dm: Include  in dm.h

dm.h already depends on vnode, so have dm.h include 
instead of other .c files.

taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/dm/dm.h
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/dm/dm_ioctl.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/dm/dm_pdev.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/dm/dm_target_linear.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/dm/dm_target_snapshot.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/dm/dm_target_stripe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/dm

2019-12-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Tue Dec  3 16:09:13 UTC 2019

Modified Files:
src/sys/dev/dm: dm.h

Log Message:
dm: Remove unused macro MAX_TARGET_STRING_LEN

that was added but never used in both NetBSD and DragonFlyBSD.
taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/dm/dm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 16:21:34 UTC 2019

Modified Files:
src/distrib/notes/common: extract-contrib-string.pl

Log Message:
Translate Lule} to troff's Lule\(oa.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/distrib/notes/common/extract-contrib-string.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/dm

2019-12-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Tue Dec  3 16:22:01 UTC 2019

Modified Files:
src/sys/dev/dm: dm_dev.c dm_pdev.c dm_target.c

Log Message:
dm: Make global dm locks static

These are all per-file locks which protect dev/pdev/target structure.
taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/dm/dm_dev.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/dm/dm_pdev.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/dm/dm_target.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 16:27:24 UTC 2019

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Use troff \(xx names for the few accented characters we have here.

Extraction script outputs them literally, but some of them are in
utf-8 and some in latin1.  While here also use \(:o for Bodo Moeller
name as instructed.  Lule\(oa is now emited by the extraction script
directly.

This gives us the right characters in PostScript and HTML output.  In
text output they are transliterated with -mtty-char.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 16:31:40 UTC 2019

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Move the entry for Caldera to its proper place in the sorting order.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 16:43:16 UTC 2019

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Add a comment to the entry for Computer Systems Laboratory at the
University of Utah.  It's missed by the extraction script b/c of the
non-standard formatting of the ad clause.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/notes/common

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 16:45:21 UTC 2019

Modified Files:
src/distrib/notes/common: legal.common

Log Message:
Drop entries for "Scott Bartram and Frank van der Linden" and "the
University of Illinois at Urbana and their contributors".  They are
not referenced anywhere in the tree.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/distrib/notes/common/legal.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-12-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec  3 22:03:14 UTC 2019

Modified Files:
src/sys/arch/aarch64/include: frame.h

Log Message:
Define lwp_trapframe() macro


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/include/frame.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/aarch64/aarch64

2019-12-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec  3 22:02:43 UTC 2019

Modified Files:
src/sys/arch/aarch64/aarch64: trap.c

Log Message:
Add KDTRACE_HOOKS support.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/aarch64/aarch64/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-12-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec  3 22:10:57 UTC 2019

Modified Files:
src/external/cddl/osnet/dist/lib/libdtrace/aarch64: dt_isadep.c
src/external/cddl/osnet/dist/lib/libdtrace/common: dt_link.c
src/external/cddl/osnet/lib/libdtrace: Makefile
src/sys/modules/cyclic: Makefile
src/sys/modules/dtrace: Makefile
Added Files:
src/external/cddl/osnet/dev/dtrace/aarch64: dtrace_asm.S dtrace_isa.c
dtrace_subr.c regset.h
src/external/cddl/osnet/dev/fbt/aarch64: fbt_isa.c fbt_isa.h

Log Message:
dtrace: add support for aarch64


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S \
src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c \
src/external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c \
src/external/cddl/osnet/dev/dtrace/aarch64/regset.h
cvs rdiff -u -r0 -r1.1 src/external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c \
src/external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c
cvs rdiff -u -r1.11 -r1.12 \
src/external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c
cvs rdiff -u -r1.25 -r1.26 src/external/cddl/osnet/lib/libdtrace/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/cyclic/Makefile
cvs rdiff -u -r1.6 -r1.7 src/sys/modules/dtrace/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec  3 22:22:36 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
build fix


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2019-12-03 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Tue Dec  3 22:28:41 UTC 2019

Modified Files:
src/sys/kern: kern_cpu.c kern_runq.c
src/sys/sys: cpu_data.h sched.h

Log Message:
- Add some more failsafes to the CPU topology stuff, and build a 3rd
  circular list of peer CPUs in other packages, so we might scroll through
  them in the scheduler when looking to distribute or steal jobs.

- Fold the run queue data structure into spc_schedstate.  Makes kern_runq.c
  a far more pleasant place to work.

- Remove the code in sched_nextlwp() that tries to steal jobs from other
  CPUs.  It's not needed, because we do the very same thing in the idle LWP
  anyway.  Outside the VM system this was one of the the main causes of L3
  cache misses I saw during builds.  On my machine, this change yields a
  60%-70% drop in time on the "hackbench" benchmark (there's clearly a bit
  more going on here, but basically being less aggressive helps).


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/kern_cpu.c
cvs rdiff -u -r1.52 -r1.53 src/sys/kern/kern_runq.c
cvs rdiff -u -r1.42 -r1.43 src/sys/sys/cpu_data.h
cvs rdiff -u -r1.78 -r1.79 src/sys/sys/sched.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/games/fortune/datfiles

2019-12-03 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Dec  3 22:42:29 UTC 2019

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
Introspection. From "Surely You're Joking, Mr. Feynman!"


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/games/fortune/datfiles/fortunes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/qat

2019-12-03 Thread Hikaru Abe
Module Name:src
Committed By:   hikaru
Date:   Wed Dec  4 01:06:28 UTC 2019

Modified Files:
src/sys/dev/pci/qat: qat.c

Log Message:
Fix macro error if QAT_DUMP is defined for debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/qat/qat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/include/machine

2019-12-03 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Dec  4 03:04:52 UTC 2019

Modified Files:
src/sys/rump/include/machine: cpu.h

Log Message:
Fix rump definition of cpu_number().


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/rump/include/machine/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man9

2019-12-03 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Dec  4 03:04:43 UTC 2019

Modified Files:
src/share/man/man9: rnd.9

Log Message:
Update rnd(9) man page to reflect reality since netbsd-7.

- Note rndsource_setcb, RND_FLAG_HASCB, and rnd_add_data_sync.
- Note user's obligation to serialize access to each rndsource.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man9/rnd.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/postinstall

2019-12-03 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec  4 04:45:42 UTC 2019

Modified Files:
src/usr.sbin/postinstall: postinstall.in

Log Message:
PR/54730: Izumi Tsutsui: Use /var/db/obsolete/ to remove obsolete rc.d
files when not in $SOURCEMODE.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/postinstall/postinstall.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-12-03 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Dec  4 05:19:11 UTC 2019

Modified Files:
src/sys/arch/mips/adm5120/dev: if_admsw.c

Log Message:
Fix admsw_mediachange(). Not tested.

 ifmedia_change() is used to change the device's media setting from
user-selected media. The user-selected media is not
sc->sc_ifmedia[port]->ifm_media but sc->sc_ifmedia[port].ifm_cur->ifm_media.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mips/adm5120/dev/if_admsw.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2019-12-03 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Dec  4 05:36:35 UTC 2019

Modified Files:
src/sys/kern: subr_cprng.c

Log Message:
Disable rngtest on output of cprng_strong.

We already do a self-test for correctenss of Hash_DRBG output;
applying rngtest to it does nothing but give everyone warning fatigue
about spurious rngtest failures.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/kern/subr_cprng.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/external/bsd/dwc2

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Dec  4 06:28:35 UTC 2019

Modified Files:
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Consistency.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/external/bsd/dwc2/dwc2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/macppc/dev

2019-12-03 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Dec  4 07:03:46 UTC 2019

Modified Files:
src/sys/arch/macppc/dev: if_mc.c

Log Message:
Fix macppc/dev/if_mc.c::mc_mediachange(). Not tested.

 ifmedia_change() is used to change the device's media setting from
user-selected media. The user-selected media is not sc->sc_media.ifm_media but
sc->sc_media.ifm_cur->ifm_media. Note that mc_mediachange() is not called from
anywhere because it's disabled with #ifdef NOTYET.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/macppc/dev/if_mc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



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

2019-12-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Dec  4 07:49:39 UTC 2019

Modified Files:
src/sys/arch/hppa/include: cpu.h

Log Message:
+ci_onproc


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hppa/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.