Re: [PATCH] md/raid1:using else-if instead if.

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


On 04/01/2012 06:58 PM, NeilBrown wrote:
> 
> I'm really surprised that the compiler doesn't optimise that out.
> 

It depends partly on what it can depend on ... it probably isn't
allowed to because of alias analysis, at least not without the else if.

	-hpa


-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

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


[ATA RAID]     [Linux SCSI Target Infrastructure]     [Managing RAID on Linux]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device-Mapper]     [Kernel]     [Linux Books]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Photos]     [Yosemite Photos]     [Yosemite News]     [AMD 64]     [Linux Networking]

Add to Google Powered by Linux