From: Michal Privoznik <mprivozn@redhat.com>
To: qemu-devel@nongnu.org
Cc: david@redhat.com, imammedo@redhat.com
Subject: [PATCH 0/3] backends/hostmem: Round up memory size for qemu_madvise() and mbind()
Date: Tue, 28 May 2024 18:15:06 +0200 [thread overview]
Message-ID: <cover.1716912651.git.mprivozn@redhat.com> (raw)
This is a resurrection of the following old patch of mine:
https://lists.gnu.org/archive/html/qemu-devel/2023-11/msg05536.html
You could say it's a v2 and here's what changed since v1:
- qemu_madvise() is fixed in case posix_madvise() is used
- Warnings are reported in case of qemu_madvise() failure
- Size is rounded up in case of live change of corresponding attributes
too
Michal Privoznik (3):
osdep: Make qemu_madvise() to set errno in all cases
backends/hostmem: Warn on qemu_madvise() failures
backends/hostmem: Round up memory size for qemu_madvise() and mbind()
backends/hostmem.c | 38 ++++++++++++++++++++++++++++++--------
util/osdep.c | 7 ++++++-
2 files changed, 36 insertions(+), 9 deletions(-)
--
2.44.1
next reply other threads:[~2024-05-28 16:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 16:15 Michal Privoznik [this message]
2024-05-28 16:15 ` [PATCH 1/3] osdep: Make qemu_madvise() to set errno in all cases Michal Privoznik
2024-05-28 16:51 ` David Hildenbrand
2024-05-28 16:15 ` [PATCH 2/3] backends/hostmem: Warn on qemu_madvise() failures Michal Privoznik
2024-05-28 16:15 ` [PATCH 3/3] backends/hostmem: Round up memory size for qemu_madvise() and mbind() Michal Privoznik
2024-05-28 16:47 ` David Hildenbrand
2024-05-29 6:48 ` Michal Prívozník
2024-05-29 12:30 ` David Hildenbrand
2024-05-28 17:22 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1716912651.git.mprivozn@redhat.com \
--to=mprivozn@redhat.com \
--cc=david@redhat.com \
--cc=imammedo@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.