cvs commit: src/sys/net pfil.c pfil.h

Max Laier mlaier at
Sun Nov 25 04:41:48 PST 2007

mlaier      2007-11-25 12:41:47 UTC

  FreeBSD src repository

  Modified files:
    sys/net              pfil.c pfil.h 
  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
  Revision  Changes    Path
  1.15      +6 -5      src/sys/net/pfil.c
  1.17      +9 -6      src/sys/net/pfil.h

More information about the cvs-src mailing list