Re: [PATCH RESEND] vgacon: remember scrollback buffer on console switch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Saturday, October 25, 2008 - 1:46 pm

On Sat, 25 Oct 2008 21:58:19 +0200 Marcin Slusarz <marcin.slusarz@gmail.com> wrote:


I'd question the value in adding the config option.  Why not make the
feature unconditionally present?


Perhaps you were concerned about memory consumption?

If so, it would be much much better to make this feature switchable at
runtime (module parameter/boot option or a /proc or /sys knob).


We have lots of global state here with no apparent locking protecting
it.  Possibly there's some higher-level lock which provides
seralisation?  If so, the addition of a comment explaining all
this would be good.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH RESEND] vgacon: remember scrollback buffer on c ..., Andrew Morton, (Sat Oct 25, 1:46 pm)