Patent ID: 8769221

Claim:
A method for preemptive page eviction in a computer system, the method comprising: identifying a region in an input file for preemptive page eviction, wherein the identified region is infrequently accessed relative to other regions of the input file; generating an output file from the input file, prior to loading one of the input file and the output file into a memory hierarchy, wherein the identified region is flagged as a page for preemptive page eviction in the output file; and loading the output file to the memory hierarchy, the memory hierarchy including a faster level of memory and a slower level of memory, wherein the loading comprises writing the flagged page preemptively to the slower level of memory, wherein the identifying is performed using one or more markup constructs to delimit the identified region, and wherein the one or more markup constructs in the input file are established using a scoping rule, and wherein a compiler and a linker detect the one or more markup constructs and partition and flag the output file such that an application supports preemptive page eviction for the identified region.