Changeset 252127e in mainline for generic/include/mm/as.h


Ignore:
Timestamp:
2006-04-03T22:15:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b26db0c
Parents:
b9b14a83
Message:

Deploy B+tree in address space area management.
Change as_remap() to check for conflicts with other address space areas only when the area in question grows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/as.h

    rb9b14a83 r252127e  
    3737#include <synch/spinlock.h>
    3838#include <adt/list.h>
     39#include <adt/btree.h>
    3940
    4041/** Defined to be true if user address space and kernel address space shadow each other. */
     
    6465struct as_area {
    6566        SPINLOCK_DECLARE(lock);
    66         link_t link;
    6767        int flags;
    6868        count_t pages;          /**< Size of this area in multiples of PAGE_SIZE. */
     
    8686        count_t refcount;
    8787
    88         link_t as_area_head;
     88        /** B+-tree of address space areas. */
     89        btree_t as_area_btree;
    8990
    9091        /** Page table pointer. Constant on architectures that use global page hash table. */
Note: See TracChangeset for help on using the changeset viewer.