cvs commit: src/sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h

Hartmut Brandt harti at FreeBSD.org
Thu Oct 30 02:43:53 PST 2003


harti       2003/10/30 02:43:52 PST

  FreeBSD src repository

  Modified files:
    sys/dev/hatm         if_hatm.c if_hatm_intr.c if_hatmvar.h 
  Log:
  Reinvent the used-flag for external mbufs. This and the on-card flag
  are now in the header of the external buffer itself which allows us
  to manipulate them in the free routine without having to lock the softc
  structure or the free list. To get space for these flags the chunk number
  is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated
  page. This restriction is now enforced by a CTASSERT.
  
  Revision  Changes    Path
  1.16      +16 -5     src/sys/dev/hatm/if_hatm.c
  1.13      +30 -5     src/sys/dev/hatm/if_hatm_intr.c
  1.12      +10 -9     src/sys/dev/hatm/if_hatmvar.h


More information about the cvs-src mailing list