summaryrefslogtreecommitdiff
path: root/kernel/extable.c
diff options
context:
space:
mode:
authorAmerigo Wang <amwang@redhat.com>2010-03-06 00:44:17 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 22:26:46 +0300
commita52712af5a7473b9f85d8499153f4bbfe875f942 (patch)
treeca689c75666e488d57108da00a1d429305a5771b /kernel/extable.c
parent76595f79d76fbe6267a51b3a866a028d150f06d4 (diff)
downloadlinux-a52712af5a7473b9f85d8499153f4bbfe875f942.tar.xz
console: limit the range of VGACON_SOFT_SCROLLBACK_SIZE
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> Tested-by: BuraphaLinux Server <buraphalinuxserver@gmail.com> Signed-off-by: WANG Cong <amwang@redhat.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/extable.c')
0 files changed, 0 insertions, 0 deletions