CVS commit: [prg-localcount2] src

2017-05-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri May 19 00:23:00 UTC 2017 Modified Files: src/bin/sh [prg-localcount2]: Makefile builtins.def eval.c exec.c jobs.c main.c miscbltin.c options.c options.h output.c parser.c redir.c sh.1 shell.h show.c sh

CVS commit: [prg-localcount2] src/sys/sys

2017-05-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu May 18 23:52:01 UTC 2017 Modified Files: src/sys/sys [prg-localcount2]: param.h Log Message: Bump version To generate a diff of this commit: cvs rdiff -u -r1.537.2.1 -r1.537.2.2 src/sys/sys/param.h Please note that diffs

CVS commit: [prg-localcount2] src/sys/dev/mscp

2017-05-18 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu May 18 07:35:01 UTC 2017 Modified Files: src/sys/dev/mscp [prg-localcount2]: mscp_disk.c Log Message: Fix previous, make it build again. To generate a diff of this commit: cvs rdiff -u -r1.89.8.4 -r1.89.8.5 src/sys/dev/msc

CVS commit: [prg-localcount2] src/sys/ufs/ext2fs

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 05:31:08 UTC 2017 Modified Files: src/sys/ufs/ext2fs [prg-localcount2]: ext2fs_vfsops.c Log Message: Typo - insert missing * To generate a diff of this commit: cvs rdiff -u -r1.208.2.1 -r1.208.2.2 src/sys/ufs/ext2fs

CVS commit: [prg-localcount2] src/sys/kern

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 04:33:03 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: subr_devsw.c Log Message: Allow the argument to {b,c}devsw_release() to be NULL, and treat it as a No-Op To generate a diff of this commit: cvs rdiff

CVS commit: [prg-localcount2] src/sys/dev/mscp

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 04:29:46 UTC 2017 Modified Files: src/sys/dev/mscp [prg-localcount2]: mscp_disk.c Log Message: Finish previous. :( To generate a diff of this commit: cvs rdiff -u -r1.89.8.3 -r1.89.8.4 src/sys/dev/mscp/mscp_disk.c

CVS commit: [prg-localcount2] src/sys/dev/mscp

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 04:26:14 UTC 2017 Modified Files: src/sys/dev/mscp [prg-localcount2]: mscp_disk.c Log Message: Adapt to device_lookup_acquire To generate a diff of this commit: cvs rdiff -u -r1.89.8.2 -r1.89.8.3 src/sys/dev/mscp/ms

CVS commit: [prg-localcount2] src/sys/ufs/ext2fs

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 04:08:36 UTC 2017 Modified Files: src/sys/ufs/ext2fs [prg-localcount2]: ext2fs_vfsops.c Log Message: Adapt for bdevsw_lookup_acquire() To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.208.2.1 src/sys/ufs/

CVS commit: [prg-localcount2] src/sys/arch/mipsco/obio

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 03:54:20 UTC 2017 Modified Files: src/sys/arch/mipsco/obio [prg-localcount2]: zs_kgdb.c Log Message: Convert to cdevsw_lookup_acquire() To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10.54.1 src/sys/arch

CVS commit: [prg-localcount2] src/sys/dev/ata

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 03:05:44 UTC 2017 Modified Files: src/sys/dev/ata [prg-localcount2]: ata_raid.c Log Message: It's "device_t x" not "struct device_t x" To generate a diff of this commit: cvs rdiff -u -r1.39.6.2 -r1.39.6.3 src/sys/de

CVS commit: [prg-localcount2] src/sys/dev/ata

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 02:58:37 UTC 2017 Modified Files: src/sys/dev/ata [prg-localcount2]: ata_raid.c Log Message: Typo To generate a diff of this commit: cvs rdiff -u -r1.39.6.1 -r1.39.6.2 src/sys/dev/ata/ata_raid.c Please note that di

CVS commit: [prg-localcount2] src/sys/net

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 02:40:58 UTC 2017 Modified Files: src/sys/net [prg-localcount2]: if_tap.c Log Message: Actually return the retrun value that we computed. To generate a diff of this commit: cvs rdiff -u -r1.99.4.2 -r1.99.4.3 src/sys

CVS commit: [prg-localcount2] src/sys/dev/sysmon

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 02:37:02 UTC 2017 Modified Files: src/sys/dev/sysmon [prg-localcount2]: swwdog.c Log Message: Use correct variable name To generate a diff of this commit: cvs rdiff -u -r1.19.8.1 -r1.19.8.2 src/sys/dev/sysmon/swwdog

CVS commit: [prg-localcount2] src/share/man/man9

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 01:54:06 UTC 2017 Modified Files: src/share/man/man9 [prg-localcount2]: autoconf.9 Log Message: Update autoconf(9) to mention that config_attach_pseudo() returns with a reference held on the device. To generate a di

CVS commit: [prg-localcount2] src/sys

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 01:44:18 UTC 2017 Modified Files: src/sys/arch/atari/atari [prg-localcount2]: autoconf.c src/sys/dev [prg-localcount2]: cgd.c fss.c md.c vnd.c src/sys/dev/ata [prg-localcount2]: ata_raid.c src/s

CVS commit: [prg-localcount2] src/sys/kern

2017-05-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 17 01:42:17 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: kern_event.c Log Message: Import fix from HEAD for NULL deref To generate a diff of this commit: cvs rdiff -u -r1.88.8.2 -r1.88.8.3 src/sys/kern/kern

CVS commit: [prg-localcount2] src/sys/dev/mscp

2017-05-14 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun May 14 13:02:35 UTC 2017 Modified Files: src/sys/dev/mscp [prg-localcount2]: mscp_disk.c Log Message: Rearrange the else clauses to make it work. To generate a diff of this commit: cvs rdiff -u -r1.89.8.1 -r1.89.8.2 src/sy

CVS commit: [prg-localcount2] src/sys/dev

2017-05-13 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun May 14 05:38:38 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: md.c Log Message: Mark variable as __diagused to fix build-break To generate a diff of this commit: cvs rdiff -u -r1.78.6.4 -r1.78.6.5 src/sys/dev/md.

CVS commit: [prg-localcount2] src/sys/arch/alpha/tc

2017-05-13 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun May 14 05:33:41 UTC 2017 Modified Files: src/sys/arch/alpha/tc [prg-localcount2]: ioasic.c Log Message: Fix typo - causes build failure! To generate a diff of this commit: cvs rdiff -u -r1.46.20.1 -r1.46.20.2 src/sys/arch/

CVS commit: [prg-localcount2] src/sys/kern

2017-05-12 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri May 12 22:12:23 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: subr_localcount.c Log Message: When we're draining the localcount's references, transfer the local CPU's reference count to the global total, and then

CVS commit: [prg-localcount2] src/share/man/man9

2017-05-11 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri May 12 06:24:53 UTC 2017 Modified Files: src/share/man/man9 [prg-localcount2]: locking.9 Log Message: Add info for localcount(9) Sort SEE ALSO Sort the usage table XXX This man-page is a work in progress. Notably, it is

CVS commit: [prg-localcount2] src/sys/kern

2017-05-11 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu May 11 21:31:12 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: subr_localcount.c Log Message: Use kpreempt_{dis,en}able() rather than splsoftserial() for blocking the local execution of the low-priority xcall. Tha

CVS commit: [prg-localcount2] src

2017-05-10 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu May 11 02:58:44 UTC 2017 Modified Files: src/bin/ksh [prg-localcount2]: misc.c src/bin/sh [prg-localcount2]: eval.c input.c input.h jobs.c mktokens nodetypes parser.c sh.1 show.c trap.c var.c src/d

CVS commit: [prg-localcount2] src/share/man/man9

2017-05-03 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu May 4 04:28:43 UTC 2017 Modified Files: src/share/man/man9 [prg-localcount2]: localcount.9 Log Message: Give Taylor credit for the initial implementation. Improve cross-references to the subsystems currently using localcou

CVS commit: [prg-localcount2] src/tests/rump/rumpkern

2017-05-03 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed May 3 12:10:22 UTC 2017 Modified Files: src/tests/rump/rumpkern [prg-localcount2]: t_kern.c Log Message: Include fix for PR bin/52207 on the localcount2 branch. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.

CVS commit: [prg-localcount2] src/sys/external/bsd/ipf/netinet

2017-05-01 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue May 2 05:17:56 UTC 2017 Modified Files: src/sys/external/bsd/ipf/netinet [prg-localcount2]: ip_fil_netbsd.c Log Message: Keep NetBSD version in sync with sys/params.h XXX When localcount is finally committed to HEAD, it wi

CVS commit: [prg-localcount2] src

2017-05-01 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue May 2 03:19:23 UTC 2017 Modified Files: src/bin/csh [prg-localcount2]: glob.c src/bin/ksh [prg-localcount2]: misc.c src/bin/sh [prg-localcount2]: expand.c expand.h input.c jobs.c redir.c redir.h s

CVS commit: [prg-localcount2] src/sys/dev

2017-04-30 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Apr 30 10:27:16 UTC 2017 Modified Files: src/sys/dev/ata [prg-localcount2]: wd.c src/sys/dev/ic [prg-localcount2]: mlx.c nvme.c Log Message: And a few more DEVSW_MODULE_INIT for modular drivers To generate a diff o

CVS commit: [prg-localcount2] src/sys/dev/pci

2017-04-30 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Apr 30 10:17:26 UTC 2017 Modified Files: src/sys/dev/pci [prg-localcount2]: twa.c twe.c Log Message: More DEVSW_MODULE_INIT for modular drivers To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.55.6.1 src/sys/dev/

CVS commit: [prg-localcount2] src/sys/rump/librump/rumpkern

2017-04-30 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Apr 30 07:07:56 UTC 2017 Modified Files: src/sys/rump/librump/rumpkern [prg-localcount2]: locks.c Log Message: Use the right conditional to enable/disable LOCKDEBUG within RUMP To generate a diff of this commit: cvs rdiff

CVS commit: [prg-localcount2] src/sys/kern

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Apr 30 05:18:53 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: subr_autoconf.c Log Message: Release the interlock mutex before calling device_release(). Ensure that device_release() gets called even if the (ca->ca

CVS commit: [prg-localcount2] src/sys/sys

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Apr 30 05:16:52 UTC 2017 Modified Files: src/sys/sys [prg-localcount2]: conf.h Log Message: Only include sys/localcount.h if we're in the _KERNEL To generate a diff of this commit: cvs rdiff -u -r1.151.6.2 -r1.151.6.3 src/

CVS commit: [prg-localcount2] src

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Apr 30 04:56:55 UTC 2017 Modified Files: src/distrib/sets/lists/comp [prg-localcount2]: mi src/share/man/man9 [prg-localcount2]: Makefile mutex.9 src/sys/kern [prg-localcount2]: kern_mutex.c subr_localcount.c

CVS commit: [prg-localcount2] src/sys

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Apr 29 11:12:15 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: audio.c fss.c ld.c md.c rndpseudo.c spkr.c src/sys/dev/dm [prg-localcount2]: device-mapper.c src/sys/dev/pad [prg-localcount2

CVS commit: [prg-localcount2] src/sys

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Apr 29 10:50:46 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: ccd.c cgd.c vnd.c src/sys/dev/sysmon [prg-localcount2]: sysmon.c src/sys/net [prg-localcount2]: if_tun.c src/sys/net/npf [prg-loc

CVS commit: [prg-localcount2] src

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Apr 29 10:19:32 UTC 2017 Modified Files: src/external/cddl/osnet/dev/fbt [prg-localcount2]: fbt.c src/external/cddl/osnet/dev/sdt [prg-localcount2]: sdt.c src/external/cddl/osnet/dist/uts/common/dtrace [prg-lo

CVS commit: [prg-localcount2] src

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Apr 29 09:18:00 UTC 2017 Modified Files: src/external/cddl/osnet/dev/fbt [prg-localcount2]: fbt.c src/external/cddl/osnet/dev/sdt [prg-localcount2]: sdt.c src/external/cddl/osnet/dist/uts/common/dtrace [prg-lo

CVS commit: [prg-localcount2] src/sys/dev

2017-04-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Apr 29 08:55:37 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: cgd.c Log Message: add a comment - NFC To generate a diff of this commit: cvs rdiff -u -r1.114.4.4 -r1.114.4.5 src/sys/dev/cgd.c Please note that dif

CVS commit: [prg-localcount2] src/share/man/man9

2017-04-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Apr 29 06:33:37 UTC 2017 Modified Files: src/share/man/man9 [prg-localcount2]: localcount.9 Log Message: Remove extraneous argument to .Nm To generate a diff of this commit: cvs rdiff -u -r1.1.6.1 -r1.1.6.2 src/share/man/m

CVS commit: [prg-localcount2] src/sys/dev

2017-04-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 23:16:14 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: vnd.c Log Message: Don't call device_release() from vnd_detach(). The caller (typically, config_detach()) will take care of this. Without this fix, we

CVS commit: [prg-localcount2] src

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 06:00:33 UTC 2017 Modified Files: src/distrib/sets/lists/comp [prg-localcount2]: mi src/share/man/man9 [prg-localcount2]: Makefile autoconf.9 src/sys/dev [prg-localcount2]: cgd.c fss.c md.c vnd.c

CVS commit: [prg-localcount2] src/sys/net

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 03:46:57 UTC 2017 Modified Files: src/sys/net [prg-localcount2]: if_tun.c Log Message: Add a localcount to the devsw so it can be loaded as a rump module To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.1

CVS commit: [prg-localcount2] src/sys/kern

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 03:41:26 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: subr_devsw.c Log Message: Use printf() instead of aprintf_normal(), fix the sense of a comparison To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: [prg-localcount2] src/sys/kern

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 02:36:10 UTC 2017 Modified Files: src/sys/kern [prg-localcount2]: subr_devsw.c Log Message: No need to panic if a modular driver doesn't include the required localcount members in the {b,c}devsw. Just log a console m

CVS commit: [prg-localcount2] src/sys/net/npf

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 02:13:19 UTC 2017 Modified Files: src/sys/net/npf [prg-localcount2]: npf_os.c Log Message: The npf device may be loaded as a (rump) module, so make sure we have a localcount in its devsw To generate a diff of this c

CVS commit: [prg-localcount2] src/external/cddl/osnet/dist/uts/common/fs/zfs

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Apr 28 01:49:38 UTC 2017 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs [prg-localcount2]: zfs_ioctl.c Log Message: The zfs control device is loaded as a module under rump-server, so add the local

CVS commit: [prg-localcount2] src/sys/dev

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Apr 27 23:18:21 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: md.c Log Message: Don't reference a known-NULL pointer, and remove duplicated calls to mutex_enter() and mutex_exit() To generate a diff of this commi

CVS commit: [prg-localcount2] src/sys/dev

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Apr 27 12:07:23 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: cgd.c Log Message: Once more let's try to fix the exit path in cgdclose() To generate a diff of this commit: cvs rdiff -u -r1.114.4.2 -r1.114.4.3 src/

CVS commit: [prg-localcount2] src/sys/dev

2017-04-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Apr 27 11:58:58 UTC 2017 Modified Files: src/sys/dev [prg-localcount2]: cgd.c Log Message: Fix checking of failure-to-spawn a unit (check the returned address for NULL, vs the pointer to that address). Ensure that that devi

CVS commit: [prg-localcount2] src

2017-04-26 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Apr 27 05:36:39 UTC 2017 Modified Files: src/distrib/sets/lists/comp [prg-localcount2]: mi src/share/man/man9 [prg-localcount2]: Makefile devsw_attach.9 src/sys/arch/acorn26/ioc [prg-localcount2]: arcpp.c