Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2007 12:41:47 +0000 (UTC)
From:      Max Laier <mlaier@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net pfil.c pfil.h
Message-ID:  <200711251241.lAPCflNF086295@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mlaier      2007-11-25 12:41:47 UTC

  FreeBSD src repository

  Modified files:
    sys/net              pfil.c pfil.h 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711251241.lAPCflNF086295>