Re: [ANNOUNCE][RELEASE]: megaraid unified driver version 2.20.0.B1

From: Jeff Garzik
Date: Fri Apr 16 2004 - 14:37:06 EST


Jeff Garzik wrote:
If there is a static maximum of scbs for megaraid hardware, dynamically allocating scbs in ->queuecommand is a waste of time.

In my drivers, I pre-allocate driver-specific per-request structures -- just like the SCSI layer does ;-)

Slight correction... it looks like SCSI dynamically allocates requests these days.

That doesn't change my core argument, however.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/