Re: [NOHZ] Remove scheduler_tick_max_deferment

From: Frederic Weisbecker
Date: Tue Nov 11 2014 - 10:37:05 EST


On Tue, Nov 11, 2014 at 08:58:35AM -0600, Christoph Lameter wrote:
> On Mon, 10 Nov 2014, Frederic Weisbecker wrote:
>
> > Ok, I confess we moved part of that housekeeping to the syscall/exception/interrupt
> > entry path. We did that for cputime accounting and RCU. And it's possible to
> > even do that for timekeeping. But then the kernel entrypoint is going to be extremely
> > costly. It's worth CPU 0 as a sacrificial lamb.
>
> Well we can redirect to the scheduler setting the task flag and handle
> costly stuff there if necessary?

"there" here is the syscall/exception/interrupt entry path. And like I said, updating
timekeeping from these places is overkill (although we do it in interrupt entry on
dynticks-idle, but we don't have timekeeping when all system is idle).
--
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/