27172ad413
support private mapped file
2013-10-15 12:30:41 +09:00
4fb6620f3a
sys_getrlimit: modified to return mcexec's RLIMIT_STACK
2013-10-11 22:36:16 +09:00
413fe7b54a
mcexec: add a interpreter invocation
...
When start a program which have a PT_INTERP segment
(dynamic linkaged program have a PT_INTERP segment),
start the interpreter indicated by the PT_INTERP segment.
2013-10-11 22:23:22 +09:00
a171da1015
add a AT_ENTRY entry to the auxiliary vector
2013-10-11 22:23:22 +09:00
040fb64b22
add terminate thread
2013-09-02 00:39:22 +09:00
1d69225532
mcexec forward signal to MIC process.
2013-08-19 12:17:23 +09:00
591f398768
add page fault forwarding
2013-08-08 12:43:15 +09:00
480f6d4c2f
rewrite page_fault_handler()
2013-08-08 12:43:00 +09:00
78d9d3fcd2
Revert "trial implementation of private file mapping"
...
This reverts commit abe57218c4 .
2013-07-26 16:44:39 +09:00
abe57218c4
trial implementation of private file mapping
...
for review only. will soon be reverted.
2013-07-26 14:40:12 +09:00
deb9cd4e75
implement sys_munmap()
2013-07-18 09:25:58 +09:00
334662b7fe
implement sys_mprotect()
2013-07-18 09:25:58 +09:00
3749696d3e
simple signal handler and kill(2) support.
2013-07-18 08:53:28 +09:00
2aa5194958
rewrite sys_mmap() as sys_new_mmap()
2013-07-10 13:11:19 +09:00
dae884d572
add syscall number constants in syscall.h
2013-07-10 13:11:19 +09:00
4214441ac3
Make clone system-call create a new thread on the next available physical core
...
and skip the physical core with a system process so that
programs using Intel OpenMP bind threads to cores in that manner.
2013-07-05 18:55:03 +09:00
b59be07e9a
implementing demand paging to make it possible to run Intel OpenMP programs
2013-07-04 15:41:12 +09:00
cbc37b62a9
return syscall_table[] to the arch-independent part
2013-07-01 12:44:12 +09:00
4695b332e2
move syscall_table[] to the architecture-depended part
2013-06-19 16:52:46 +09:00
8436f5a5ac
add remove_process_memory_range()
2013-06-12 11:49:19 +09:00
d8034eeb13
propagate error code for prepare image
2013-06-05 17:38:23 +09:00
40ad744947
remove unused function add_process_large_range from source file
2013-06-02 19:38:29 +09:00
4a27a65cb0
resolved merge conflicts with futex code
2013-06-02 16:42:08 +09:00
54798253c5
add error handling for prepare_process
2013-06-02 13:49:10 +09:00
da3965be11
Merge branch 'master' of postpeta.pccluster.org:mckernel
...
Conflicts:
kernel/host.c
kernel/process.c
lib/include/ihk/mm.h
2013-05-28 12:49:13 +09:00
bb4caccf98
add memory allocation check
2013-05-28 12:06:41 +09:00
fa1be382c7
release the resources of the process at exit(2)/exit_group(2).
2013-05-28 11:31:23 +09:00
83db56a040
futex adaptation from Linux 2.6.34 (Intel MPSS Linux)
2013-05-10 14:23:14 +09:00
e09160cce7
add generic system call forwarding
2013-04-17 20:32:33 +09:00
b6e21f2dab
add rbtree source
2013-01-16 16:13:17 +09:00
9818e199f6
support builtin-x86 and builtin-mic
2013-01-06 15:45:17 +09:00
4693789608
change function names
2012-12-17 16:15:05 +09:00
0a808057eb
modify include lines and Makefiles
2012-12-17 16:10:56 +09:00
092069fd80
spin-wait based kernel timer (for futex() timeout) implementation
2012-11-28 15:22:53 +09:00
b79d20d7bf
modification for no_cache: extend_process_region(...,flag)
2012-11-27 16:38:05 +09:00
31098d3d75
add nocache for mmap. usage: void *va = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS | 0x40, -1, 0);
2012-11-27 14:56:40 +09:00
a21fe11b00
use large page PTEs for allocations bigger than large page size, enforce alignment (USE_LARGE_PAGES)
2012-11-26 17:00:53 +09:00
337fe4b20d
timer sleep and wakeup functions by Balazs-san
2012-11-26 16:23:01 +09:00
a1490da112
Revert "make munmap free physical pages, and one correction for aligned mmap in syscall.c (extend_process_region is called with memory-region start-address which is aligned (map_end_aligned), instead of tail-address of current-region (region->map_end)) for aligned mmap (in syscall.c)"
...
This reverts commit e7317cca98 .
2012-11-26 13:38:07 +09:00
e7317cca98
make munmap free physical pages, and one correction for aligned mmap in syscall.c (extend_process_region is called with memory-region start-address which is aligned (map_end_aligned), instead of tail-address of current-region (region->map_end)) for aligned mmap (in syscall.c)
2012-10-30 21:32:49 +09:00
dd596a2a78
lock when changing process memory region (in syscall.c) and page-table (in process.c)
2012-10-09 11:40:49 +09:00
9a8449df2b
populate ELF header information on the initial stack so that glibc can set up TLS properly
2012-10-09 00:51:50 +09:00
9394c9fa54
stat(), get_sched_affinity(), gettimeofday() and some detailed debug msgs
2012-05-19 16:54:14 +09:00
38a0bde75e
add_process_large_range and (towards) atomic context switch
2012-05-19 16:11:38 +09:00
7c85ac93e8
passing argc, argv and envp to main()
2012-05-10 22:07:23 +09:00
a7c0225423
futex and rlimit
2012-05-08 18:32:43 +09:00
c3463e7393
kitten LWK waitqueue adoptation
2012-05-06 12:39:39 +09:00
8c34463dd4
runqueues and schedule()
2012-05-03 18:38:08 +09:00
c3226018b9
first step towards clone() and futex() (shimada-san)
2012-05-03 13:07:46 +09:00
033d64a7ae
TLS and thread_child_tid (Shimada-san)
2012-05-01 16:43:51 +09:00