Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible procedures from preemption

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cyrill Gorcunov
Date: Thursday, May 6, 2010 - 12:39 am

On Thursday, May 6, 2010, Ingo Molnar <mingo@elte.hu> wrote:

the thing are that p4 is only snippet here which is sensible to
preemtion, and hw_perf_event_init is executing with preemtion off (but
i could miss the details here, dont have code under my hands at
moment, so PeterZ help is needed ;) but more important reason why i've
saved get/put here is that otherwise i would not have rights to put
tested-by tag, since it would not be the patch Steven has tested. We
could make a patch on top of this one, or we could drop this one, make
new with explicit preemt off in caller and use smp_processor_id in p4
schedule routine. What is preferred?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible proc ..., Frederic Weisbecker, (Wed May 5, 9:57 am)
Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible proc ..., Frederic Weisbecker, (Wed May 5, 10:58 am)
Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible proc ..., Cyrill Gorcunov, (Thu May 6, 12:39 am)