search for: mach_schedclock

Displaying 4 results from an estimated 4 matches for "mach_schedclock".

2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...==== --- linux-2.6.16-rc6.orig/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:42.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:48.000000000 -0800 @@ -22,6 +22,7 @@ #include "io_ports.h" #include "mach_timer.h" +#include "mach_schedclock.h" #include <asm/hpet.h> #include <asm/i8253.h> @@ -36,6 +37,7 @@ static inline void cpufreq_delayed_get(v int tsc_disable __devinitdata = 0; +int use_sched_clock_cycles; static int use_tsc; /* Number of usecs that the last interrupt was delayed */ static int delay_at_l...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...==== --- linux-2.6.16-rc6.orig/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:42.000000000 -0800 +++ linux-2.6.16-rc6/arch/i386/kernel/timers/timer_tsc.c 2006-03-12 19:57:48.000000000 -0800 @@ -22,6 +22,7 @@ #include "io_ports.h" #include "mach_timer.h" +#include "mach_schedclock.h" #include <asm/hpet.h> #include <asm/i8253.h> @@ -36,6 +37,7 @@ static inline void cpufreq_delayed_get(v int tsc_disable __devinitdata = 0; +int use_sched_clock_cycles; static int use_tsc; /* Number of usecs that the last interrupt was delayed */ static int delay_at_l...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...7 @@ /* * Portions of this code from arch/i386/kernel/timers/timer_tsc.c. + * Portions of the CONFIG_NO_IDLE_HZ code from arch/s390/kernel/time.c. * See comments there for proper credits. */ @@ -46,6 +47,7 @@ #include <mach_timer.h> #include <mach_apictimer.h> #include <mach_schedclock.h> +#include <mach_idletimer.h> #include <io_ports.h> #ifdef CONFIG_X86_LOCAL_APIC @@ -54,6 +56,18 @@ #define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 #endif +#ifdef CONFIG_NO_IDLE_HZ + +#define VMI_MIN_NO_IDLE_HZ_SKIPPED_TICKS 1 + +/* /proc/sys/kernel/hz_timer state. */ +int s...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...7 @@ /* * Portions of this code from arch/i386/kernel/timers/timer_tsc.c. + * Portions of the CONFIG_NO_IDLE_HZ code from arch/s390/kernel/time.c. * See comments there for proper credits. */ @@ -46,6 +47,7 @@ #include <mach_timer.h> #include <mach_apictimer.h> #include <mach_schedclock.h> +#include <mach_idletimer.h> #include <io_ports.h> #ifdef CONFIG_X86_LOCAL_APIC @@ -54,6 +56,18 @@ #define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0 #endif +#ifdef CONFIG_NO_IDLE_HZ + +#define VMI_MIN_NO_IDLE_HZ_SKIPPED_TICKS 1 + +/* /proc/sys/kernel/hz_timer state. */ +int s...