Skip to content

Instantly share code, notes, and snippets.

@ayltai
Created March 1, 2017 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayltai/eaef3ba7577f980beafecf827d645710 to your computer and use it in GitHub Desktop.
Save ayltai/eaef3ba7577f980beafecf827d645710 to your computer and use it in GitHub Desktop.
Extract of vm_pageout.h
#define VM_PAGER_DEFAULT 0x1 /* Use default pager. */
#define VM_PAGER_COMPRESSOR_NO_SWAP 0x2 /* In-core compressor only. */
#define VM_PAGER_COMPRESSOR_WITH_SWAP 0x4 /* In-core compressor + swap backend. */
#define VM_PAGER_FREEZER_DEFAULT 0x8 /* Freezer backed by default pager.*/
#define VM_PAGER_FREEZER_COMPRESSOR_NO_SWAP 0x10 /* Freezer backed by in-core compressor only i.e. frozen data remain in-core compressed.*/
#define VM_PAGER_FREEZER_COMPRESSOR_WITH_SWAP 0x20 /* Freezer backed by in-core compressor with swap support too.*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment