b79d20d7bf
modification for no_cache: extend_process_region(...,flag)
simin
2012-11-26 15:34:11 +09:00
b902a245e4
add lock and error check in sys_brk
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-27 16:12:39 +09:00
d4b186f1d8
align 1MB when performing mmap with MAP_FIXED == 0 and MAP_ANONYMOUS == 0 and MAP_PRIVATE == 1 to make it easy to match assembly code in memory and one in file
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-27 15:37:57 +09:00
eaae0b4740
make aal dir in mcctrl could be user-defined
Min Si msi@il.is.s.u-tokyo.ac.jp
2012-11-22 16:32:56 +09:00
06003ec2e2
set up IB connection in MCOS at start up (mc_cmd_client_init() in init.c)
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-27 14:09:29 +09:00
7027845a4e
add mcos/kernel/{Makefile.mpiu,Makefile.build.mpiu}, which are used from dcfampi_u_make.sh. The difference from {Makefile,Makefile.build} is that it links DCFAMPI kernel functions in mccmd/client to mcos kernel
Masamichi Takagi
2012-10-29 10:26:59 +09:00
e76bf73403
make mcos/linux/executor/Makefile do not cause error when performing make clean
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-29 19:27:20 +09:00
8979ccf5b8
allocate a large page in front of a FIXED mapping if start addr is not large page aligned so that the mapping remains physically contiguous
Balazs Gerofi bgerofi@riken.jp
2012-11-03 16:58:52 +09:00
a21fe11b00
use large page PTEs for allocations bigger than large page size, enforce alignment (USE_LARGE_PAGES)
Balazs Gerofi bgerofi@riken.jp
2012-11-03 15:43:07 +09:00
337fe4b20d
timer sleep and wakeup functions by Balazs-san
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-26 15:14:41 +09:00
22bd5d8247
Revert "make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses"
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-26 14:32:25 +09:00
cf975e1926
Revert "make mmap try to reserve memory areas with (size/2)-aligned virtual addresses"
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-26 13:46:06 +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)"
Masamichi Takagi m-takagi@ab.jp.nec.com
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)
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-30 21:32:49 +09:00
50431b7584
make mmap try to reserve memory areas with (size/2)-aligned virtual addresses
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-30 21:03:47 +09:00
d4770bc9af
make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-30 20:53:14 +09:00
3ff50170b6
make allocate_pages in kernel/mem.c propagate error from aal_pagealloc_alloc (physical address of zero) to callee
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-30 14:12:35 +09:00
9fe8d548fb
increase PIN_SHIFT to 28 for reading large .so-file (temporary, we should use pread instead), and added system-call time
Masamichi Takagi
2012-10-28 00:40:12 +09:00
3142b4d4d6
made getcwd in mcexec.c send proper length of result back to mcos
Masamichi Takagi
2012-10-26 19:52:39 +09:00
57c48dea90
__host_update_process_range in add_process_memory_range is disabled (in process.c), futex with FUTEX_WAIT_BITSET and time-out is implemented by using pause() (in syscall.c).
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-16 20:17:57 +09:00
10d6400d80
enable syscall channels for all MIC cores
Balazs Gerofi
2012-10-10 19:16:44 +09:00
d9c908a062
multithreaded mcexec (pthread) for handling syscall delegation from multiple MIC cores
Balazs Gerofi bgerofi@riken.jp
2012-10-10 01:06:18 +09:00
dd596a2a78
lock when changing process memory region (in syscall.c) and page-table (in process.c)
Masamichi Takagi m-takagi@ab.jp.nec.com
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
Balazs Gerofi bgerofi@riken.jp
2012-10-09 00:51:50 +09:00
f1da972bb7
modified (a<<b-1) to ((a<<b)-1) in micpa()
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-10-06 03:11:15 +09:00