A method for identifying relocatable kernel memory allocations in kernel
non-relocatable memory is described. In this method, a physical address
hardware mapping entry (PA HME) for each process accessing a physical
page of memory by physical addresses. For each of the PA HMEs
corresponding a process that does not permit page relocation, the
pre-relocation handler and post-relocation handler references of each PA
HME is set to null. Each PA HMEs is associated with a pmapping list for
the physical page. Thus, A physical page is identified as non-relocatable
when one of the PA HMEs referenced by the pmapping list has null
pre-relocation and post-relocation handler references.