summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2015-09-09 19:06:33 +0200
committerIngo Molnar <mingo@kernel.org>2015-09-18 09:20:25 +0200
commita723968c0ed36db676478c3d26078f13484fe01c (patch)
tree291202901e28ed77ac9226d6fb2d6b0178a8497c /init/do_mounts.c
parentperf: Restructure perf syscall point of no return (diff)
downloadlinux-a723968c0ed36db676478c3d26078f13484fe01c.tar.xz
linux-a723968c0ed36db676478c3d26078f13484fe01c.zip
perf: Fix u16 overflows
Vince reported that its possible to overflow the various size fields and get weird stuff if you stick too many events in a group. Put a lid on this by requiring the fixed record size not exceed 16k. This is still a fair amount of events (silly amount really) and leaves plenty room for callchains and stack dwarves while also avoiding overflowing the u16 variables. Reported-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions