CVS commit: [prg-localcount2] src/sys/kern
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 -u -r1.37.2.3 -r1.37.2.4 src/sys/kern/subr_devsw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [prg-localcount2] src/sys/kern
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_event.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [prg-localcount2] src/sys/kern
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 zero it. Any further calls to localcount_release() will adjust only the global counter. Avoids a race condition which depends on having localcount_release() being aware of whether the local CPU's contribution has already been accounted for. Thanks to Kengo NAKAHARA for bringing up the question, and to riastradh@ for the solution. To generate a diff of this commit: cvs rdiff -u -r1.1.6.4 -r1.1.6.5 src/sys/kern/subr_localcount.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [prg-localcount2] src/sys/kern
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. Thanks to Kengo NAKAHARA for pointing this out. To generate a diff of this commit: cvs rdiff -u -r1.1.6.3 -r1.1.6.4 src/sys/kern/subr_localcount.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [prg-localcount2] src/sys/kern
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_detach)() call fails. To generate a diff of this commit: cvs rdiff -u -r1.252.4.2 -r1.252.4.3 src/sys/kern/subr_autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [prg-localcount2] src/sys/kern
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.37.2.2 -r1.37.2.3 src/sys/kern/subr_devsw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [prg-localcount2] src/sys/kern
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 message and return EINVAL to signal failure. To generate a diff of this commit: cvs rdiff -u -r1.37.2.1 -r1.37.2.2 src/sys/kern/subr_devsw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.