I am trying to pre-load a set of files (images to be displayed as a short movie) into main memory before they need to be displayed, so that once loaded disk accesses won't be necessary. I could simply read each file, but it seems like I should just be able to request one byte from each page the file covers in order to have the whole file paged in. Does this make sense?
I'm not sure of the best method of going about this (or if there is already a good implementation of this?), so comments or suggestions are welcome.