svn commit: r210996 - projects/ofed/head/sys/ofed/include/linux
Jeff Roberson
jeff at FreeBSD.org
Sat Aug 7 06:39:59 UTC 2010
Author: jeff
Date: Sat Aug 7 06:39:58 2010
New Revision: 210996
URL: http://svn.freebsd.org/changeset/base/210996
Log:
- Specify the HASH lookup method for the OFFPAGE uma zones used for
pci dma allocations. For large allocations this was done
automatically but for small ones we need to tell UMA what to do. This
may be considered a UMA bug.
Sponsored by: Isilon Systems, iX Systems, and Panasas.
Modified:
projects/ofed/head/sys/ofed/include/linux/dmapool.h
Modified: projects/ofed/head/sys/ofed/include/linux/dmapool.h
==============================================================================
--- projects/ofed/head/sys/ofed/include/linux/dmapool.h Sat Aug 7 06:39:04 2010 (r210995)
+++ projects/ofed/head/sys/ofed/include/linux/dmapool.h Sat Aug 7 06:39:58 2010 (r210996)
@@ -52,7 +52,7 @@ dma_pool_create(char *name, struct devic
* and physical address requirements of the device.
*/
pool->pool_zone = uma_zcreate(name, size, NULL, NULL, NULL, NULL,
- align, UMA_ZONE_OFFPAGE);
+ align, UMA_ZONE_OFFPAGE|UMA_ZONE_HASH);
return (pool);
}
More information about the svn-src-projects
mailing list