site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Feb 7, 2008, at 4:01 PM, Terry Lambert wrote: --Jim _______________________________________________ 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... On Feb 7, 2008, at 11:00 AM, Duane Murphy wrote: Do I have to do anything special to prevent memory allocated by an IOKit kext from getting swapped out? I have some memory that I would like to never be paged out to VM. Do I have to do anything special to make that happen? Or is that memory already prevented from swapping? Kernel memory is wired. That's why you should use as little as possible, since when you allocate kernel memory, you are eating a chunk of the kernel virtual address space, which is a scarce resource. Actually, it depends what API you used to allocate the memory. Most in-kernel allocations are wired automatically, but not all. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jim Magee