site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I have to store sensitive data inside my KEXT, so i don't want this memory to be swapped out on the disk page file. Currently i use zone allocator and OSMalloc to allocate different parts of structures that contain this data. I am relatively new to darwin so can you please advise if there is anything i need to worry about when using these methods? S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ 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... At 18:05 +0600 17/3/10, Inso Reiges wrote: Inside the kernel non-pageable (wired) memory is the default. For example, to get pageable memory from OSMalloc, you have to create a special tag (with the OSMT_PAGEABLE flag) and use that for your allocations. This email sent to site_archiver@lists.apple.com