]>
git.proxmox.com Git - mirror_spl-debian.git/blob - include/sys/vmsystm.h
7 extern vmem_t
*zio_alloc_arena
; /* arena for zio caches */
9 #define physmem num_physpages
10 #define ptob(pages) (pages * PAGE_SIZE)
11 #define membar_producer() smp_wmb()
13 #define copyin(from, to, size) copy_from_user(to, from, size)
14 #define copyout(from, to, size) copy_to_user(to, from, size)
17 /* The approximate total number of free pages */
20 /* The average number of free pages over the last 5 seconds */
23 /* The average number of free pages over the last 30 seconds */
26 /* A guess as to how much memory has been promised to
27 * processes but not yet allocated */
30 /* A guess as to how many page are needed to satisfy
31 * stalled page creation requests */
34 /* A bootlean the controls the setting of deficit */
37 /* When free memory is above this limit, no paging or swapping is done */
40 /* When free memory is above this limit, swapping is not performed */
43 /* Threshold for many low memory tests, e.g. swapping is
44 * more active below this limit */
48 #endif /* SPL_VMSYSTM_H */