mmap bug (all archs) w/ fix
Michael Galassi
mgalassi at c-cor.com
Wed Jan 31 14:33:58 EST 2007
>MTD does this very nicely for you, and you don't have
>to write any special programs...... :-)
MTD does have the ability to do this. One might argue about the
philosophical merits of doing in kernel space (hard to debug) what can
trivially be done in user space (trivial to debug). One might also
argue that the mtd code (I've perused it in some detail) takes a rather
cavalier approach to error checking and is thus not optimal for use in
real systems where reliability, dependability, and availability matter.
While our heroic "one" is busy arguing, I'll take a moment and point out
that the Linux kernel harbors a bug, the fix is trivial. As long as the
argument still rages, I'll point out that advice from the "don't fix the
bug, work around it" crowd doesn't carry that much weight with the
paranoid amongst us.
>It's also much safer.
Under what circumstance is buggy kernel code safer than buggy user code?
-michael
More information about the Linuxppc-embedded
mailing list