site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Mar 7, 2007, at 2:31 PM, Bhavesh Davda wrote: Sure sounds like I can 1. IOMemoryDescriptor::initWithAddress(userAddr,..., kernel_task) to map the user address into the kernel map, and 2. prepare() to wire the address down. Whoa, hold it right there. Otherwise the deal's off. No more helping. = Mike _______________________________________________ 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... Before we help you any more, I want a promise out of you. This chunk of memory is *small*, right? A couple of pages at most, right? And you set this up once and then keep using it for a long time, right? The kernel is *not* in the business of handing out chunks of its virtual address space to arbitrary processes. As Terry suggests, you are better off allocating the space in the kernel, and then vending mappings of that space to user tasks as they come and go. I'm still curious as to why you think you want to share memory like this; there are better ways to do most of the common things that I can think of. This email sent to site_archiver@lists.apple.com