minix/servers/vm
Ben Gras 040362e379 exec() cleanup, generalization, improvement
. make exec() callers (i.e. vfs and rs) determine the
	  memory layout by explicitly reserving regions using
	  mmap() calls on behalf of the exec()ing process,
	  i.e. handling all of the exec logic, thereby eliminating
	  all special exec() knowledge from VM.
	. the new procedure is: clear the exec()ing process
	  first, then call third-party mmap()s to reserve memory, then
	  copy the executable file section contents in, all using callbacks
	  tailored to the caller's way of starting an executable
	. i.e. no more explicit EXEC_NEWMEM-style calls in PM or VM
	  as with rigid 2-section arguments
	. this naturally allows generalizing exec() by simply loading
	  all ELF sections
	. drop/merge of lots of duplicate exec() code into libexec
	. not copying the code sections to vfs and into the executable
	  again is a measurable performance improvement (about 3.3% faster
	  for 'make' in src/servers/)
2012-06-07 15:15:01 +02:00
..
arch/i386 exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
addravl_defs.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
addravl.c secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
addravl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
alloc.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
break.c vm: break: allow brk() on any region 2012-04-12 02:57:59 +02: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
exec.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
exit.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
fork.c vm: full memory view 2012-04-12 02:58:39 +02:00
glo.h VM: Remove legacy non-paging code paths 2010-06-05 14:39:40 +00:00
main.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
Makefile Remove obsolete INSTALLFLAGS from makefiles 2012-02-16 23:26:38 +01:00
memlist.h let vm use physically fragmented memory for allocations. 2010-04-12 11:25:24 +00:00
mmap.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
pagefaults.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pagerange.h - pages that points to page directory values of all processes, 2009-09-21 14:49:49 +00:00
phys_region.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
physravl_defs.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
physravl.c secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
physravl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
proto.h exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
queryexit.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
region.c vm: break: allow brk() on any region 2012-04-12 02:57:59 +02:00
region.h vm: optimisation: avl tree for virtual regions 2010-10-04 11:41:10 +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 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
sanitycheck.h vm: better fix for clang 'unused expression' warning 2010-07-05 17:34:26 +00:00
signal.c exec() cleanup, generalization, improvement 2012-06-07 15:15:01 +02:00
slaballoc.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02: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 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm.h vm: undo accidental JUNKFREE on 2011-09-19 15:36:46 +00:00
vmproc.h vm/ipc: only report signals when it matters to ipc 2011-08-05 20:52:32 +00:00
yielded.h vm - hash table for block cache 2010-10-15 09:10:14 +00:00
yieldedavl_defs.h vm - hash table for block cache 2010-10-15 09:10:14 +00:00
yieldedavl.c secondary cache feature in vm. 2010-05-05 11:35:04 +00:00
yieldedavl.h secondary cache feature in vm. 2010-05-05 11:35:04 +00:00