The previous version only contain patch 1 but when at it I noticed more ways to hang it... so let's fix them all up... v2: - use safe_halt() as suggested [Sean] - added two more patches Peter Xu (3): tscdeadline_latency: Check condition first before loop tscdeadline_latency: Limit size tscdeadline_latency: Stop timer when reach max loop x86/tscdeadline_latency.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) -- 2.21.0