|
MentOS
0.8.0
The Mentoring Operating System
|
Page descriptor. Use as a bitmap to understand the order of the block and if it is free or allocated. More...
Public Attributes | |
| unsigned long | flags |
| Array of flags encoding also the zone number to which the page frame belongs. | |
| atomic_t | count |
| Page frame’s reference counter. 0 free, 1 used, 2+ copy on write. | |
| bb_page_t | bbpage |
| Buddy system page definition. | |
| list_head | slabs |
| Contains pointers to the slabs doubly linked list of pages. | |
| unsigned int | slab_objcnt |
| Slab allocator variables / Contains the total number of objects in this page, 0 if not managed by the slub. | |
| unsigned int | slab_objfree |
| Tracks the number of free objects in the current page. | |
| list_head | slab_freelist |
| Holds the first free object (if slab_objfree is > 0) | |
| union { | |
| struct page_t * slab_main_page | |
| Holds the slab page used to handle this memory region (root page). | |
| kmem_cache_t * slab_cache | |
| Holds the slab cache pointer on the main page. | |
| } | container |
| This union can either contain the pointer to the slab main page that handles this page, or the cache that contains it. | |
Page descriptor. Use as a bitmap to understand the order of the block and if it is free or allocated.