qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] qapi/qom: Memory backend property prealloc-threads doc fix
@ 2022-11-11  3:05 Zhenyu Zhang
  2022-11-11  4:58 ` Gavin Shan
  0 siblings, 1 reply; 8+ messages in thread
From: Zhenyu Zhang @ 2022-11-11  3:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: armbru, philmd, shan.gavin, eric.auger, imammedo, zhenyzha, lijin

Commit ffac16fab3 "hostmem: introduce "prealloc-threads" property"
(v5.0.0) changed the default number of threads from number of CPUs
to 1.  This was deemed a regression, and fixed in commit f8d426a685
"hostmem: default the amount of prealloc-threads to smp-cpus".
Except the documentation remained unchanged.  Update it now.

Signed-off-by: Zhenyu Zhang <zhenyzha@redhat.com>
---

v3: Covers historical descriptions                  (Markus) 
v2: The property is changed to smp-cpus since 5.0   (Phild)

---
 qapi/qom.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qapi/qom.json b/qapi/qom.json
index 30e76653ad..dfd89bc6d4 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -576,7 +576,7 @@
 #
 # @prealloc: if true, preallocate memory (default: false)
 #
-# @prealloc-threads: number of CPU threads to use for prealloc (default: 1)
+# @prealloc-threads: number of CPU threads to use for prealloc (default: number of CPUs) (since 5.0)
 #
 # @prealloc-context: thread context to use for creation of preallocation threads
 #                    (default: none) (since 7.2)
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-14 23:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11  3:05 [PATCH v3] qapi/qom: Memory backend property prealloc-threads doc fix Zhenyu Zhang
2022-11-11  4:58 ` Gavin Shan
2022-11-11  6:47   ` Markus Armbruster
2022-11-11  9:13     ` Igor Mammedov
2022-11-11  9:34       ` Gavin Shan
2022-11-11 10:54         ` Igor Mammedov
2022-11-11 22:05           ` Gavin Shan
2022-11-14  1:27             ` Zhenyu Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).