Re: crc32 cleanups

Keith Owens (kaos@ocs.com.au)
Sat, 13 Oct 2001 13:12:17 +1000


On Fri, 12 Oct 2001 21:56:42 -0500 (CDT),
Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
>The easy solution to all this is obviously to build crc32 into the
>kernel unconditionally, and live with the kernel bloat. I don't like
>kernel bloat, so I prefer the non-easy option.

Not when your non-easy option requires every driver that needs a
library routine to patch lib/Makefile. Adding a new driver should not
require a patch to an unrelated area of the kernel, it is bad design.
It also results on overlapping patches with the attendent risk of patch
rejects. Anybody remember the common Space.c and all the problems that
file caused?

Kernel bloat is bad. A kbuild design that will cause maintainence
problems in future is even worse. Setting CONFIG_CRC32 at the time the
driver is selected is the cleanest solution.

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