diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-10-30 17:47:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-10-30 17:47:57 +0000 |
commit | c2d297d449b640aaad618243e9e61311598a1d4c (patch) | |
tree | ebc92ca7282d870b5322287d5c6c8fde2c3fba49 /sys/compat/linux/linux_emul.c | |
parent | 6094a6154c8f505530a7a0d0d49990faecc969b7 (diff) | |
download | FreeBSD-src-c2d297d449b640aaad618243e9e61311598a1d4c.zip FreeBSD-src-c2d297d449b640aaad618243e9e61311598a1d4c.tar.gz |
Protect the event->class lookup database using an rwlock instead of a
mutex, as it's rarely changed but frequently accessed read-only from
multiple threads, so a potentially significant source of contention.
MFC after: 1 month
Sponsored by: Apple, Inc.
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
0 files changed, 0 insertions, 0 deletions