All of lore.kernel.org
 help / color / mirror / Atom feed
* mini-os: sbrk() doesn't allocate pages?
@ 2008-08-14  8:04 Gerd Hoffmann
  2008-08-14  8:42 ` Gerd Hoffmann
  2008-08-14  9:43 ` Samuel Thibault
  0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2008-08-14  8:04 UTC (permalink / raw)
  To: Xen Development Mailing List

  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/

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

end of thread, other threads:[~2008-08-14  9:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14  8:04 mini-os: sbrk() doesn't allocate pages? Gerd Hoffmann
2008-08-14  8:42 ` Gerd Hoffmann
2008-08-14  9:43 ` Samuel Thibault

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.