Re: Patch for Retry based AIO-DIO (Was AIO and DIO testing on 2.6.0-test7-mm1)

From: Dan Kegel
Date: Thu Oct 23 2003 - 18:20:37 EST


Andrew Morton wrote:
Suparna Bhattacharya <suparna@xxxxxxxxxx> wrote:

It turns out that backing out gcc-Os.patch (on RH 9) or switching to a system with an older compiler version made those errors go away.


Ho hum, so we have our answer.

Adrian, how do you feel about slotting this under CONFIG_EMBEDDED?

I dunno about Adrian, but I'd rest easier either way
if we knew which optimization in -Os causes the problem,
and whether this is a compiler bug.

http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Optimize-Options.html#Optimize%20Options
has a nice list of the optimizations performed by -O2, but
the list for -Os is a bit fuzzy, darn it.
- Dan

p.s. For the curious, the url of that patch seems to be
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2.6.0-test8-mm1/broken-out/gcc-Os.patch

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045

-
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/