site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, Thanks, Graham. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I've been writing some code which uses host_statistics() to grab the VM usage - each of the fields in a "struct vm_statistics" is of type natural_t, which is a typedef unsigned int (eventually). So that's OK, because each of field represents a number of (usually 4kb) pages, so I've got about 16PB (2**32*4k) of RAM before I overflow that. But some other kernel fields, such as memory_size are also natural_t. How do those behave when you go past 4GB on a system? The kernel on this G5 system is single-architecture ppc, so the answer isn't that the fields are wider on ppc64 AFAICT. This email sent to site_archiver@lists.apple.com
participants (1)
-
Graham J Lee