Re: [PATCH 1/4 tip/sched/core] sched: rename preempt_notifier tosched_notifier and always enable it

From: Ingo Molnar
Date: Fri Nov 27 2009 - 00:46:58 EST



* Tejun Heo <tj@xxxxxxxxxx> wrote:

> Hello,
>
> 11/27/2009 01:52 PM, Ingo Molnar wrote:
> > Btw., longer term it will be faster than a mask check and a
> > default-untaken conditional: there's ongoign work to offer runtime
> > instruction patching features for tracing callbacks. There's the
> > jump patching optimization and also the immediate values patching
> > optimization.
>
> Scheduler callbacks won't benefit much from it. There will always be
> workqueues and thus conditional branch will always be necessary.

Other code will benefit from it though, such as the page fault callbacks
i already mentioned.

My position on this is rather clear: i want no new callbacks and no
changes to callbacks in the scheduler until this situation is cleaned
up. Five callback sites are _way_ too much - so if you want to add
callbacks or change them, please clean it up and improve it first.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/