From: Michael Chan Date: Thu, 23 Mar 2006 09:12:38 +0000 (-0800) Subject: [BNX2]: Combine small mem allocations X-Git-Tag: v2.6.17-rc1~999^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f31f99446270e66c6f18c7d87aadd7db1dad214;p=pandora-kernel.git [BNX2]: Combine small mem allocations Combine two small (56 byte and 320 byte) pci consistent memory allocations into one allocation. Jeff Garzik suggested to store the combined size in the bp structure for later use when freeing the memory. Use kzalloc() instead of kmalloc() + memset(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed