]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
powerpc/perf/hv-24x7: use kmem_cache instead of aligned stack allocations
authorCody P Schafer <dev@codyps.com>
Wed, 1 Oct 2014 06:03:17 +0000 (23:03 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Oct 2014 05:52:58 +0000 (16:52 +1100)
commit48bee8a6c98e34367fa9d5e1be14109c92cbbb3b
treedcf512b9192957e5334e8c63adb51050d0042535
parentbf7588a0859580a45c63cb082825d77c13eca357
powerpc/perf/hv-24x7: use kmem_cache instead of aligned stack allocations

Ian pointed out the use of __aligned(4096) caused rather large stack
consumption in single_24x7_request(), so use the kmem_cache
hv_page_cache (which we've already got set up for other allocations)
insead of allocating locally.

CC: Haren Myneni <hbabu@us.ibm.com>
Reported-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/hv-24x7.c