1. A method for allocating memory in a computer system, comprising: creating a kernel memory class, said kernel memory class acting as a logical container for at least a first kernel memory resource group; processing a kernel client's request for additional memory by ascertaining whether there is sufficient free memory in said first kernel memory resource group to accommodate said kernel client's request; and denying said kernel client's request if there is insufficient free memory in said first kernel memory resource group to accommodate said kernel client's request.