- To: NeilBrown <neilb@xxxxxxx>
- Subject: Re: [PATCH] md/raid1:using else-if instead if.
- From: "H. Peter Anvin" <hpa@xxxxxxxxx>
- Date: Sun, 01 Apr 2012 19:11:47 -0700
- Cc: majianpeng <majianpeng@xxxxxxxxx>, linux-raid <linux-raid@xxxxxxxxxxxxxxx>
- In-reply-to: <20120402115836.76e98982@notabene.brown>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1
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]