Skip to content

Commit 04f2db2

Browse files
committed
Do not wait for timer in ExDeleteTimer when closing VM.
Note: the timer should be cancelled already before reaching here. Putting TRUE is just for feeling safe, as wait=TRUE should only take effect when the timer is active. However, one of my AMD PC would hang while all the other testing PCs are fine. wait=FALSE can avoid the weird issue on that AMD PC. Change-Id: Ia5ffe658a6369e30e38584379996b31cca0673e3
1 parent eab0637 commit 04f2db2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ntkrutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void hrtimer_delete(struct hrtimer* timer)
194194
EXT_DELETE_PARAMETERS ext_delete_parameters;
195195

196196
ExInitializeDeleteTimerParameters(&ext_delete_parameters);
197-
ExDeleteTimer(timer->ex_timer, TRUE, TRUE, &ext_delete_parameters);
197+
ExDeleteTimer(timer->ex_timer, TRUE, FALSE, &ext_delete_parameters);
198198
}
199199

200200
struct list_head aehd_mmap_list;

0 commit comments

Comments
 (0)