diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2015-06-05 16:21:43 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2015-06-05 16:21:43 +0000 |
commit | 8c8613a14f787e3070927dad2cb7ae294ba7ee14 (patch) | |
tree | 903150c434b990a81771112ffa9cf26d8cdabdc4 /sys/kern/subr_sleepqueue.c | |
parent | dade6e27ab1bb5e810f9d3620ccfca79f09fd9b8 (diff) | |
download | src-8c8613a14f787e3070927dad2cb7ae294ba7ee14.tar.gz src-8c8613a14f787e3070927dad2cb7ae294ba7ee14.zip |
This change uses a reader count instead of holding the mutex for the
interpreter list to avoid the problem of holding a non-sleep lock during
a page fault as reported by witness. In addition, it consistently uses
memset()/memcpy() instead of bzero()/bcopy() except in the case where
bcopy() is required (i.e. overlapping copy).
Differential Revision: https://reviews.freebsd.org/D2123
Submitted by: sson
MFC after: 2 weeks
Relnotes: Yes
Notes
Notes:
svn path=/head/; revision=284029
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
0 files changed, 0 insertions, 0 deletions