Re: [PATCH] console: Add persistent scrollback buffers for all VGA consoles

From: Geert Uytterhoeven
Date: Fri May 30 2014 - 10:29:03 EST


Hi Manuel,

On Fri, May 30, 2014 at 3:27 PM, Manuel SchÃlling
<manuel.schoelling@xxxxxx> wrote:
> Add a scrollback buffers for each VGA console. The benefit is that
> the scrollback history is not flushed when switching between consoles
> but is persistent.
> The buffers are allocated on demand when a new console is opened.

Thanks for your patch!

I see two issues with this feature:
1. Before, the single (default 64 KiB) buffer was allocated at startup.
Now you will allocate a buffer each time a new console is opened.
Depending on memory fragmentation, this may fail.
2. People with RAM-constrained systems may not like this.
Can it be a config option?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/