A computer program product for paging control using a reference structure, said computer program product including a plurality of computer executable instructions stored on a computer readable medium, wherein said instructions, when executed by said computer, cause the computer to perform the steps of:
- scanning the reference structure to identify a next selected entry for an IO range building routine;
- comparing the next selected entry with a set hardlimit value;
- responsive to the next selected entry being greater than the hardlimit value, exiting the IO range building routine;
- identifying a shortlimit value;
- comparing the next selected entry with the identified shortlimit value;
- responsive to the next selected entry being greater than the identified shortlimit value, exiting the IO range building routine;
- and
- using a first array for storing entry IDs for selected entries found from scanning the reference structure including the step of storing a last probed index addressing an array slot containing an entry ID for a most recently retrieved selected entry from the reference structure.