aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2016-01-12 11:13:18 -0800
committerTony Luck <tony.luck@intel.com>2016-01-12 11:13:18 -0800
commit14ce72b257788f253fec6d99843c2d3cd94937aa (patch)
tree1bcbc3f6fedb0b5dbb1b3b14b9f13ff0ead52949
parenteaaee880f997485d13ff56dde995d940e713fcb0 (diff)
downloadras-tools-14ce72b257788f253fec6d99843c2d3cd94937aa.tar.gz
Increase delay before re-reading /proc/interrupts. 1ms wasn't enough
for all cpus to wake from C6. Bump to 10ms. Reported-by: Carl Sapp Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--einj_mem_uc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/einj_mem_uc.c b/einj_mem_uc.c
index f239210..b37f1a4 100644
--- a/einj_mem_uc.c
+++ b/einj_mem_uc.c
@@ -374,7 +374,7 @@ int main(int argc, char **argv)
}
/* Give system a chance to process on possibly deep C-state idle cpus */
- usleep(1000);
+ usleep(10000);
proc_interrupts(&a_mce, &a_cmci);