From: Cong Wang <amwang@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org,
"David S. Miller" <davem@davemloft.net>,
BuraphaLinux Server <buraphalinuxserver@gmail.com>,
"Justin P. Mattock" <justinmattock@gmail.com>,
Randy Dunlap <rdunlap@xenotime.net>
Subject: Re: [Patch] console: limit the range of VGACON_SOFT_SCROLLBACK_SIZE
Date: Fri, 25 Dec 2009 10:46:00 +0800 [thread overview]
Message-ID: <4B342768.8080603@redhat.com> (raw)
In-Reply-To: <20091225024340.4431.59297.sendpatchset@localhost.localdomain>
Adding some Cc's in the original thread. :)
Amerigo Wang wrote:
> BuraphaLinux reported that we will trigger a mm warning when
> we CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=65536, this is because
> mm cann't allocate so many pages. We should limit the range
> of CONFIG_VGACON_SOFT_SCROLLBACK_SIZE, don't give a user
> any chance to trigger that.
>
> Reported-by: BuraphaLinux Server <buraphalinuxserver@gmail.com>
> Signed-off-by: WANG Cong <amwang@redhat.com>
> Cc: David S. Miller <davem@davemloft.net>
>
> ---
> diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig
> index fc7d9bb..8e8f18d 100644
> --- a/drivers/video/console/Kconfig
> +++ b/drivers/video/console/Kconfig
> @@ -37,6 +37,7 @@ config VGACON_SOFT_SCROLLBACK
> config VGACON_SOFT_SCROLLBACK_SIZE
> int "Scrollback Buffer Size (in KB)"
> depends on VGACON_SOFT_SCROLLBACK
> + range 1 1024
> default "64"
> help
> Enter the amount of System RAM to allocate for the scrollback
next prev parent reply other threads:[~2009-12-25 2:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-25 2:40 Amerigo Wang
2009-12-25 2:46 ` Cong Wang [this message]
2009-12-25 13:59 ` BuraphaLinux Server
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B342768.8080603@redhat.com \
--to=amwang@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=buraphalinuxserver@gmail.com \
--cc=davem@davemloft.net \
--cc=justinmattock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®