Re: [PATCH] storvsc: use small sg_tablesize on x86

From: James Bottomley
Date: Thu Jan 28 2016 - 01:01:09 EST


On Wed, 2016-01-27 at 23:09 +0000, KY Srinivasan wrote:
>
> > -----Original Message-----
> > From: Olaf Hering [mailto:olaf@xxxxxxxxx]
> > Sent: Monday, January 25, 2016 12:35 AM
> > To: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
> > Cc: KY Srinivasan <kys@xxxxxxxxxxxxx>; Haiyang Zhang
> > <haiyangz@xxxxxxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; linux-
> > scsi@xxxxxxxxxxxxxxx
> > Subject: Re: [PATCH] storvsc: use small sg_tablesize on x86
> >
> > On Fri, Oct 02, Olaf Hering wrote:
> >
> > > On Thu, Oct 01, James Bottomley wrote:
> > >
> > > > On Thu, 2015-10-01 at 20:30 +0000, KY Srinivasan wrote:
> > >
> > > > > > +#if defined(CONFIG_X86_32)
> > >
> > > > Um, this is a bit architecture specific (I know Azure is x86,
> > > > but
> > > > still). Can you make the define check CONFIG_32BIT rather than
> > > > CONFIG_X86_32?
> > >
> > > According to arch/x86/Kconfig there is no such thing.
> >
> > What is the status of this change? Looks like there is nothing more
> > to do on my side.
>
> Olaf,
>
> We do have the config option: CONFIG_X86_64. Perhaps we could use
> this. Could you resubmit the patch with this change.

It's not really architecture independent, is it? Just use the bit
width config.

James