c3c9187ed5
add test for portability (kahansei_kojo in dev_V)
2017-11-28 17:55:23 +09:00
aebacb243e
User Space:swapout (this is a rebase commit to merge into development)
2017-11-28 09:16:00 +09:00
5a8d1f09e8
add test/dump/README
2017-11-27 19:39:16 +09:00
0e10b6d1ee
test/strace: Fix permission
2017-11-22 06:31:32 +09:00
d649d6fc2d
Include mbind support (this is a rebase commit to merge into development)
2017-11-27 11:16:53 +09:00
bad487cc07
add regression test result for strace
2017-11-25 18:30:51 +09:00
3b6056fb1a
add strace test cases and test result
2017-11-25 17:37:10 +09:00
5cc738d6bd
add test programs for strace
2017-11-25 14:35:17 +09:00
c9fa445f54
Merge branch 'development' of pccluster.org:mckernel into development
2017-11-22 10:53:33 +09:00
d273a2f58b
add strace bundled test cases
2017-11-22 10:52:30 +09:00
4e7069d499
add: proc|sys fs format_checker (tool)
2017-11-22 09:39:48 +09:00
66f44e77af
mcstop+release.sh: Allow ihkmond to flush kmsg buffer
2017-11-20 18:28:48 +09:00
35f908b75c
mcexec: protect against incorrect partitioned execution argument (-n) using timeouts
2017-11-20 17:06:01 +09:00
2f0089dfb9
mcstop+release: use ihkconfig release mem all
2017-11-20 17:06:01 +09:00
2af6d5115a
fix: depending arch futex_atomic_op_inuser() (a part of ARCH_DEP_8)
2017-11-20 16:42:47 +09:00
ac25c5e1e7
fix: depending arch in Makefile (POSTK_DEBUG_ARCH_DEP_1)
2017-11-20 14:45:18 +09:00
90c0355d90
add setting process of pgshift to remap_process_memory_range
...
refs #955
2017-11-20 14:17:03 +09:00
43230eb623
fix: checking the return code of fork() in Linux.
...
refs #906
2017-11-15 15:46:47 +09:00
f18dc8428d
fix: error code of perf_event_open, when unsupported event is specified.
...
refs #1030
2017-11-15 12:49:56 +09:00
ab53c8e0a4
execve: fix memory leak
...
refs #727
2017-11-09 16:44:31 +09:00
6c33e236d7
mcreboot: Fix umask for /proc and /sys files
2017-10-27 04:57:44 +09:00
85d36f1469
mcexec: check kernel version <= 3.10 for RHEL mcoverlayfs
2017-10-31 13:39:31 +09:00
0ecf31d896
modify:User space memory access(arm64)
1.4.0
2017-10-24 10:29:11 +09:00
08a625cc0d
modify:User space memory access
...
perf_event_open,futex,process_vm_readv,process_vm_writev,move_pages
2017-10-23 20:27:56 +09:00
12840601e1
support PERF_TYPE_{HARDWARE|HW_CACHE} in perf_event_open
...
refs #829
2017-10-20 23:10:20 +09:00
2ae6883a8b
mcreboot.sh, mcstop+release.sh: Fix retry loop of shutdown
2017-10-19 01:54:46 +09:00
d5629606c5
mcexec: -m: interpret as numactl -m (i.e., MPOL_BIND)
...
Conflicts:
executer/include/uprotocol.h
executer/user/mcexec.c
kernel/include/syscall.h
2017-10-18 16:54:34 +09:00
285059e504
mcexec: use -M for --mpol-threshold
...
Conflicts:
executer/user/mcexec.c
2017-10-18 16:44:49 +09:00
5b6d0a887c
Add ARM64 arch_rusage header
2017-10-18 09:23:08 +09:00
3573b8649e
Guard call to gencore and freecore
...
The gencore() and freecore() code in gencore.c is guarded by
POSTK_DEBUG_ARCH_DEP_18, so the call to these functions should
also be guarded, otherwise linking fails.
2017-10-18 09:20:52 +09:00
d7523cdd84
Remove assignment of ns_per_tsc in struct monitor
...
struct member seems to have been removed or moved to struct
global_rusage
2017-10-18 09:20:52 +09:00
5753db5846
Add ihk_mc_syscall_number() for ARM by reading x8
2017-10-18 09:20:52 +09:00
2d7cb0af89
Add copy_fp_regs to ARM (same as for x86_64)
2017-10-18 09:20:52 +09:00
1cb9b435a9
Fix (?) build system
...
- disable -mno-red-zone for ARM
- add missing INCLUDEDIR
- make gencore.c compile
2017-10-18 09:20:52 +09:00
43ecf06e83
arch: x86 -> x86_64 and build system changes
2017-10-18 09:20:52 +09:00
51982de36b
Handle return value of mcctrl_ikc_send in mcexec_handle_prepare_image
2017-10-18 09:20:51 +09:00
0a22320a3c
Don't allocate memory for 0-page-sized requests
...
Previously the allocator would return all availble memory for a
request of 0 pages. This is rather counter-intuitive and left no
memory for subsequent allocations.
2017-10-18 09:20:51 +09:00
8813e890c5
Fix the check routine for elf sections
2017-10-18 09:20:51 +09:00
e664ffba18
Show context registers at the interrupt by SGI 6
2017-10-18 09:20:51 +09:00
3bd0137c25
Fix some race condition on arm64
...
* move barrier() to architecture depended region
* add barrier() in issue_ipi, kprintf, map_virtual
* enable the workaround for cavium thunderx
2017-10-18 09:20:51 +09:00
4f2b4aa402
Round the allocation for cpu-local variables up PAGE_SIZE
...
Previously, this resulted in 0 pages being allocated.
2017-10-18 09:20:51 +09:00
682cd34b74
Make mcstop+release architecture independent
2017-10-18 09:20:51 +09:00
2bc4d06a48
Add empty definition of visit_pte_range_safe()
...
This is for linking only. visit_pte_range_safe() is required only
for memdump, as far as i can tell. Since memdump is disabled anyway
I think it's ok to leave this function empty for now.
2017-10-18 09:20:51 +09:00
4f2c1e07c1
Add ARCH variable to Makefiles
...
In some Makefiles the ARCH variable was not set, although it was used.
In executer/user/Makefile.in it was used before it was set.
2017-10-18 09:20:50 +09:00
77bb3038d3
Add PT_ENTRIES macro
2017-10-18 09:20:50 +09:00
931448a94d
Fix typo in page_align_up
2017-10-18 09:20:50 +09:00
c51bbbabc6
Change x86 to @ARCH@ in mcreboot-smp-x86.sh.in
...
since it is used for smp-x86 and smp-arm64
2017-10-18 09:20:50 +09:00
2ddc52e1a4
setitimer(): Fix error handling of copy_from_user()
...
This fixes POSTK_TEMP_FIX_40 (POSTK_DEBUG_TEMP_FIX_40)
2017-10-13 04:59:50 +09:00
3c93958c48
extend_process_region(): fix align_shift (POSTK_DEBUG_TEMP_FIX_68)
2017-10-17 15:07:57 +09:00
9763c40f64
set_robust_list: returns 0
...
refs #977
2017-10-16 09:54:23 +09:00