xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* maximum memory size allocated by _xmalloc
@ 2012-07-11  9:13 Chulmin Kim
  2012-07-11  9:48 ` Andrew Cooper
  2012-08-13  8:08 ` Chulmin Kim
  0 siblings, 2 replies; 6+ messages in thread
From: Chulmin Kim @ 2012-07-11  9:13 UTC (permalink / raw)
  To: xen-devel

Hi all, 

I'm currently inserting my own code to adjust the several existing memory
ballooning works. 

To accomplish it, I manage some kind of statistics in Xen memory area. 

Using _xmalloc, I've allocated certain size of memory chunk for the data
structure. ( I varied it from 10kb to 24 MB.)

When the size is equal to 24 MB, xen won't boot anymore.  (stuck during the
xmalloc, according to my debugging. _xmalloc returns NULL.)
There was no problem when the size is below 12MB.

Is there any limitation such as max memory size for _xmalloc? 

I suspected xen heap size, but, it is no longer adjustable. Right? 

I hope somebody can give me a clue.  Thanks.

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

end of thread, other threads:[~2012-08-13  8:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11  9:13 maximum memory size allocated by _xmalloc Chulmin Kim
2012-07-11  9:48 ` Andrew Cooper
2012-07-12  0:01   ` Chulmin Kim
2012-07-12  9:07     ` Andrew Cooper
2012-07-12  9:24       ` FW: " Chulmin Kim
2012-08-13  8:08 ` Chulmin Kim

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