Thread (1 message) 1 message, 1 author, 2014-09-29

[PATCH] sched/nohz: add debugfs control over sched_tick_max_deferment

From: khilman@kernel.org (Kevin Hilman)
Date: 2014-09-29 15:11:29
Also in: lkml

Frederic Weisbecker [off-list ref] writes:
On Fri, Sep 26, 2014 at 12:45:32PM -0700, Kevin Hilman wrote:
quoted
From: Kevin Hilman <redacted>

Allow debugfs override of sched_tick_max_deferment in order to ease
finding/fixing the remaining issues with full nohz.

The value to be written is in jiffies, and -1 means the max deferment
is disabled (scheduler_tick_max_deferment() returns KTIME_MAX.)

Cc: Frederic Weisbecker <redacted>
Signed-off-by: Kevin Hilman <redacted>
So, I'm worried that it becomes a hack that everybody uses to shutdown
the tick completely then nobody will come and fix the issue that prevents
from doing it properly.
OK.
I seriously doubt this will be used for development purpose to help
fixing the real problem. 
Well, that's what I was using it for, until I was distracted by other
tasks.
Quite the opposite. If developers want to do
testing, they can as well comment out the call to scheduler_max_tick_deferment().
OK, fair enough.

Thanks,

Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help