mbox series

[v1,0/2] Initialize backend memory objects in parallel

Message ID 20240108151041.529716-1-mark.kanda@oracle.com (mailing list archive)
Headers show
Series Initialize backend memory objects in parallel | expand

Message

Mark Kanda Jan. 8, 2024, 3:10 p.m. UTC
QEMU initializes preallocated backend memory when parsing the corresponding
objects from the command line. In certain scenarios, such as memory being
preallocated across multiple numa nodes, this approach is not optimal due to
the unnecessary serialization.

This series addresses this issue by initializing the backend memory objects in
parallel.

Mark Kanda (2):
  oslib-posix: refactor memory prealloc threads
  oslib-posix: initialize backend memory objects in parallel

 include/qemu/osdep.h |   6 ++
 system/vl.c          |   2 +
 util/oslib-posix.c   | 150 +++++++++++++++++++++++++++++--------------
 util/oslib-win32.c   |   5 ++
 4 files changed, 116 insertions(+), 47 deletions(-)