Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Jul 2002 15:36:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Jul 2002 15:36:09 -0400 Received: from www.transvirtual.com ([206.14.214.140]:65293 "EHLO www.transvirtual.com") by vger.kernel.org with ESMTP id ; Mon, 29 Jul 2002 15:36:08 -0400 Date: Mon, 29 Jul 2002 12:39:24 -0700 (PDT) From: James Simmons To: "Chen, Kenneth W" cc: linux-kernel Subject: Re: text screen corruption - bug in console vga code In-Reply-To: <794826DE8867D411BAB8009027AE9EB91E7056D8@fmsmsx38.fm.intel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 877 Lines: 20 > 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/