摘要 |
A method for managing memory usage in a computer system having a kernel and a kernel memory class. The method includes ascertaining a size of a base memory of the computer system, the base memory representing memory designated to be non-evacuable. The method also includes setting a size of the kernel memory class to be no larger than the size of the base memory. Requests for additional memory by a kernel process is evaluated at the evaluation stage and granted only if the additional memory, if granted, would not cause an amount of memory used by the kernel to exceed the size of the kernel memory class.
|