lkml.org 
[lkml]   [2011]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RFC] remove jump_label optimization for perf sched events
From
Date
On Thu, 2011-11-17 at 15:00 +0200, Gleb Natapov wrote:

> > That said, I'd much rather throttle this particular jump label than
> > remove it altogether, some people really don't like all this scheduler
> > hot path crap.
> What about moving perf_event_task_sched() to sched_(in|out)_preempt_notifiers?
> preempt notifiers checking is already on the scheduler hot path, so no
> additional overhead for perf case.

Same problem really, some people complain about the overhead of preempt
notifiers, also not all kernels have those in.

Futhermore I loathe notifier lists because they obscure wtf is done.


\
 
 \ /
  Last update: 2011-11-17 14:13    [W:0.090 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site