Re: [PATCH 0/3] tracepoints: delay argument evaluation

From: Roland McGrath
Date: Wed May 20 2009 - 05:19:22 EST


> But I think we should be asking GCC to get fixed. Since inline functions
> don't act like a compiler barrier anyway, they might as well not force
> argument evaluation either.

I quite agree. I'm all for better compilation. However, usual practice
in the kernel has been to complain about introducing C code sequences
that add a few instructions when compiled by compilers over 5 years old,
let alone the very latest one. I think it was the expectation of that
sort of sensitive reaction to the hot-path impact of unused tracepoints
that motivated Jason's attempt at microoptimization.


Thanks,
Roland
--
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/