 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Maintain
a separate cache for each major data type
|
|
|
• |
PCB,
file descriptor, semaphore, etc.
|
|
|
| • |
Slab:
fixed number of contiguous physical pages
|
|
|
|
assigned
to a cache
|
|
|
| • |
Upon
kernel memory allocation request
|
|
|
|
• |
Allocate
within a slab if possible
|
|
|
|
• |
Else,
create a new slab for that cache
|
|
|
| • |
Benefits
|
|
|
|
• |
Minimize
fragmentation of kernel memory
|
|
|
|
• |
Most
kernel memory requests can be satisfied quickly
|
|