CFR: ipfw locking

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

  • Next message: Bruce A. Mah: "Re: CFR: bridge locking"
    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-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Bruce A. Mah: "Re: CFR: bridge locking"

    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-net)
    • 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: Back end database lock-up
      ... Check the open mode and locking strategy of *each* front end. ... database into front end and back end databases and put the front end ... only lock the records that are being updated, but it locks the entire ... The locking file is not created until a user updates the data via ...
      (comp.databases.ms-access)
    • 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)