CVS commit: src/sys/external/bsd/drm2/nouveau

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 08:26:04 UTC 2018

Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau_pci.c

Log Message:
this works well enough to start and have basic accel only on GTX 750,
so enable those cards.  maybe can enable some pascal cards too.

thanks to fly for fixing nouveau drm2 so it was worth trying :-)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/drm2/nouveau/nouveau_pci.c

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



CVS commit: src/etc/mtree

2018-12-24 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Mon Dec 24 08:31:08 UTC 2018

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
remove lwresd as now obsolete


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/etc/mtree/NetBSD.dist.base

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

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 08:40:33 UTC 2018

Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau_pci.c

Log Message:
don't attach to new turing based nouveau cards.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/external/bsd/drm2/nouveau/nouveau_pci.c

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



CVS commit: src/distrib/sets/lists/debug

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 24 13:31:22 UTC 2018

Modified Files:
src/distrib/sets/lists/debug: md.amd64

Log Message:
add missing test


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/distrib/sets/lists/debug/md.amd64

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



CVS commit: src/sys/arch

2018-12-24 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Dec 24 14:55:42 UTC 2018

Modified Files:
src/sys/arch/x86/x86: intr.c
src/sys/arch/xen/include: intr.h
src/sys/arch/xen/x86: xen_intr.c xen_ipi.c
src/sys/arch/xen/xen: clock.c if_xennet_xenbus.c pciback.c xbd_xenbus.c
xbdback_xenbus.c xencons.c xenevt.c xennetback_xenbus.c
xpci_xenbus.c
src/sys/arch/xen/xenbus: xenbus_comms.c

Log Message:
Bifurcate the interrupt establish functions between XEN and non-XEN

Thus intr_establish_xname() becomes xen_intr_establish_xname() etc.

One consequence of this is that dom0 devices expect the native
function calls to be available and we thus provide weak aliasing for
dom0 builds to succeed. XEN and non-XEN devices are distinguished by
the PIC they are established on. XEN interrupts are exclusively
established on xen_pic, while dom0 interrupts are established on
natively available PICs.

This allows us an orthogonal path to xen device management (eg:
xenstore events) in XENPVHVM, without having to worry about unifying
the vector entry paths, etc., which is quite challenging.


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/xen/include/intr.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/xen/x86/xen_intr.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/xen/x86/xen_ipi.c
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/xen/xen/clock.c
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/xen/xen/pciback.c
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/xen/xen/xbdback_xenbus.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/xen/xen/xencons.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/xen/xen/xenevt.c
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/xen/xen/xennetback_xenbus.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/xen/xen/xpci_xenbus.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/xen/xenbus/xenbus_comms.c

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



CVS commit: src/sys/netipsec

2018-12-24 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Dec 24 15:57:15 UTC 2018

Modified Files:
src/sys/netipsec: keysock.c keysock.h

Log Message:
Remove unused function.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/netipsec/keysock.c
cvs rdiff -u -r1.11 -r1.12 src/sys/netipsec/keysock.h

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



CVS commit: src/sys/sys

2018-12-24 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Dec 24 16:04:14 UTC 2018

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

Log Message:
Remove unused macros.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/sys/verified_exec.h

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



CVS commit: src

2018-12-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Dec 24 16:58:54 UTC 2018

Modified Files:
src/distrib/sets/lists/comp: mi
src/distrib/sets/lists/tests: mi module.mi
src/share/man/man9: Makefile
src/sys/kern: files.kern
src/sys/rump/librump/rumpkern: Makefile.rumpkern
src/sys/sys: param.h
src/tests/kernel: Makefile
Added Files:
src/share/man/man9: threadpool.9
src/sys/kern: kern_threadpool.c
src/sys/sys: threadpool.h
src/tests/kernel: t_threadpool.sh
src/tests/kernel/threadpool_tester: Makefile threadpool_tester.c

Log Message:
Add threadpool(9), an abstraction that provides shared pools of kernel
threads running at specific priorities, with support for unbound pools
and per-cpu pools.

Written by riastradh@, and based on the May 2014 draft, with a few changes
by me:
- Working on the assumption that a relative few priorities will actually
  be used, reduce the memory footprint by using linked lists, rather than
  2 large (and mostly empty) tables.  The performance impact is essentially
  nil, since these lists are consulted only when pools are created (and
  destroyed, for DIAGNOSTIC checks), and the lists will have at most 225
  entries.
- Make threadpool job object, which the caller must allocate storage for,
  really opaque.
- Use typedefs for the threadpool types, to reduce the verbosity of the
  API somewhat.
- Fix a bunch of pool / worker thread / job object lifecycle bugs.

Also include an ATF unit test, written by me, that exercises the basics
of the API by loading a kernel module that exposes several sysctls that
allow the ATF test script to create and destroy threadpools, schedule a
basic job, and verify that it ran.

And thus NetBSD 8.99.29 has arrived.


To generate a diff of this commit:
cvs rdiff -u -r1.2244 -r1.2245 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.798 -r1.799 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/lists/tests/module.mi
cvs rdiff -u -r1.433 -r1.434 src/share/man/man9/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man9/threadpool.9
cvs rdiff -u -r1.28 -r1.29 src/sys/kern/files.kern
cvs rdiff -u -r0 -r1.1 src/sys/kern/kern_threadpool.c
cvs rdiff -u -r1.172 -r1.173 src/sys/rump/librump/rumpkern/Makefile.rumpkern
cvs rdiff -u -r1.573 -r1.574 src/sys/sys/param.h
cvs rdiff -u -r0 -r1.1 src/sys/sys/threadpool.h
cvs rdiff -u -r1.54 -r1.55 src/tests/kernel/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/kernel/t_threadpool.sh
cvs rdiff -u -r0 -r1.1 src/tests/kernel/threadpool_tester/Makefile \
src/tests/kernel/threadpool_tester/threadpool_tester.c

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



CVS commit: src/doc

2018-12-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Dec 24 16:59:40 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
Note threadpool(9).


To generate a diff of this commit:
cvs rdiff -u -r1.2471 -r1.2472 src/doc/CHANGES

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



CVS commit: src/sys/dev/acpi

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 24 17:44:40 UTC 2018

Modified Files:
src/sys/dev/acpi: com_acpi.c

Log Message:
- fix compilation on 32 bit systems.
- wrap long lines


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/acpi/com_acpi.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/i386/stand/efiboot

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 24 18:21:50 UTC 2018

Modified Files:
src/sys/arch/i386/stand/efiboot/bootia32: ldscript
src/sys/arch/i386/stand/efiboot/bootx64: ldscript

Log Message:
Avoid error with new binutils:
error: PHDR segment not covered by LOAD segment


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/efiboot/bootia32/ldscript
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/efiboot/bootx64/ldscript

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



CVS commit: src/distrib/ofppc/ramdisks/common

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 20:11:23 UTC 2018

Modified Files:
src/distrib/ofppc/ramdisks/common: Makefile.ramdisk

Log Message:
set MAKEDEVTARGETS=ramdisk so that the ramdisk /dev/ is populated.
from PR#51659.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/ofppc/ramdisks/common/Makefile.ramdisk

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



CVS commit: src/sys/compat/netbsd32

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 20:27:57 UTC 2018

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c

Log Message:
pset_create() takes a pointer so it needs special handling.


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 src/sys/compat/netbsd32/netbsd32_netbsd.c

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



CVS commit: src/sys/compat/netbsd32

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 20:39:17 UTC 2018

Modified Files:
src/sys/compat/netbsd32: netbsd32_netbsd.c

Log Message:
fix style consistency.
remove obsolete comments or commented code.
NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/sys/compat/netbsd32/netbsd32_netbsd.c

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



CVS commit: src/sys/compat/netbsd32

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 20:44:39 UTC 2018

Modified Files:
src/sys/compat/netbsd32: files.netbsd32 netbsd32_netbsd.c
Added Files:
src/sys/compat/netbsd32: netbsd32_quota.c netbsd32_rlimit.c

Log Message:
move rlimit and quota code into their own modules.

(netbsd32_netbsd.c should have only simple shims.  anything more
than copying arguments from one args struct to the other should
not be placed in this file.  still a couple more to move out.)


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/compat/netbsd32/files.netbsd32
cvs rdiff -u -r1.220 -r1.221 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r0 -r1.1 src/sys/compat/netbsd32/netbsd32_quota.c \
src/sys/compat/netbsd32/netbsd32_rlimit.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/xen/conf

2018-12-24 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Dec 24 21:15:59 UTC 2018

Modified Files:
src/sys/arch/xen/conf: files.xen

Log Message:
Do not include files for MSI support on XEN dom0.

We do not support MSI as of now.


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 src/sys/arch/xen/conf/files.xen

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



CVS commit: src/sys/compat/netbsd32

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 21:27:06 UTC 2018

Modified Files:
src/sys/compat/netbsd32: files.netbsd32 netbsd32_netbsd.c
netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c syscalls.master
Added Files:
src/sys/compat/netbsd32: netbsd32_compat_40.c netbsd32_fd.c
netbsd32_vm.c

Log Message:
move mmap(), compat 40 mount(), pipe() and getfh() into their own files
as the implementation is non trivial or is compat.  mark old mount()
properly instead of manually #if'ing ito to ENOSYS.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/netbsd32/files.netbsd32
cvs rdiff -u -r0 -r1.2 src/sys/compat/netbsd32/netbsd32_compat_40.c
cvs rdiff -u -r0 -r1.1 src/sys/compat/netbsd32/netbsd32_fd.c \
src/sys/compat/netbsd32/netbsd32_vm.c
cvs rdiff -u -r1.221 -r1.222 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.136 -r1.137 src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.16 -r1.17 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.135 -r1.136 src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.27 -r1.28 src/sys/compat/netbsd32/netbsd32_systrace_args.c
cvs rdiff -u -r1.123 -r1.124 src/sys/compat/netbsd32/syscalls.master

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



CVS commit: src/sys/compat/netbsd32

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 21:27:37 UTC 2018

Modified Files:
src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/compat/netbsd32/netbsd32_syscall.h
cvs rdiff -u -r1.137 -r1.138 src/sys/compat/netbsd32/netbsd32_syscallargs.h \
src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.17 -r1.18 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.136 -r1.137 src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.28 -r1.29 src/sys/compat/netbsd32/netbsd32_systrace_args.c

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



CVS commit: src/sys/sys

2018-12-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Dec 24 21:40:48 UTC 2018

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

Log Message:
Don't need  here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/threadpool.h

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



CVS commit: src

2018-12-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Dec 24 21:42:05 UTC 2018

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/rump/kernspace: Makefile kernspace.h
src/tests/rump/rumpkern: Makefile
Added Files:
src/tests/rump/kernspace: threadpool.c
src/tests/rump/rumpkern: t_threadpool.c

Log Message:
Add rump-based test cases for threadpool(9).


To generate a diff of this commit:
cvs rdiff -u -r1.799 -r1.800 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.6 -r1.7 src/tests/rump/kernspace/Makefile \
src/tests/rump/kernspace/kernspace.h
cvs rdiff -u -r0 -r1.1 src/tests/rump/kernspace/threadpool.c
cvs rdiff -u -r1.16 -r1.17 src/tests/rump/rumpkern/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/rump/rumpkern/t_threadpool.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/amd64/amd64

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 24 21:48:53 UTC 2018

Modified Files:
src/sys/arch/amd64/amd64: kobj_machdep.c

Log Message:
Treat R_X86_64_PLT32 relocation as R_X86_64_PC32 for binutils-2.31
See: https://lore.kernel.org/patchwork/patch/892629/


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/amd64/kobj_machdep.c

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



CVS commit: src/share/mk

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 24 21:51:57 UTC 2018

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Switch x86 to binutils 2.31.1


To generate a diff of this commit:
cvs rdiff -u -r1.1085 -r1.1086 src/share/mk/bsd.own.mk

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



CVS commit: src/lib

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 22:02:32 UTC 2018

Modified Files:
src/lib: Makefile

Log Message:
move sqlite earlier in its section.  my build often sits with only 3
processes active here for quite some time otherwise.


To generate a diff of this commit:
cvs rdiff -u -r1.265 -r1.266 src/lib/Makefile

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

2018-12-24 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Mon Dec 24 22:05:45 UTC 2018

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

Log Message:
Towards bifurcating XEN and native interrupt related functions,
this is a preliminary cleanup sweep.

Move functions related to MP bus probe and scanning to x86/mp.c

Move generic platform pic search function to x86/x86_machdep.c


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/mp.c
cvs rdiff -u -r1.120 -r1.121 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/compat/netbsd32

2018-12-24 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Dec 24 22:47:19 UTC 2018

Modified Files:
src/sys/compat/netbsd32: files.netbsd32

Log Message:
quotactl is always included, regardless of options QUOTA.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/compat/netbsd32/files.netbsd32

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



CVS commit: src/share/mk

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Dec 25 00:35:26 UTC 2018

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
back to binutils 227: constructors in ifconfig are broken.


To generate a diff of this commit:
cvs rdiff -u -r1.1086 -r1.1087 src/share/mk/bsd.own.mk

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



CVS commit: src/sys/kern

2018-12-24 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Tue Dec 25 02:17:07 UTC 2018

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

Log Message:
Fix !DIAGNOSTIC builds.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/kern_threadpool.c

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



CVS commit: src/tests/net/if_ipsec

2018-12-24 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue Dec 25 03:28:29 UTC 2018

Modified Files:
src/tests/net/if_ipsec: t_ipsec.sh

Log Message:
reduce debug messages when $DEBUG is not true.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/net/if_ipsec/t_ipsec.sh

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



CVS commit: src/usr.bin/vmstat

2018-12-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Dec 25 03:38:59 UTC 2018

Modified Files:
src/usr.bin/vmstat: vmstat.1

Log Message:
Remove reference to Installing and Operating 4.3BSD paper, at present it's not
possible to find a paper titled as such with sections starting with
"Interpreting system activity".
There is a "Monitoring System Performance" section present from the 4.1BSD
Installing and Operating paper up to and including the 4.4BSD paper. The advice
in this section has not aged very well.
>From "Installing and Operating 4.3BSD-tahoe UNIX on the VAX":
"Cumulatively on one of our large machines we average about 60-100
context switches and interrupts per second and about 70-120 system calls
per second"


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/vmstat/vmstat.1

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



CVS commit: src

2018-12-24 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Tue Dec 25 03:54:44 UTC 2018

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/net/if_ipsec: Makefile
Added Files:
src/tests/net/if_ipsec: t_ipsec_natt.sh

Log Message:
Add ATF for NAT-T enabled ipsecif(4).


To generate a diff of this commit:
cvs rdiff -u -r1.800 -r1.801 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.1 -r1.2 src/tests/net/if_ipsec/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/if_ipsec/t_ipsec_natt.sh

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



CVS commit: src/sys/kern

2018-12-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Dec 25 05:44:13 UTC 2018

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

Log Message:
Ho ho ho!  We can suppress that warning with __diagused!  Merry Christmas!


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/kern/kern_threadpool.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

2018-12-24 Thread Cherry G. Mathew
Module Name:src
Committed By:   cherry
Date:   Tue Dec 25 06:50:12 UTC 2018

Modified Files:
src/sys/arch/amd64/amd64: genassym.cf lock_stubs.S spl.S vector.S
src/sys/arch/i386/i386: genassym.cf spl.S vector.S
src/sys/arch/x86/include: cpu.h
src/sys/arch/x86/isa: isa_machdep.c
src/sys/arch/x86/x86: i8259.c intr.c
src/sys/arch/xen/conf: files.xen
src/sys/arch/xen/include: intr.h
src/sys/arch/xen/x86: hypervisor_machdep.c xen_intr.c
src/sys/arch/xen/xen: clock.c evtchn.c xenevt.c

Log Message:
Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/amd64/amd64/lock_stubs.S
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amd64/amd64/spl.S
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/amd64/amd64/vector.S
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/i386/i386/spl.S
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/x86/isa/isa_machdep.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/x86/i8259.c
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/x86/x86/intr.c
cvs rdiff -u -r1.173 -r1.174 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/xen/include/intr.h
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/xen/x86/hypervisor_machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/xen/x86/xen_intr.c
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/xen/xen/clock.c
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/xen/xen/evtchn.c
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/xen/xen/xenevt.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

2018-12-24 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Dec 25 07:41:21 UTC 2018

Modified Files:
src/sys/dev/pci: if_wmvar.h

Log Message:
 Add comment.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_wmvar.h

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



CVS commit: src/distrib/sets/lists/debug

2018-12-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Dec 25 07:52:53 UTC 2018

Modified Files:
src/distrib/sets/lists/debug: mi

Log Message:
- add missing test
- fix typos


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/distrib/sets/lists/debug/mi

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