Use preempt_enable() instead of preempt_enable_no_resched()
Mathieu Desnoyers <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <20070112195958.GA9392@Krystal> |
Hi, LTTng 0.6.56 starts using the preemption reactivation which calls the scheduler at the end of the instrumentation site. It has no effect at sites where the preemption is already disactivated around the marker, so it should be safe in every spots in sched.c. See my email to LKML for the discussion about the other instrumentation sites. Mathieu -- OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68