summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-07-28 20:44:12 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:01 -0700
commit730e262d6a58608572eec74ea7eb37c0e4d8d11f (patch)
tree4484c9d79bf02f8315ca0cff146a7231a8807621 /kernel/sysctl.c
parentf41fd0eca9950970d7e16f4fdfa84aba77c77b19 (diff)
sched: window-stats: Additional error checking in sched_set_window()
Check for invalid window size passed as argument to sched_set_window() Also move up local_irq_disable() call to avoid thread from being preempted during calculation of window_start and its comparison against sched_clock(). Use right macro to evluate whether window_start argument is ahead in time or not. Change-Id: Idc0d3ab17ede08471ae63b72a2d55e7f84868fd6 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions