Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ttm_pool_manager Struct Reference

Data Fields

struct kobject kobj
 
struct shrinker mm_shrink
 
struct ttm_pool_opts options
 
union {
   struct ttm_page_pool   pools [NUM_POOLS]
 
   struct {
      struct ttm_page_pool   wc_pool
 
      struct ttm_page_pool   uc_pool
 
      struct ttm_page_pool   wc_pool_dma32
 
      struct ttm_page_pool   uc_pool_dma32
 
   } 
 
}; 
 
struct mutex lock
 
struct list_head pools
 
unsigned npools
 

Detailed Description

struct ttm_pool_manager - Holds memory pools for fst allocation

Manager is read only object for pool code so it doesn't need locking.

: minimum number of jiffies between freeing pages from pool. : reference counting for pool allocation. : Work that is used to shrink the pool. Work is only run when there is some pages to free. : Limit in number of pages what is small allocation.

: All pool objects in use.

Definition at line 110 of file ttm_page_alloc.c.

Field Documentation

union { ... }

Definition at line 111 of file ttm_page_alloc.c.

struct mutex lock

Definition at line 169 of file ttm_page_alloc_dma.c.

struct shrinker mm_shrink

Definition at line 112 of file ttm_page_alloc.c.

unsigned npools

Definition at line 172 of file ttm_page_alloc_dma.c.

Definition at line 113 of file ttm_page_alloc.c.

Definition at line 116 of file ttm_page_alloc.c.

Definition at line 170 of file ttm_page_alloc_dma.c.

Definition at line 119 of file ttm_page_alloc.c.

struct ttm_page_pool uc_pool_dma32

Definition at line 121 of file ttm_page_alloc.c.

Definition at line 118 of file ttm_page_alloc.c.

struct ttm_page_pool wc_pool_dma32

Definition at line 120 of file ttm_page_alloc.c.


The documentation for this struct was generated from the following files: