repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vm, kernel, top: report memory usage of vm, kernel
[minix.git]
/
servers
/
vm
/
yielded.h
blob
565a0dc71b2147faef30261356c92696a217ad9f
1
2
#ifndef _YIELDED_H
3
#define _YIELDED_H 1
4
5
#include <minix/type.h>
6
7
typedef
struct
block_id
{
8
u64_t id
;
9
endpoint_t owner
;
10
}
block_id_t
;
11
12
typedef
struct
yielded
{
13
/* the owner-given id and owner together
14
* uniquely identify a yielded block.
15
*/
16
block_id_t id
;
17
phys_bytes physaddr
;
18
int
pages
;
19
20
/* LRU fields */
21
struct
yielded
*
younger
, *
older
;
22
23
/* AVL fields */
24
struct
yielded
*
less
, *
greater
;
25
int
factor
;
26
}
yielded_t
;
27
28
#endif