Subject: Re: wscons scroll support
To: Paolo Losi <p.losi@lombardiacom.it>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 01/05/2001 10:19:50
Paolo Losi wrote:
> approximately 160 KB of KVM (20,000 * 2 (byte per char) * 4). Isn't that too
> much?
> It would not be a problem anyway to implemet that solution... 
> if I could count an you, David and Matthew, for a vote pro code merge I'll do it
> right now :)

You could make the default much smaller (like 512 characters or even less)
and only allocate bigger buffer as needed (with some limit, for example those
20KB, preferably sysctlable).
And once the scrolling is unlocked, release the buffer memory as soon
as possible.

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@