aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-03-05 17:52:33 +0800
committerJosh Chasky <jchasky@gmail.com>2019-03-16 10:40:49 -0400
commit4a7963b7bbfbc1267afa4648d20a01af13070575 (patch)
treee2c3e2dd02aeba2d085172ca911acc7aa47e6540 /tools/perf/scripts/python/call-graph-from-postgresql.py
parente353f72c5e0a44d58406cd63a7d5e0244ff14937 (diff)
f2fs: fix to use kvfree instead of kzfree
As Jiqun Li reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202747 System can panic due to using wrong allocate/free function pair in xattr interface: - use kvmalloc to allocate memory - use kzfree to free memory Let's fix to use kvfree instead of kzfree, BTW, we are safe to get rid of kzfree, since there is no such confidential data stored as xattr, we don't need to zero it before free memory. Fixes: 5222595d093e ("f2fs: use kvmalloc, if kmalloc is failed") Reported-by: Jiqun Li <jiqun.li@unisoc.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions