DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 busdma_machdep.c

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Apr 2004 06:37:44 -0700 (PDT)

joerg       2004/04/19 06:37:44 PDT

DragonFly src repository

  Modified files:
    sys/i386/i386        busdma_machdep.c 
  In contrast to FreeBSD 4 and 5, our slab allocator does hand out cross-page
  allocations. This broke bus_dmamem_alloc, which depends on allocation of
  size < PAGE_SIZE to not cross pages.
  As a temporary workaround, bus_dmamem_alloc checks explicitly wether an
  allocation crossed page boundaries and retries the allocation with size
  rounded up to the next power-of-two.
  Revision  Changes    Path
  1.9       +13 -0     src/sys/i386/i386/busdma_machdep.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]