Re: [PATCH] convert the remaining mid-layer pieces to scsi_execute_req

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-06-11 at 19:54 +0100, Jeff Garzik wrote:
> On Sat, Jun 11, 2005 at 10:02:02AM -0500, James Bottomley wrote:
> > After this, we just have some drivers, all the ULDs and the SPI
> > transport class using scsi_wait_req().
> > 
> > James
> > 
> > --- a/drivers/scsi/scsi_ioctl.c
> > +++ b/drivers/scsi/scsi_ioctl.c
> > @@ -88,25 +88,21 @@ static int ioctl_probe(struct Scsi_Host 
> >  static int ioctl_internal_command(struct scsi_device *sdev, char *cmd,
> >  				  int timeout, int retries)
> >  {
> > -	struct scsi_request *sreq;
> >  	int result;
> >  	struct scsi_sense_hdr sshdr;
> > +	char sense[SCSI_SENSE_BUFFERSIZE];
> 
> What is the average stack size at this call depth?

Erm, well that's architecture dependent, as I'm sure you know.

On parisc64, none of the prior callers really goes over a stack frame,
so it's 128*depth.

James


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux