]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf/x86/intel: Make cpuc allocations consistent
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Tue, 5 Mar 2019 21:23:15 +0000 (22:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:03:23 +0000 (14:03 -0700)
commit3abe75e37347254f6d5401b4da267c20e220b8f5
tree1717b8487977364c5cfc7f78243a4117f133e36b
parent6f166975a72c85094ca5364f85efd46b36f0f86a
perf/x86/intel: Make cpuc allocations consistent

commit d01b1f96a82e5dd7841a1d39db3abfdaf95f70ab upstream

The cpuc data structure allocation is different between fake and real
cpuc's; use the same code to init/free both.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/events/core.c
arch/x86/events/intel/core.c
arch/x86/events/perf_event.h