Re: [RFC PATCH 5/6 v4] perf: Fix race in callchains

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frederic Weisbecker
Date: Tuesday, August 17, 2010 - 8:49 pm

On Tue, Aug 17, 2010 at 02:53:31PM +1000, Paul Mackerras wrote:


You're right, I'll use kmalloc_node then.

 


Yeah, we are allocating a similar per-context bunch of buffers for trace
events and also for software events.

If we had a way to know if an arch has nmis, we could manage that.
Whenever this is about simulated or really unmaskable, we don't care,
we just need to know if events can nest on traditional irq disabled
sections.

How do you deal with that in PPC? Is the event delayed to when irqs are
restored?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/0 v3] callchain fixes and cleanups , Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 1/6] perf: Drop unappropriate tests on arch cal ..., Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 2/6] perf: Generalize callchain_store(), Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 3/6] perf: Generalize some arch callchain code, Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 4/6] perf: Factorize callchain context handling, Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 5/6] perf: Fix race in callchains, Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 6/6] perf: Humanize the number of contexts, Frederic Weisbecker, (Mon Aug 16, 1:48 pm)
[RFC PATCH 5/6 v4] perf: Fix race in callchains, Frederic Weisbecker, (Mon Aug 16, 6:34 pm)
Re: [RFC PATCH 2/6] perf: Generalize callchain_store(), Paul Mackerras, (Mon Aug 16, 9:37 pm)
Re: [RFC PATCH 5/6 v4] perf: Fix race in callchains, Paul Mackerras, (Mon Aug 16, 9:53 pm)
Re: [RFC PATCH 0/0 v3] callchain fixes and cleanups, Borislav Petkov, (Mon Aug 16, 9:58 pm)
Re: [RFC PATCH 0/0 v3] callchain fixes and cleanups, Will Deacon, (Tue Aug 17, 3:32 am)
Re: [RFC PATCH 5/6 v4] perf: Fix race in callchains, Frederic Weisbecker, (Tue Aug 17, 8:49 pm)
Re: [RFC PATCH 3/6] perf: Generalize some arch callchain code, Frederic Weisbecker, (Tue Aug 17, 8:51 pm)
Re: [RFC PATCH 0/0 v3] callchain fixes and cleanups, Frederic Weisbecker, (Tue Aug 17, 8:53 pm)
Re: [RFC PATCH 0/0 v3] callchain fixes and cleanups, Frederic Weisbecker, (Tue Aug 17, 8:55 pm)
Re: [RFC PATCH 0/0 v3] callchain fixes and cleanups, Will Deacon, (Wed Aug 18, 2:08 am)
Re: [RFC PATCH 0/0 v3] callchain fixes and cleanups, Ingo Molnar, (Wed Aug 18, 9:15 am)