1. A method, comprising: receiving a first process to be executed by a processor in a data processing system; assigning the first process to a first processor; determining a first prefetch status for the first process, wherein the first prefetch status indicates whether hardware prefetch should be enabled for the first process; setting a first hardware prefetch state on the first processor based on the first prefetch status; receiving a second process to be executed by a processor in the data processing system; assigning the second process to a second processor; determining a second prefetch status for the second process, wherein the second prefetch status indicates whether hardware prefetch should be enabled for the second process; and setting a second hardware prefetch state on the second processor based on the second prefetch status.