Conservative SmartOS global-zone memory pressure guard with dry-run-first policy and SMF integration.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
271 B

  1. /* TEST ONLY. */
  2. #define SC_AINFO 5
  3. #define SC_GETNSWP 1
  4. #define SC_LIST 2
  5. typedef struct swapent { char *ste_path; unsigned long ste_start, ste_pages, ste_free; int ste_flags; } swapent_t;
  6. struct swaptable { int swt_n; swapent_t swt_ent[1]; };
  7. int swapctl(int, void *);