diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-03-06 08:56:17 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2016-03-06 08:56:17 +0000 |
commit | c86bd03e15b08cac0f8f055d8ad1d720c831329c (patch) | |
tree | a5784d8a97e29c5c39d8590022bed990ae4f1267 /sys/netinet6/ip6_id.c | |
parent | 7f826952277fb93d6fae7b07d6406a3b344e334f (diff) |
Tweak uvm assertions to avoid locking in some cases.
When only one thread can access a map, there's no need
to lock it. Tweak the assertion instead of appeasing it
by acquiring a lock when it's not necessary.
ok kettenis@
Diffstat (limited to 'sys/netinet6/ip6_id.c')
0 files changed, 0 insertions, 0 deletions