Address range returned by malloc
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thanks! - Greg _______________________________________________ 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... 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg