Re: text screen corruption - bug in console vga code

James Simmons (jsimmons@transvirtual.com)
Mon, 29 Jul 2002 12:39:24 -0700 (PDT)


> We have observed text mode console screen corruption on some architecture.
> The symptom was on a text console, when edit a large file with vi, pressing
> "down" arrow key to scroll would cause the corruption.
>
> It turns out that the culprit was the kernel console vga code where scrup()
> is illegally using mempcy() function when src/dest memory areas overlaps.
> This bug showed up when we optimized memcpy to use advanced optimization
> technique.
>
> This patch make use of memmove() which handles overlapping areas gracefully.
> Would the maintainer please push this into the base?

Done :-) Will be in th enext sync up.

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