vm: update vm-page documentation
This commit is contained in:
@@ -223,9 +223,13 @@ struct vm_page {
|
|||||||
/* multi-purpose list/tree entry.
|
/* multi-purpose list/tree entry.
|
||||||
the owner of the page can decide what to do with this.
|
the owner of the page can decide what to do with this.
|
||||||
some examples:
|
some examples:
|
||||||
- the buddy allocator uses this to maintain its per-zone free-page lists.
|
- the buddy allocator uses this to maintain its per-zone free-page
|
||||||
- the block cache uses this to maintain a tree of pages keyed by block number.
|
lists.
|
||||||
*/
|
- vm_object uses it to maintain a btree of allocated pages keyed
|
||||||
|
by offset/size.
|
||||||
|
- the block cache uses this to maintain a tree of pages keyed by
|
||||||
|
block number.
|
||||||
|
*/
|
||||||
union {
|
union {
|
||||||
struct queue_entry p_list;
|
struct queue_entry p_list;
|
||||||
struct btree_node p_bnode;
|
struct btree_node p_bnode;
|
||||||
|
|||||||
Reference in New Issue
Block a user