From: Gerd Hoffmann <kraxel@redhat.com>
To: Xen Development Mailing List <xen-devel@lists.xensource.com>
Subject: mini-os: sbrk() doesn't allocate pages?
Date: Thu, 14 Aug 2008 10:04:31 +0200 [thread overview]
Message-ID: <48A3E70F.90100@redhat.com> (raw)
Hi,
I'm wondering how the mini-os heap allocater work. The sbrk() function
in mm.c seems to *not* allocate pages for the heap. Instead it uses the
zero page and maps it into the heap space when a new page is needed ...
I can't believe is is supposed to work that way. Is that a bug? Did I
miss some logic somewhere in the code?
wondering,
Gerd
--
http://kraxel.fedorapeople.org/xenner/
next reply other threads:[~2008-08-14 8:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 8:04 Gerd Hoffmann [this message]
2008-08-14 8:42 ` mini-os: sbrk() doesn't allocate pages? Gerd Hoffmann
2008-08-14 9:43 ` Samuel Thibault
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=48A3E70F.90100@redhat.com \
--to=kraxel@redhat.com \
--cc=xen-devel@lists.xensource.com \
/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.