Skip to content
Commit 48bee8a6 authored by Cody P Schafer's avatar Cody P Schafer Committed by Michael Ellerman
Browse files

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: default avatarIan Munsie <imunsie@au1.ibm.com>
Signed-off-by: default avatarCody P Schafer <dev@codyps.com>
Signed-off-by: default avatarSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent bf7588a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment