[PATCH] msi: Only keep one msi_desc in each slab entry.
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 12 Jul 2006 16:03:08 +0000 (09:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 12 Jul 2006 19:52:55 +0000 (12:52 -0700)
commitec572e3f87c02a6dd5be25841dc482a52356947f
tree831afef04688012c865dd1cabd21f0436f28c627
parent0635170b544b01b46a81b4ac5cff5020ab59d1fc
[PATCH] msi: Only keep one msi_desc in each slab entry.

It looks like someone confused kmem_cache_create with a different allocator
and was attempting to give it knowledge of how many cache entries there
were.

With the unfortunate result that each slab entry was big enough to hold
every irq.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/msi.c