From 3a0f83ed73df647c7c176bd10a0c9d3d556bf10f Mon Sep 17 00:00:00 2001 From: Zhipeng Gong Date: Tue, 16 Oct 2018 10:49:44 +0800 Subject: [PATCH] dm: increase interrupt storm threshold for gpu passthrough --- devicemodel/core/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicemodel/core/monitor.c b/devicemodel/core/monitor.c index f013df6e2..63bef8da3 100644 --- a/devicemodel/core/monitor.c +++ b/devicemodel/core/monitor.c @@ -26,7 +26,7 @@ #include "log.h" #define INTR_STORM_MONITOR_PERIOD 10 /* 10 seconds */ -#define INTR_STORM_THRESHOLD 100000 /* 10K times per second */ +#define INTR_STORM_THRESHOLD 1000000 /* 10K times per second */ #define DELAY_INTR_TIME 1 /* 1ms */ #define DELAY_DURATION 100000 /* 100ms of total duration for delay intr */