Re: [PATCH] mm: fix page_mkclean_one

From: Russell King
Date: Thu Dec 28 2006 - 13:45:34 EST


On Thu, Dec 28, 2006 at 09:27:12AM -0800, Linus Torvalds wrote:
> On Thu, 28 Dec 2006, Russell King wrote:
> > and if you look at glibc's memset() function, you'll notice that's exactly
> > what you expect if you pass a non-8bit value to it. Ergo, what you're
> > seeing is utterly expected given glibc's memset() implementation on ARM.
>
> Guys, you _really_ should fix memset(). What you describe is a _bug_.

Yup, but I have nothing to do with glibc because I refuse to do that
silly copyright assignment FSF thing. Hopefully someone else can
resolve it, but...

> > Fixing Linus' test program to pass nr & 255 to memset
>
> No. I'm almost certain that that is not a "fix", it's a workaround for a
> serious bug in your glibc crap.

_is_ a fix whether _you_ like it or not to work around the issue so
people can at least run your test program. I'm not saying it's a
proper fix though.

Of course, if you prefer to be mislead by incorrect bug reports...

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/