Module Name: src
Committed By: nat
Date: Tue Jan 9 04:23:59 UTC 2018
Modified Files:
src/sys/dev/pad: pad.c
Log Message:
Fix pad on systems with many cores/cpus:
* Introduce a lock to serialize attach/detach of pad devices.
* Forcefully detach children of pad on close.
* Be more carefull in pad_open with regards to config_detach only
if new instances of the pad device are created and fail to open.
Addresses PR kern/52889.
These changes were developed with and tested by pgoyette@.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/pad/pad.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.