[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] mini-os: sbrk() doesn't allocate pages?


  • To: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
  • Date: Thu, 14 Aug 2008 10:04:31 +0200
  • Delivery-date: Thu, 14 Aug 2008 01:11:47 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

  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/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.