minix/servers/vm
Ben Gras 9cb6f376ed vm: new secondary cache code
Primary purpose of change: to support the mmap implementation, VM must
know both (a) about some block metadata for FS cache blocks, i.e. inode
numbers and inode offsets where applicable; and (b) know about *all*
cache blocks, i.e.  also of the FS primary caches and not just the
blocks that spill into the secondary one. This changes the interface and
VM data structures.

This change is only for the interface (libminixfs) and VM data
structures; the filesystem code is unmodified, so although the secondary
cache will be used as normal, blocks will not be annotated with inode
information until the FS is modified to provide this information. Until
it is modified, mmap of files will fail gracefully on such filesystems.

This is indicated to VFS/VM by returning ENOSYS for REQ_PEEK.

Change-Id: I1d2df6c485e6c5e89eb28d9055076cc02629594e
2013-03-21 23:07:08 +00:00
..
arch VM: ARM/I386 PDE/PTE macro unification 2013-03-14 13:55:04 +00:00
alloc.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
break.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
cache.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
cache.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
cavl_if.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
cavl_impl.h Fix VM -Wall warnings and enable -Werror 2011-06-01 11:30:58 +02:00
exit.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
fork.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
glo.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
main.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
Makefile vm: new secondary cache code 2013-03-21 23:07:08 +00:00
mem_anon_contig.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
mem_anon.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
mem_cache.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
mem_directphys.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
mem_shared.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
memlist.h VM: only single page chunks 2012-09-18 13:17:49 +02:00
memtype.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
mmap.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
pagefaults.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
pb.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
phys_region.h VM: memtype fix 2013-03-21 23:07:07 +00:00
proto.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
pt.h vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
queryexit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
region.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
region.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
regionavl_defs.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl.c vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
regionavl.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +00:00
rs.c vm: merge i386 and arm pagetable code 2012-11-09 18:46:03 +01:00
sanitycheck.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
slaballoc.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
unavl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
util.h vm: use assert() instead of vm_assert(); remove vm_assert(). 2010-04-12 12:37:28 +00:00
utility.c vm: new secondary cache code 2013-03-21 23:07:08 +00:00
vm.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00
vmproc.h vm: new secondary cache code 2013-03-21 23:07:08 +00:00