vm, kernel, top: report memory usage of vm, kernel
[minix.git] / servers / vm / yielded.h
blob565a0dc71b2147faef30261356c92696a217ad9f
2 #ifndef _YIELDED_H
3 #define _YIELDED_H 1
5 #include <minix/type.h>
7 typedef struct block_id {
8 u64_t id;
9 endpoint_t owner;
10 } block_id_t;
12 typedef struct yielded {
13 /* the owner-given id and owner together
14 * uniquely identify a yielded block.
16 block_id_t id;
17 phys_bytes physaddr;
18 int pages;
20 /* LRU fields */
21 struct yielded *younger, *older;
23 /* AVL fields */
24 struct yielded *less, *greater;
25 int factor;
26 } yielded_t;
28 #endif