Messages in this thread |  | | Date | Wed, 8 Oct 2014 21:04:58 +0100 | From | Matt Fleming <> | Subject | Re: [PATCH 11/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs |
| |
On Wed, 08 Oct, at 08:10:44PM, Peter Zijlstra wrote: > On Wed, Sep 24, 2014 at 03:04:15PM +0100, Matt Fleming wrote: > > + limbo_bitmap = kmalloc(sizeof(long) * BITS_TO_LONGS(nr_bits) * > > + nr_cpumask_bits, GFP_KERNEL); > > That's going to be a _huge_ amount of memory on SGI class systems. Do we > really need per-cpu storage for this?
Ah, no we don't.
Allocating it the above way just makes things easier because you can index the array directly using your cpu.
I'll shrink this down to the minimum memory needed.
-- Matt Fleming, Intel Open Source Technology Center
|  |