lkml.org 
[lkml]   [2018]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Experiencing freezes with kernel 4.16.3 on a desktop with E5500 CPU (bisect included)
On Mon, Apr 23, 2018 at 02:38:47PM +0200, Peter Zijlstra wrote:
> @@ -834,8 +857,12 @@ static int clocksource_unbind(struct clocksource *cs)
> if (curr_clocksource == cs)
> return -EBUSY;
> }
> +
> + clocksource_watchdog_lock(&flags);
> clocksource_dequeue_watchdog(cs);
> list_del_init(&cs->list);
> + clocksource_watchdog_lock(&flags);

It works a lot better when this is _unlock();

> +
> return 0;
> }
>

With that, and intel_idle.c modified to always issue the "halts in
idle" thing, my IVB comes up in hpet mode. Let me dig up a Core2 era
machine and see if that works too.

\
 
 \ /
  Last update: 2018-04-23 16:01    [W:1.645 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site