Re: System call to increase the heap size
Re: System call to increase the heap size
- Subject: Re: System call to increase the heap size
- From: Terry Lambert <email@hidden>
- Date: Tue, 28 Jun 2005 23:42:14 -0700
It's a little harder than that, since Darwin is based on Mach.
You need to look in the right places:
http://developer.apple.com/documentation/Performance/Conceptual/
ManagingMemory/Articles/MemoryAlloc.html
http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/
vm_allocate.html
See also the source to the standard memory manager for Darwin, which
is located in libc, e.g.:
http://darwinsource.opendarwin.org/10.3/Libc-320/gen/
scalable_malloc.c
I expect that if you are using code that's portable to GNU Herd, then
you already support it, since that's also Mach-based:
http://gd.tuwien.ac.at/gnu/gnudoc/machinfo-0.3/html_chapter/
mach_5.html
Use the web.mit.edu pages for Darwin reference, though...
-- Terry
On Jun 28, 2005, at 10:06 PM, Mohanasundaram Chandran wrote:
Hi All,
I am in the process of implementing a memory manager for
Darwin.I Linux i used the sys_brk system call (not the user lever
legacy POSIX brk function.). I would like to know what is the similar
system call in Darwin. Can anybody help please?
Regards,
Mohan.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden