RE: [PATCH] Ensure PSR.ac is cleared for early userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Ignorance being bliss?

If the module is only hitting unaligned addresses that the processor
can handle ... then ignorance might well be bliss.  The cost of
an un-reported misaligned access is anly a few cycles.  The cost
of the trap and trip to arch/ia64/kernel/unaligned.c is IIRC
somewhere in the 800-900 cycle range ... more for the printk.

If we had less of a sledgehammer to report the problem, then I'd
find it a lot easier to say that this should be enabled in
production systems.

> If this module was developed in an environment where the unaligned
> accesses could not be easily seen how does hiding the messages in
> production get them addressed?  Modules being developed in such
> environments would seem to suggest that the messages _should_ be seen in
> production?

Definitely a downside to my approach ... if the end users
don't see that they have been sold a crummy driver they
won't know that they should complain.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux