mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +00:00
sched: touch softlockup watchdog after idling
touch softlockup watchdog after idling. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
73c4efd2c8
commit
2bacec8c31
@ -668,6 +668,7 @@ void sched_clock_idle_wakeup_event(u64 delta_ns)
|
|||||||
struct rq *rq = cpu_rq(smp_processor_id());
|
struct rq *rq = cpu_rq(smp_processor_id());
|
||||||
u64 now = sched_clock();
|
u64 now = sched_clock();
|
||||||
|
|
||||||
|
touch_softlockup_watchdog();
|
||||||
rq->idle_clock += delta_ns;
|
rq->idle_clock += delta_ns;
|
||||||
/*
|
/*
|
||||||
* Override the previous timestamp and ignore all
|
* Override the previous timestamp and ignore all
|
||||||
|
Loading…
Reference in New Issue
Block a user