Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

non blocking memory allocation api



Hi,
I am seaching for API in IOKit which provides non
blocking memory allocation functionallity.
But I think IOkit has only IOMalloc one, 

is there any non blocking api available through i can
allocate memory, when i held the spin lock?
I searched the xnu code and there was one called
zalloc_noblock()
header : /osfmk/kern/zalloc.h

but it uses some zone ...
is it the one which i should use?
if yes any idea how to use this zone in the code?
Can i use it at IOkit driver level?
any sample availble or this is for xnu kernel only?

Regards,
Parav Pandit


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.