Commit Graph

216 Commits

Author SHA1 Message Date
4695b332e2 move syscall_table[] to the architecture-depended part 2013-06-19 16:52:46 +09:00
5369864551 fix warnings 2013-06-19 16:47:02 +09:00
96f02a1d08 delete the access restrictions of whole page table.
access restrictions will be set on individual pages.
2013-06-19 12:07:40 +09:00
ff5ee67d06 remove PTATTR_USER from the decision of ihk_mc_ap_flag in __set_pt_page 2013-06-19 12:07:40 +09:00
32b8cc4651 delete unused codes 2013-06-17 18:07:26 +09:00
8a7429d872 delete SYSCALL_DECLARE(gettimeofday) 2013-06-17 18:07:26 +09:00
329dd42c32 add gettimeofday by physical buffer. used by futex() 2013-06-17 18:07:26 +09:00
3d11115491 delete SYSCALL_DECLARE(readlink) 2013-06-17 18:07:26 +09:00
1167ea7fb6 delete SYSCALL_DECLARE(getdents64) 2013-06-17 18:07:26 +09:00
b463f39344 delete SYSCALL_DECLARE(access) 2013-06-17 18:07:26 +09:00
628793225f delete SYSCALL_DECLARE(getcwd) 2013-06-17 18:07:26 +09:00
d6f6e4d6d7 delete SYSCALL_DECLARE(uname) 2013-06-17 18:07:26 +09:00
4494e54d38 delete SYSCALL_DECLARE(lseek) 2013-06-17 18:07:26 +09:00
58c5a45aad delete SYSCALL_DECLARE(close) 2013-06-17 18:07:26 +09:00
43792fbce9 delete SYSCALL_DECLARE(pwrite) 2013-06-17 18:07:25 +09:00
f7d9ad966c delete SYSCALL_DECLARE(write) 2013-06-17 18:07:25 +09:00
887295a189 delete SYSCALL_DECLARE(pread) 2013-06-17 18:07:25 +09:00
2ba7170ce1 delete SYSCALL_DECLARE(read) 2013-06-17 18:07:25 +09:00
ecc9b2eeb2 delete SYSCALL_DECLARE(writev) 2013-06-17 18:07:25 +09:00
5d0062c204 delete SYSCALL_DECLARE(time) 2013-06-17 18:07:25 +09:00
e6bea799aa delete SYSCALL_DECLARE(stat) 2013-06-17 18:07:25 +09:00
9810c9c0de delete SYSCALL_DECLARE(fstat) 2013-06-17 18:07:25 +09:00
1fe6b5fb7b delete sys_getxid() 2013-06-17 18:07:25 +09:00
3ffe835243 change the indentation of sys_brk() 2013-06-17 18:07:25 +09:00
93f15321a5 change sys_brk to SYSCALL_DECLARE(brk) 2013-06-17 18:07:25 +09:00
5fc0d90b7d add ihk_mc_pt_clear_range() 2013-06-12 11:49:19 +09:00
8436f5a5ac add remove_process_memory_range() 2013-06-12 11:49:19 +09:00
5206ae7d57 delete old? ioctl(2) delegation codes 2013-06-07 21:21:22 +09:00
08b881b530 delete old fcntl(2) delegation codes 2013-06-07 21:21:22 +09:00
8eca1a5dd6 add DCFA configure option 2013-06-06 11:53:30 -05:00
d8034eeb13 propagate error code for prepare image 2013-06-05 17:38:23 +09:00
8b9e97ceb7 FIX Bug 25 - static linked OpenMP application fails with page fault (during OpenMP initialisation?) 2013-06-05 15:44:11 +09:00
80538d8800 fix a wrong decision in __clear_pt_page() 2013-06-03 14:39:07 +09:00
40ad744947 remove unused function add_process_large_range from source file 2013-06-02 19:38:29 +09:00
ec908bd2cb add dummy sched_yield() implementation to avoid shipping it through the generic syscall forwarding code (slowed down OpenMP) 2013-06-02 16:49:23 +09:00
4a27a65cb0 resolved merge conflicts with futex code 2013-06-02 16:42:08 +09:00
2627d4df55 add PTATTR_FOR_USER flag to enum ihk_mc_ap_flag 2013-06-02 13:57:44 +09:00
5d9efa7241 add rollback when ihk_mc_pt_set_page returns error 2013-06-02 13:54:38 +09:00
54798253c5 add error handling for prepare_process 2013-06-02 13:49:10 +09:00
c8b7a853cc changed the number of pages to allocate
struct malloc_header is necessary at both ends of the new free space.
however, only one malloc_header is included in the req_pages.
2013-05-31 19:09:02 +09:00
248ba5acb8 add missing initialization in clone_process() 2013-05-31 19:08:08 +09:00
6614bcaa68 allocate/de-allocate exact number of pages requested
derived from:
commit 3ba275833ac741db59ec9a614297aef9f01da908
Author: Masamichi Takagi m-takagi@ab.jp.nec.com <takagi@kncc12.(none)>
Date:   Thu Jan 17 17:34:12 2013 +0900

    make aal reserve exact number of physical pages even when requested >= 32 pages
2013-05-31 18:32:48 +09:00
d836b92bc2 avoid pointer check when reading a file in mmap(!MAP_FIXED)
address specified by the user is only a hint,
it should not be checked.
2013-05-31 10:59:27 +09:00
d70dd2338c Make mckernel/kernel/host.c set proc->vm->region.brk_start to
(USER_END / 4) & LARGE_PAGE_MASK
so that brk won't destroy .bss section when
using debug-mode of ld.so to link shared objects.
2013-05-29 17:08:36 +09:00
d540deab17 change 'pa_ops' to file scope variable 2013-05-28 13:40:19 +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
f8f91488b3 fix release leakage of args_envs 2013-05-28 11:52:00 +09:00
db17c4a7b0 use the PID of the mcexec as PID of the McKernel process. 2013-05-28 11:40:20 +09:00
0b97235b9f fix release leakage of extra pages 2013-05-28 11:39:42 +09:00