The present invention is directed to improving the usage of kernel mode memory
in computing environments. The invention is useful in offsetting the effects of
abandonment of kernel mode memory objects. Objects in kernel mode memory space
are identified and a determination is made whether all references to particular
kernel objects are known by examining an object container referring to each kernel
object. If all references to a kernel object are known, a determination is made
whether the kernel object should be classified as a moveable object. Kernel objects
classified as movable are retrievably moved to a new memory location and all references
to the kernel object are updated to the new memory location. Retrievably moving
kernel objects allows abandoned kernel objects to be readily detected.