Re: what's the replacement of page
struct page in linux is used very wide, most in I/O operations, such as file read/write from device, sometimes it's also used in network communicatin. At the same time, page is the basic memory unit while using virtual memory. So could you please give me some suggest about that? PS: I'm not working in the xnu, just add a kext, so what I need is the struct can be used in kext. I have another questions. Is there any facility in mach provide functions like schedule_timeout(time), which means current thread will giveup processor and not be scheduled until time out? I think thread_switch(...) can do this, but seems the thread calling thread_switch(...) cannot be resumed before the time is exhausted. But it's very important for me to resume the thread at sometime before the time is exhausted. __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Ramble Leon