aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDave Kleikamp <[email protected]>2008-10-09 18:21:30 +0000
committerIngo Molnar <[email protected]>2008-10-10 09:17:04 +0000
commit5b7dba4ff834259a5623e03a565748704a8fe449 (patch)
tree8fa9be3a308d1b5f2eb22d0a02dbe887a479ee3e /lib/debugobjects.c
parentsched debug: add name to sched_domain sysctl entries (diff)
downloadkernel-5b7dba4ff834259a5623e03a565748704a8fe449.tar.gz
kernel-5b7dba4ff834259a5623e03a565748704a8fe449.zip
sched_clock: prevent scd->clock from moving backwards
When sched_clock_cpu() couples the clocks between two cpus, it may increment scd->clock beyond the GTOD tick window that __update_sched_clock() uses to clamp the clock. A later call to __update_sched_clock() may move the clock back to scd->tick_gtod + TICK_NSEC, violating the clock's monotonic property. This patch ensures that scd->clock will not be set backward. Signed-off-by: Dave Kleikamp <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions