Re: System call to increase the heap size
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com It's a little harder than that, since Darwin is based on Mach. You need to look in the right places: 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? This email sent to tlambert@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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 Regards, Mohan. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/tlambert% 40apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert