summaryrefslogtreecommitdiff
path: root/sys/src/9/pc64/dat.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-02 18:01:13 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-02 18:01:13 +0100
commitbfee76e5d34e893f7af047e6cd4358f5f1fbf428 (patch)
tree0ae07e2c95488ebc67bbcaf9374a09097350959c /sys/src/9/pc64/dat.h
parentb7b3406657ef87fef57c3b639296d5cd33a5c3ae (diff)
pc64: track per process kmap page tables in separate MMU list.
we have to keep kmap page tables in ther own list because user tables are subject to (virtual) tlb flushing. we never free kmap page tables except in mmurelease() where we just link the kmap mmu list in front of the user mmus and call mmufree() which will free all the mmu's of the process.
Diffstat (limited to 'sys/src/9/pc64/dat.h')
-rw-r--r--sys/src/9/pc64/dat.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/src/9/pc64/dat.h b/sys/src/9/pc64/dat.h
index 713ec590e..ca0f745c9 100644
--- a/sys/src/9/pc64/dat.h
+++ b/sys/src/9/pc64/dat.h
@@ -137,8 +137,11 @@ struct MMU
#define NCOLOR 1
struct PMMU
{
- MMU *mmuhead;
- MMU *mmutail;
+ MMU* mmuhead;
+ MMU* mmutail;
+ MMU* kmaphead;
+ MMU* kmaptail;
+ int kmapcount;
int mmucount;
};