Skip to contentSkip to conversation

New unaligned-accessed arch flag?

DISCUSSION Jeff Garzik 1 participant 1 message Mar 15, 2001

lore
Share & tools
lore
#0 lore raw

Instead of putting arch-specific ifdefs in drivers, would it be reasonable to add a per-arch flag UNALIGNED_PROFITABLE? Arch-specific ifdefs all over the default rx_copybreak values in net drivers are the example I have in mind, but it seems like it would be good knowledge that can be easily exposed to the rest of the kernel.

Signature · 3 lines
Jeff Garzik       | May you have warm words on a cold evening,
Building 1024     | a full mooon on a dark night,
MandrakeSoft      | and a smooth road all the way to your door.