CFR: ipfw locking

From: Sam Leffler (sam_at_errno.com)
Date: 08/20/03

  • Next message: Donald Mohlmaster: "dhclient withmultiple ip's"
    Date: Wed, 20 Aug 2003 09:40:44 -0700
    To: freebsd-net@freebsd.org, freebsd-arch@freebsd.org
    
    

    http://www.freebsd.org/~sam/ipfw.patch

    These changes add locking. There are two locks: one for static rules and
    one for dynamic rules. The associated dummynet changes are not included as
    I haven't tested them yet. The locking scheme may need to be revised to
    use something like sx locks; this will be revisited in a later pass.

    I've been running with these changes for a week on my interior firewall,
    but they are very lightly tested and need a good review and more testing.
    I don't plan to commit them until they get more of each.

            Sam

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Donald Mohlmaster: "dhclient withmultiple ip's"

    Relevant Pages

    • CFR: ipfw locking
      ... These changes add locking. ... one for static rules and ... The associated dummynet changes are not included as ... use something like sx locks; this will be revisited in a later pass. ...
      (freebsd-arch)
    • Re: [PATCH 0/3] 64-bit futexes: Intro
      ... i suspect _any_ abstract locking functionality around a data structure ... tightly coupled to the exact details of which atomics are fast on a ... For example, some loads are almost entirely read-read locks, with only ... There we can just do a write to unlock. ...
      (Linux-Kernel)
    • Re: Transaction Isolation Level
      ... what size servers are you working ... and only have to specify locking hints when we ... need locks. ...
      (microsoft.public.sqlserver.server)
    • Re: row vs page locking...
      ... so they automatically escalate to page level locks. ... 'Lock Escalation' - see Books Online. ... SQL Server 2005 is going to have a Snapshot ... Good old fashioned locking is less sexy, but I find, more productive! ...
      (microsoft.public.sqlserver.server)
    • Re: MATREADU/MATWRITE statements timing out
      ... Locking of transaction records (as ... If I take a typical debtor master file I can be ... Pessimistic locks for transactions (required for transaction ...
      (comp.databases.pick)