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>
This commit is contained in:
parent
e7a1c5d229
commit
dcd9c3d752
30
target-i386-Fix-the-RES-memory-inc-which-caused-by-t.patch
Normal file
30
target-i386-Fix-the-RES-memory-inc-which-caused-by-t.patch
Normal file
@ -0,0 +1,30 @@
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user