aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2016-10-14 15:18:28 +0200
committerGreg Kroah-Hartman <[email protected]>2016-10-27 16:41:56 +0200
commit32b2921e6a7461fe63b71217067a6cf4bddb132f (patch)
treef5407accc9e39ef82d4abe0b459ef666f8b30e18 /tools/perf/util/scripting-engines/trace-event-python.c
parentd704b2d32c39c256dea659e142a31b875a13c63b (diff)
tty: limit terminal size to 4M chars
Size of kmalloc() in vc_do_resize() is controlled by user. Too large kmalloc() size triggers WARNING message on console. Put a reasonable upper bound on terminal size to prevent WARNINGs. Signed-off-by: Dmitry Vyukov <[email protected]> CC: David Rientjes <[email protected]> Cc: One Thousand Gnomes <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Peter Hurley <[email protected]> Cc: [email protected] Cc: [email protected] Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions