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)
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>

No differences found