26d68d391d
signal part 4 (sigsuspend etc)
2014-01-24 10:14:49 +09:00
6992b829a0
delegate the open(2) with the generic forwarding.
...
This commit solves a problem that causes getpwnam()/getpwuid() to return
NULL.
2014-01-14 18:50:20 +09:00
8411f353fe
signal part 3 (EFAULT)
2014-01-13 10:52:29 +09:00
0465cc16b9
signal (part 2) sigpending
2014-01-07 19:52:06 +09:00
a8c249ddaf
signal (part 1)
2014-01-07 11:57:57 +09:00
9e00275120
fork & execve return EOPNOTSUPP (temporary hack)
2013-12-18 16:10:13 +09:00
96576aaee7
fix general protection fault caused by SIGALARM
2013-12-16 13:45:45 +09:00
2f89e26ac0
add modification history entry to the following files,
...
mckernel/lib/include/*.h
mckernel/arch/x86/elfboot/*
mckernel/arch/x86/kboot/main.c
mckernel/arch/x86/kernel/*
mckernel/lib/page_alloc.c
mckernel/lib/string.c
mckernel/lib/include/ihk/*
except
mckernel/arch/x86/kernel/include/signal.h
mckernel/arch/x86/tools/mcreboot-attached-mic.sh.in
mckernel/arch/x86/kernel/include/syscall_list.h
mckernel/arch/x86/kernel/syscall.c
.
2013-11-14 18:30:06 +09:00
384328c6bc
add copyright notice to the following files,
...
mckernel/lib/include/*.h
mckernel/arch/x86/elfboot/*
mckernel/arch/x86/kboot/main.c
mckernel/arch/x86/kernel/*
mckernel/lib/page_alloc.c
mckernel/lib/string.c
mckernel/lib/include/ihk/*
except
mckernel/arch/x86/kernel/include/signal.h
mckernel/arch/x86/tools/mcreboot-attached-mic.sh.in
mckernel/arch/x86/kernel/include/syscall_list.h
mckernel/arch/x86/kernel/syscall.c
.
2013-11-14 17:09:58 +09:00
03521e9c2c
add copyrights
2013-11-14 16:49:40 +09:00
e5890aa949
typo fix
2013-11-14 16:27:11 +09:00
3f60324d4e
add copyright
2013-11-14 15:55:00 +09:00
98fb5bf091
check cpu_local_var initialized
2013-11-13 23:06:11 +09:00
392357e9d2
catch signal when before kernel init
2013-11-13 15:43:49 +09:00
bbbc6e1570
add shared mapped file (in progress)
...
implemented:
- Pages can be shared between maps.
- A change made to a map is written to the file, at munmap().
not yet implemented:
- VM operation during page IO execution.
Because page IO is executed with VM's lock.
- Page IO, which does not change a file size with any case.
When munmap() races with truncate(), the file size may be changed
illegally.
2013-11-11 18:18:33 +09:00
27172ad413
support private mapped file
2013-10-15 12:30:41 +09:00
1d69225532
mcexec forward signal to MIC process.
2013-08-19 12:17:23 +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
a4973307bd
deliver signum to sighandler
2013-07-26 12:50:32 +09:00
af1c0b1352
correct sighandler breaks registers
2013-07-26 12:24:00 +09:00
221f2c0517
support SIGSEGV(page fault) and SIGILL(general protection error)
2013-07-26 11:53:00 +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
630170fb6a
add ihk_mc_allocate_aligned_pages()
2013-07-10 13:11:18 +09:00
63d97642d5
add intptr_t, uintptr_t, off_t type definition
2013-07-10 13:11:18 +09:00
99a228930f
correct syscall name
2013-07-10 13:11:18 +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
75b51ec0c1
delete SYSCALL_DECLARE(process_data_section)
2013-07-01 12:44:12 +09:00
cbc37b62a9
return syscall_table[] to the arch-independent part
2013-07-01 12:44:12 +09:00
295c2ee5ca
Revert "workaround for non-DCFA make"
...
This reverts commit 15ac1e246a .
2013-07-01 12:44:12 +09:00
15ac1e246a
workaround for non-DCFA make
...
suppress the following error:
ihk/ihk.o: In function `generic_common_handlers':
(.data+0x2678): undefined reference to `sys_mod_call'
2013-06-22 15:22:38 +09:00
de5137e18b
Delete DCFA_KMOD flag in syscall_list.h.
...
Because DCFA_KMOD is undefined in this file,
even if we set -DDCFA_KMOD in Makefile
2013-06-20 11:33:14 -05:00
4695b332e2
move syscall_table[] to the architecture-depended part
2013-06-19 16:52:46 +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
5fc0d90b7d
add ihk_mc_pt_clear_range()
2013-06-12 11:49:19 +09:00
80538d8800
fix a wrong decision in __clear_pt_page()
2013-06-03 14:39:07 +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
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
fa1be382c7
release the resources of the process at exit(2)/exit_group(2).
2013-05-28 11:31:23 +09:00
50927537ac
remove setting of warm reset vector (bug#11)
...
at least, in attached-mic and builtin-mic,
should not be necessary because it uses the SIPI.
2013-05-17 17:16:18 +09:00
31b83e0b41
stop early_alloc_page correctly (bug#17)
2013-05-17 17:15:14 +09:00
0fdf3d3411
set the PFL1_PCD, if PTATTR_UNCACHABLE is specified. (bug#14)
2013-05-17 17:14:19 +09:00