2001-03-15 03:02:30

by Jeff Garzik

[permalink] [raw]
Subject: New unaligned-accessed arch flag?

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.

--
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.