1. An apparatus comprising: an interface to access a memory, the memory to comprise at least a calling page, a first page, and a second page; and a paging unit comprising: translation logic to receive a first address associated with the first page from the calling page having a particular page color and to translate, based on an entry in a data structure, the first address to a second address, wherein the entry is to comprise the second address and a color of the second page, wherein page colors associate memory pages with programs; inheritance logic to determine an effective current page color of the first page based on a color of the first page by setting the effective current page color of the first page equal to the particular page color of the calling page in response to receiving the first address; comparison logic to compare the effective current page color of the first page to the color of the second page; and access logic to limit access to the second page by an instruction of the first page if the effective current page color of the first page and the color of the second page are different.
1. An apparatus comprising: an interface to access a memory, the memory to comprise at least a calling page, a first page, and a second page; and a paging unit comprising: translation logic to receive a first address associated with the first page from the calling page having a particular page color and to translate, based on an entry in a data structure, the first address to a second address, wherein the entry is to comprise the second address and a color of the second page, wherein page colors associate memory pages with programs; inheritance logic to determine an effective current page color of the first page based on a color of the first page by setting the effective current page color of the first page equal to the particular page color of the calling page in response to receiving the first address; comparison logic to compare the effective current page color of the first page to the color of the second page; and access logic to limit access to the second page by an instruction of the first page if the effective current page color of the first page and the color of the second page are different. 3. The apparatus of claim 1 , wherein the access logic is to limit the instruction of the first page from accessing the second page by triggering a page fault exception.