Address range returned by malloc
Address range returned by malloc
- Subject: Address range returned by malloc
- From: Greg <email@hidden>
- Date: Sat, 4 Oct 2008 15:10:33 -0400
When you call OSMalloc, IOMalloc, kern_os_malloc, or any of the other
mallocs in the kernel, I'm fairly sure I've read that they all
eventually call the same low-level malloc function in the kernel
(vm_page_alloc() I believe).
My question is what range is this address usually in? Is it
reasonable to assume, given the amount of memory used by the kernel in
RAM, that it will be less than the maximum value of a signed 32-bit
integer, even on 64-bit systems? Or is this not a safe assumption at
all?
Thanks!
- Greg
_______________________________________________
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