For the CONFIG_<<cputype>> options, is it only gcc compiler-type settings that
are affected? I thought the assembly parts of the kernel were also switched on
occasion.
I was wondering whether anyone has checked that these assembly snippets were
decently optimal for the cpu type selected...
>> Another interesting recently-added option which may be worth
>> benchmarking on modern CPUs is the prefetch-loops option.
>> In a lot of cases, the kernel 'knows better' and is adding the
Be careful about 'knowing better' than compilers. I really don't want to start
a flamefest, but modern compilers are very good at doing all sorts of
optimisations, and hand-coded 'optimisations' can _sometimes_ actually hurt
performance over the unadorned version of the code. It is sensible to prove
that the source-level optimisation helps, and then to mark it as such, so as
compilers change it can be reviewed.
Regards,
Ruth
-- Ruth Ivimey-Cook Software engineer and technical writer.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/