]> err.no Git - linux-2.6/commit
MSI: Remove msi_cache
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 22 Mar 2007 10:51:36 +0000 (21:51 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:36 +0000 (19:02 -0700)
commit3e916c0503a34ba32202a69df1cfeb82f2c5749d
treefdd52252ad06c4ae036ed19920908f003edcd4a7
parent4cc086fa5b648dc3dcd56c963e42a212f2d9df29
MSI: Remove msi_cache

We don't need a special cache just for msi descriptors. They're not
particularly large, under 100 bytes for sure, and don't seem to require any
special alignment etc. On most systems there will be relatively few MSIs,
and hence we waste most of a page on the cache. Better to just kzalloc the
space for the few we do need.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c