qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ed Maste <emaste@freebsd.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] osdep.c patch (FreeBSD hosts)
Date: Fri, 6 Jun 2008 15:39:56 -0400	[thread overview]
Message-ID: <20080606193956.GA25591@sandvine.com> (raw)
In-Reply-To: <20080601131507.GA73766@saturn.kn-bremen.de>

On Sun, Jun 01, 2008 at 03:15:07PM +0200, Juergen Lock wrote:

> > ..and I just checked the manpage, our malloc page-aligns too (for sizes >=
> > pagesize), so at least that shouldn't be an issue.

We also have posix_memalign available on FreeBSD for guaranteed
alignment.

I think this file should be able to be simplified greatly -- perhaps
all of the current kqemu_vmalloc should be moved into an #ifdef LINUX
(or whatever the #define is) and other systems can use plain
old posix_memalign/memalign/etc.

- Ed

      reply	other threads:[~2008-06-06 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 21:40 [Qemu-devel] osdep.c patch (FreeBSD hosts) Juergen Lock
2008-05-29 21:54 ` Fabrice Bellard
2008-05-29 22:57   ` Juergen Lock
2008-05-29 23:03     ` Juergen Lock
2008-06-01 13:15       ` Juergen Lock
2008-06-06 19:39         ` Ed Maste [this message]

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=20080606193956.GA25591@sandvine.com \
    --to=emaste@freebsd.org \
    --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 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).