minix/kernel
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
system retire BIOS_SEG and umap_bios 2012-05-09 19:03:59 +02:00
clock.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
clock.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
config.h Add sys_vumap() kernel call 2012-03-24 19:51:13 +01:00
const.h changes for detecting and building for clang/binutils elf 2011-06-07 16:49:52 +02:00
cpulocals.c SMP - Cpu local variables 2010-09-15 14:09:46 +00:00
cpulocals.h SMP - cpu_is_idle made volatile 2012-01-13 11:30:00 +00:00
debug.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
debug.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
extract-errno.sh Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
extract-mfield.sh Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
extract-mtype.sh Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
glo.h kernel: mon_return cleanup 2012-04-25 17:59:43 +02:00
interrupt.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
interrupt.h SMP - trully idle APs 2010-09-15 14:10:57 +00:00
ipc.h Set IPC status code only for RECEIVE 2010-04-26 14:43:59 +00:00
kernel.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
main.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
Makefile kernel: make sure mpx.S is linked early 2012-06-01 16:58:00 +02:00
perf.h SMP - all process have pagetables 2010-09-15 14:11:30 +00:00
priv.h Remote unused segctl kernel call 2011-04-26 23:28:23 +02:00
proc.c use linker to align fpu state save area 2012-04-19 15:06:47 +02:00
proc.h use linker to align fpu state save area 2012-04-19 15:06:47 +02:00
profile.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
profile.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
proto.h retire BIOS_SEG and umap_bios 2012-05-09 19:03:59 +02:00
smp.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
smp.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
spinlock.h SMP - fixed compilation and removed warnings 2011-12-20 12:58:20 +00:00
start.c no USE_BOOTPARAM 2012-05-31 01:13:27 +02:00
system.c kernel: mon_return cleanup 2012-04-25 17:59:43 +02:00
system.h kernel: mon_return cleanup 2012-04-25 17:59:43 +02:00
table.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
type.h ELF multiboot support 2011-05-04 18:51:43 +02:00
utility.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
vm.h No linear addresses in message delivery 2010-06-11 08:16:10 +00:00
watchdog.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
watchdog.h Watchdog and kernel profiling for AMD 2010-09-23 14:42:30 +00:00