lkml.org 
[lkml]   [2015]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] Fix tracing with non-continuous cpu ids
Date
Currently exception occures due to access beyond buffer_iter
range while using index of cpu bigger than num_possible_cpus().

In order to fix buffer allocation size for non-continuous cpu ids
we allocate according to the max cpu id and not according to the
amount of possible cpus.

This series also includes a checkpatch warning fix for using
kzalloc with multiply instead of kcalloc.

Happy tracing,
Gil

v2:
Update commit description for patch 1/2.

Gil Fruchter (2):
tracing: Prefer kcalloc over kzalloc with multiply
tracing: Fix for non-continuous cpu ids

kernel/trace/trace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)



\
 
 \ /
  Last update: 2015-06-09 09:41    [W:0.112 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site