]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sched: make clock sync tunable by architecture code
authorIngo Molnar <mingo@elte.hu>
Wed, 23 Apr 2008 07:31:35 +0000 (09:31 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 May 2008 21:56:18 +0000 (23:56 +0200)
make time_sync_thresh tunable to architecture code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c

index 698b5a4d25a7b0cdec488b76c28817986715c6f5..54c9ca26b7d8526be3e38ecc96b0485b7f38a775 100644 (file)
@@ -158,6 +158,8 @@ print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
 }
 #endif
 
+extern unsigned long long time_sync_thresh;
+
 /*
  * Task state bitmask. NOTE! These bits are also
  * encoded in fs/proc/array.c: get_task_state().
index 3ac3d7af04a186990bf3f849c51863e26fbb6cac..8f433fedfcb38f63a9634bf10bec8f4ce754b42b 100644 (file)
@@ -899,7 +899,7 @@ static inline u64 global_rt_runtime(void)
        return (u64)sysctl_sched_rt_runtime * NSEC_PER_USEC;
 }
 
-static const unsigned long long time_sync_thresh = 100000;
+unsigned long long time_sync_thresh = 100000;
 
 static DEFINE_PER_CPU(unsigned long long, time_offset);
 static DEFINE_PER_CPU(unsigned long long, prev_cpu_time);