Re: [PATCH 6/6] optimize account_system_vtime

2007-12-14 Thread Michael Neuling
In message <[EMAIL PROTECTED]> you wrote: > We have multiple calls to has_feature being inlined, but gcc can't > be sure that the store via get_paca() doesn't alias the path to > cur_cpu_spec->feature. > > Reorder to put the calls to read_purr and read_spurr adjacent to each > other. To add a sen

[PATCH 6/6] optimize account_system_vtime

2007-12-13 Thread Milton Miller
We have multiple calls to has_feature being inlined, but gcc can't be sure that the store via get_paca() doesn't alias the path to cur_cpu_spec->feature. Reorder to put the calls to read_purr and read_spurr adjacent to each other. To add a sense of consistency, reorder the remaining lines to perf