cvs commit: src/sys/dev/raid/twe twe_freebsd.c twereg.h

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Sep 22 14:47:51 PDT 2003


dillon      2003/09/22 14:45:22 PDT

  Modified files:
    sys/dev/raid/twe     twe_freebsd.c twereg.h 
  Log:
  The twe driver requires all requests, including non-data requests, to be
  512-byte aligned.  The old malloc() code only did this incidentally.  We
  have to explicitly size the request to a power-of-2 to get the required
  alignment out of the slab allocator.
  
  Report-by:  David Rhodus <drhodus at xxxxxxxxx>
  
  Revision  Changes    Path
  1.6       +16 -4     src/sys/dev/raid/twe/twe_freebsd.c
  1.3       +2 -1      src/sys/dev/raid/twe/twereg.h






More information about the Commits mailing list