CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 21:53:06 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Use {b,c}devsw_acquire() and {b,c}devsw_release() in the various device acccess methods. To generate a diff of this

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 21:36:41 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Add membar_datadep_consumer() to {b,c}devsw_lookup() to ensure that the devsw content is visible. Again, thanks

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 21:31:33 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Call localcount_init() before publishing the new {b,c}devsw. Thanks to riastradh@ To generate a diff of this commit:

CVS commit: [pgoyette-localcount] src/sys/kern

2017-04-25 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Apr 25 09:03:03 UTC 2017 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: Use KASSERTMSG() to ensure that the device has a localcount. To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 29 02:28:38 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: tty_pty.c Log Message: Add module initializers in the pmax-specific copies of the [bc]devsw's To generate a diff of this commit: cvs rdiff -u

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 29 02:19:52 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: tty_pty.c Log Message: Add a note to revisit the locking for this device. To generate a diff of this commit: cvs rdiff -u -r1.142.2.5

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-28 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 29 01:49:39 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: tty_pty.c Log Message: Redo previous, restoring "return xxx;" in each case of the select. This gets the exit conditions back the way they were,

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 23:16:36 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Fix a comment To generate a diff of this commit: cvs rdiff -u -r1.34.2.12 -r1.34.2.13 src/sys/kern/subr_devsw.c

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 23:04:01 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Continue previous - finish what we started To generate a diff of this commit: cvs rdiff -u -r1.34.2.11 -r1.34.2.12

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 23:02:55 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Only retrieve the bdev/cdev from the xdevsw[] array once. To generate a diff of this commit: cvs rdiff -u -r1.34.2.10

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 12:03:15 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: Fix logic to avoid dereferencing NULL pointer To generate a diff of this commit: cvs rdiff -u -r1.246.2.4

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-22 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 11:59:51 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Style: indent label 'out:' one space from the margin. To generate a diff of this commit: cvs rdiff -u -r1.34.2.9

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 03:55:12 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: vfs_mount.c Log Message: Fix up the error/exit path. Return actual error, not blindly report success! To generate a diff of this commit: cvs

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 02:05:39 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: Remove stray debugging info To generate a diff of this commit: cvs rdiff -u -r1.246.2.3 -r1.246.2.4

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jul 22 02:02:24 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_autoconf.c Log Message: In config_devfree(), free the 'struct localcount' In device_lookup_private_acquire() we need to ensure that the

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Jul 21 06:22:31 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Remove a stray call to mutex_exit() that is left over from a previous incarnation of this code. To generate a diff of

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jul 20 07:07:05 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Improved comment. No code change. To generate a diff of this commit: cvs rdiff -u -r1.34.2.7 -r1.34.2.8

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 21:40:47 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Fix typo in KASSERTMSG macro name To generate a diff of this commit: cvs rdiff -u -r1.34.2.6 -r1.34.2.7

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-17 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 12:09:21 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: More details in KASSERTs to aid debugging To generate a diff of this commit: cvs rdiff -u -r1.34.2.4 -r1.34.2.5

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 05:02:20 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Defer initialization of the pserialize_t device_psz" until just before we need it. We can't initialize within

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Jul 17 02:37:54 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: More locking fixes from riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.34.2.2 -r1.34.2.3

CVS commit: [pgoyette-localcount] src/sys/kern

2016-07-16 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jul 16 22:35:34 UTC 2016 Modified Files: src/sys/kern [pgoyette-localcount]: subr_devsw.c Log Message: Fix some locking sequences. Thanks to ristradh@ for the review! To generate a diff of this commit: cvs rdiff -u