Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
- index eccb443..ad37eba 100644
- --- a/kernel/hrtimer.c
- +++ b/kernel/hrtimer.c
- @@ -1281,7 +1281,8 @@ void hrtimer_interrupt(struct clock_event_device *dev)
- struct hrtimer_clock_base *base;
- ktime_t expires_next, now, entry_time, delta;
- unsigned int active_bases;
- - int i, retries = 0;
- + int i, retries = 0, count = 0;
- + static int total_fake;
- BUG_ON(!cpu_base->hres_active);
- cpu_base->nr_events++;
- @@ -1335,10 +1336,14 @@ retry:
- break;
- }
- + count++;
- __run_hrtimer(timer, &basenow);
- }
- }
- + if (!count)
- + pr_err("____%s: TotalFake: %d\n", __func__, ++total_fake);
- +
- /*
- * Store the new expiry value so the migration code can verify
- * against it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement