search for: user_tick

Displaying 2 results from an estimated 2 matches for "user_tick".

2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...============ --- linux-2.6.16-rc6.orig/kernel/timer.c 2006-03-12 19:49:58.000000000 -0800 +++ linux-2.6.16-rc6/kernel/timer.c 2006-03-12 19:57:53.000000000 -0800 @@ -823,6 +823,17 @@ static void update_wall_time(unsigned lo } while (ticks); } +static inline void after_process_times_updated(int user_tick, struct task_struct *p) +{ + int cpu = smp_processor_id(); + + run_local_timers(); + if (rcu_pending(cpu)) + rcu_check_callbacks(cpu, user_tick); + scheduler_tick(); + run_posix_cpu_timers(p); +} + /* * Called from the timer interrupt handler to charge one tick to the current * process. us...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...============ --- linux-2.6.16-rc6.orig/kernel/timer.c 2006-03-12 19:49:58.000000000 -0800 +++ linux-2.6.16-rc6/kernel/timer.c 2006-03-12 19:57:53.000000000 -0800 @@ -823,6 +823,17 @@ static void update_wall_time(unsigned lo } while (ticks); } +static inline void after_process_times_updated(int user_tick, struct task_struct *p) +{ + int cpu = smp_processor_id(); + + run_local_timers(); + if (rcu_pending(cpu)) + rcu_check_callbacks(cpu, user_tick); + scheduler_tick(); + run_posix_cpu_timers(p); +} + /* * Called from the timer interrupt handler to charge one tick to the current * process. us...