Commit 77b2f24b authored by Joseph Salisbury's avatar Joseph Salisbury Committed by Marcelo Henrique Cerri

UBUNTU: SAUCE: kaiser: fix perf crashes - fix to original commit

BugLink: http://bugs.launchpad.net/bugs/1741934

There was a back port of upstream 4.4 stable commit 20cbe9a3
to Xenial which failed remove a kfree() from release_ds_buffer().

This commit does only that.  It removes this extra kfree().  This left over
kfree was causing a kernel trace on many systems as reported in the bug.

This commit removes the kfree() like it should have been in the original commit.
Signed-off-by: default avatarJoseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Brad Figg brad.figg@canonical.com
Acked-by: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Signed-off-by: default avatarMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
parent 0746bbd0
......@@ -415,7 +415,6 @@ static void release_ds_buffer(int cpu)
return;
per_cpu(cpu_hw_events, cpu).ds = NULL;
kfree(ds);
}
void release_ds_buffers(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment