Cache contains Slab, Slab contains Cache Object.
Caches are linked by list each other.
The slab cache consist of two components: a cache object to hold the management data and slabs to hold the managed cache objects.
Each Cache is responsible for just one object type. The number of cache in each Cache varies according to the number of pages used, the object size, and the number of objects managed. All caches are kept in a doubly linked list.
阅读(560) | 评论(0) | 转发(0) |