Date: Sat, 7 Aug 2010 06:39:59 +0000 (UTC) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r210996 - projects/ofed/head/sys/ofed/include/linux Message-ID: <201008070639.o776dxGI059817@svn.freebsd.org>
index | next in thread | raw e-mail
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); }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008070639.o776dxGI059817>
