Re: [PATCH 3/5] add sg segment limitation info to device structure

Greg KH
2007-10-02T16:49:30Z

On Tue, Oct 02, 2007 at 09:25:34AM -0600, Matthew Wilcox wrote:
> On Tue, Oct 02, 2007 at 05:23:39PM +0200, Kay Sievers wrote:
> > Just looking at the number of devices, it seems that allocating it
> > dynamically would be the better deal. We allocate the name of every
> > kobject dynamically today, so I guess it's fine to do that with the
> > DMA data too.
>
> But we don't need to allocate it dynamically. We can embed it in the
> pci_dev, eisa_dev, zorro_dev, mca_dev and parisc_device.

But then you run into the issue that James pointed out originally.

Anyway, I don't care which, let's see some patches :)

thanks,

greg k-h