fork of 9front i guess
Go to file
cinap_lenrek 8309f15c36 kernel: new mount cache
this is a new more simple version of the mount cache
that does not require dynamic allocations for extends.

the Mntcache structure now contains a page bitmap
that is used for quick page invalidation. the size
of the bitmap is proportional to MAXCACHE.

instead of keeping track of cached range in the
Extend data structure, we keep all the information
in the Page itself. the offset from the page where
the cache range starts is in the low PGSHIT bits and
the end in the top bits of Page.va.

we choose Page.daddr to map 1:1 the Mountcache number
and page number (pn) in the Mountcache. to find a page,
we first check the bitmap if the page is there and then
do a pagelookup() with the daddr key.
2014-12-16 05:41:20 +01:00
386
68000
68020
acme acme/win: fix mistake 2014-12-12 21:18:31 +01:00
adm/timezone
alpha
amd64
arm
lib fortunes: UX-wise (and generally speaking, for most common uses of a computer these days), Plan9 is, sadly, almost useless. 2014-12-11 14:45:51 -05:00
mips
power
power64
rc hpost: break up tags with newlines to avoid sed line buffer limit 2014-11-16 01:59:29 +01:00
sparc
sparc64
sys kernel: new mount cache 2014-12-16 05:41:20 +01:00
.hgignore hgignore: ignore amd64 kernel and init 2014-09-27 01:35:06 -07:00