I am working in Linux (RHL, ver. 2.6) at the application layer. I have to work on large chunks of data (have to dynamically allocate about 500 MB). I want to make sure that this dynamically allocated memory is always present in the RAM, i.e. not swapped out. Does Linux provides any APIs for this purpose?
Thanks for any help.