1. A computer-implemented method comprising: identifying one or more candidate pages for swapping from a working set of pages for a process; reserving space in a swap file in secondary storage, the reserved space corresponding to a total size of the one or more candidate pages; and writing one or more of the candidate pages into sequentially ordered locations in the reserved space in the swap file.