[PATCH] powerpc: perf_counters: Reduce stack usage of power_check_constraints

2009-09-10 Thread Paul Mackerras
Michael Ellerman reported stack-frame size warnings being produced for power_check_constraints(), which uses an 8*8 array of u64 and two 8*8 arrays of unsigned long, which are currently allocated on the stack, along with some other smaller variables. These arrays come to 1.5kB on 64-bit or 1kB on

Re: [PATCH] powerpc: perf_counters: Reduce stack usage of power_check_constraints

2009-09-10 Thread Michael Ellerman
On Thu, 2009-09-10 at 16:28 +1000, Paul Mackerras wrote: Michael Ellerman reported stack-frame size warnings being produced for power_check_constraints(), which uses an 8*8 array of u64 and two 8*8 arrays of unsigned long, which are currently allocated on the stack, along with some other