qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] backends/hostmem: Round up memory size for qemu_madvise() and mbind()
@ 2024-05-28 16:15 Michal Privoznik
  2024-05-28 16:15 ` [PATCH 1/3] osdep: Make qemu_madvise() to set errno in all cases Michal Privoznik
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Michal Privoznik @ 2024-05-28 16:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: david, imammedo

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



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

end of thread, other threads:[~2024-05-29 12:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 16:15 [PATCH 0/3] backends/hostmem: Round up memory size for qemu_madvise() and mbind() Michal Privoznik
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

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).