]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfil(9) locking take 3: Switch to rmlock(9)
authormlaier <mlaier@FreeBSD.org>
Sun, 25 Nov 2007 12:41:47 +0000 (12:41 +0000)
committermlaier <mlaier@FreeBSD.org>
Sun, 25 Nov 2007 12:41:47 +0000 (12:41 +0000)
commitb79ff6363a8f9013c8d2e976f34720f6ba6a7476
treeeb25112607028bcedf3a83b39b1721175f867f3a
parent9ba5385124b0c51a31a2a273e5a51fdd2a4d38d7
pfil(9) locking take 3:  Switch to rmlock(9)
This has the benefit that rmlocks have proper support for reader recursion
(in contrast to rwlock(9) which could potential lead to writer stravation).
It also means a significant performance gain, eventhough only visible in
microbenchmarks at the moment.

Discussed on: -arch, -net
sys/net/pfil.c
sys/net/pfil.h