From: Peter Zijlstra <peterz@infradead.org>
To: eranian@gmail.com
Cc: eranian@google.com, linux-kernel@vger.kernel.org, mingo@elte.hu,
paulus@samba.org, davem@davemloft.net, fweisbec@gmail.com,
perfmon2-devel@lists.sf.net, robert.richter@amd.com,
acme@redhat.com
Subject: Re: [RFC PATCH 1/2] perf_events: add support for per-cpu per-cgroup monitoring (v2)
Date: Wed, 08 Sep 2010 15:57:01 +0200 [thread overview]
Message-ID: <1283954221.23762.25.camel@laptop> (raw)
In-Reply-To: <AANLkTikcJ3X0q8SXb55NbrFRd5GUVEXGzbePGUtxF+Wf@mail.gmail.com>
On Wed, 2010-09-08 at 15:56 +0200, stephane eranian wrote:
> On Wed, Sep 8, 2010 at 3:52 PM, Peter Zijlstra <peterz@infradead.org> wrote:
> > On Wed, 2010-09-08 at 15:30 +0200, Stephane Eranian wrote:
> >> + } times[NR_CPUS] ____cacheline_aligned_in_smp;
> >
> > That's fail! NR_CPUS can be like 4k for distro configs.
> >
> How do you do this on struct that are dynamically allocated?
> The number of css is dynamic.
alloc_percpu()?
next prev parent reply other threads:[~2010-09-08 13:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-08 13:30 [RFC PATCH 1/2] perf_events: add support for per-cpu per-cgroup monitoring (v2) Stephane Eranian
2010-09-08 13:52 ` Peter Zijlstra
2010-09-08 13:56 ` stephane eranian
2010-09-08 13:57 ` Peter Zijlstra [this message]
2010-09-08 13:59 ` Stephane Eranian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283954221.23762.25.camel@laptop \
--to=peterz@infradead.org \
--cc=acme@redhat.com \
--cc=davem@davemloft.net \
--cc=eranian@gmail.com \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=perfmon2-devel@lists.sf.net \
--cc=robert.richter@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox