Re: [patch 1/2] x2apic: fix reserved APIC register accesses inprint_local_APIC()

From: Maciej W. Rozycki
Date: Fri Sep 05 2008 - 17:04:03 EST


On Fri, 5 Sep 2008, Ingo Molnar wrote:

> hm, is the remote read debug output, now that it's not present in CPUs
> made in the past 5 years or so, really that important?

Maybe, maybe not, but if included it should be done correctly or
otherwise anotated why done differently. Otherwise people may get
confused and propagate incorrect information as not everybody is inclined
to chase and cross-refer the relevant piece of documentation for each and
every bit of code fiddling with hardware. In fact the requirement to do
so reduces trust in code it applies to and makes long-term maintenance a
nightmare.

This observation applies universally of course. I tend to look at code
without referring to documentation too as most often than not this is much
more effective time-wise.

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