31 lines
813 B
Diff
31 lines
813 B
Diff
From 6e070be26502e171fd5d43a128dea99f1d34429b Mon Sep 17 00:00:00 2001
|
|
From: jiangdongxu <jiangdongxu1@huawei.com>
|
|
Date: Thu, 10 Feb 2022 21:41:06 +0800
|
|
Subject: [PATCH] target-i386: Fix the RES memory inc which caused by the
|
|
coroutine created
|
|
|
|
for better performance, change the POOL_BATCH_SIZE from 64 to 128.
|
|
|
|
Signed-off-by: caojinhua <caojinhua1@huawei.com>
|
|
Signed-off-by: jiangdongxu <jiangdongxu1@huawei.com>
|
|
---
|
|
util/qemu-coroutine.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/util/qemu-coroutine.c b/util/qemu-coroutine.c
|
|
index 38fb6d3084..b9586d6929 100644
|
|
--- a/util/qemu-coroutine.c
|
|
+++ b/util/qemu-coroutine.c
|
|
@@ -21,7 +21,7 @@
|
|
#include "block/aio.h"
|
|
|
|
enum {
|
|
- POOL_BATCH_SIZE = 64,
|
|
+ POOL_BATCH_SIZE = 128,
|
|
};
|
|
|
|
/** Free list to speed up creation */
|
|
--
|
|
2.27.0
|
|
|