Subject: Re: port-hpcmips/36666: [dM] hpcfb space optimization code clears incorrectly
To: None <port-hpcmips-maintainer@NetBSD.org, gnats-admin@NetBSD.org,>
From: None <mouse@NetBSD.org>
List: netbsd-bugs
Date: 07/23/2007 10:55:46
> I blindly ran off and assumed that this was patched against current,
> but it looks like it's for 3.1... A current kernel didn't build :)

Yes, it is for 3.1.  There is a line in the PR saying this, but in
somewhat unobvious ways; in the Environment section, there's both uname
output showing 3.1 and a line saying "hpcfb.c,v 1.31.2.1".

Admittedly, neither is particularly obvious to someone looking for the
meat of the PR; I should have called this out more clearly elsewhere.
Mea culpa.

> I built a 3.1 kernel with this patch and it seems to work pretty
> good.  I did ls on a big directory and it seems to scroll quite a bit
> faster.

ls -1 and ls -l will probably be even better.  The more adjacent lines
resemble one another, the faster it'll scroll, since the way it works
is by not redrawing character cells for which the old and new
character-and-attributes are identical.

> Thanks!

You're welcome.  Next use of round tuits on this code: bring back jump
scroll (which, as you may have noticed if you read it over, was a
casualty of my work).

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B