c43c1b640a
execve: call ptrace_syscall_exit if execve successed
...
refs #945
2017-09-26 14:31:07 +09:00
e294db7e53
syscall: set syscall_return before calling ptrace_syscall_exit
...
refs #944
2017-09-26 14:29:02 +09:00
df3f388e09
syscall: set -ENOSYS to syscall_return before calling ptrace_syscall_enter
...
refs #943
2017-09-26 14:25:49 +09:00
a2fbe99b60
madvise: support MADV_DONTDUMP/DODUMP
...
refs #661
2017-09-26 14:21:40 +09:00
daa7526127
rusage and ihklib: Fix out-of-memory reporting and cleanup
...
1. Fix OOM: Count memory usage only when allocation succeeded
2. Fix OOM: Make user allocation fail when memory is running out
3. Fix OOM: Move rusage_init() before numa_init()
4. Cleanup: Rename ihkconfig/ihkosctl functions
5. Cleanup: Pass event type to eventfd()
6. Cleanup: arch/.../rusage.h --> arch/.../arch_rusage.h
2017-09-20 15:11:57 +09:00
aa7cb970c4
ihk_os_getrusage(): Compile LWK-specific results in mcctrl
...
1. User asks mcctrl for the result via ihk_os_getrusage() with passing void *
2. mcctrl compiles the results and passes them to the user
3. User interprets it by using the type defined in the LWK-specific header
2017-09-20 15:03:45 +09:00
a491e49bbc
syscall.c: fix misleading indent
...
This is a non-fonctional change, brought to attention by newer gcc warnings
2017-09-12 18:27:28 +09:00
9989f41fd3
add arm64 support
...
- add arm64 dependent codes with GICv3 and SVE support
- fix bugs based on architecture separation requests
2017-09-05 15:06:27 +09:00
236a072311
Add qlmpi and swap to mckernel (This is rebase commit for merging to development)
2017-08-29 15:04:58 +09:00
74f15783d2
ihk_os_getrusage(): Add per-page-size memory usage accounting
2017-08-17 12:49:34 +09:00
6d4d6440aa
terminate(): clean-up and formatting
2017-08-08 11:12:55 +09:00
9194742de8
do_mmap(): fix calculation of search_free_space() hint
2017-08-01 16:24:07 +09:00
effde241b9
support uti_attr for utility thread offloading
2017-07-25 13:03:48 +09:00
4cd1c120fa
profile: add PROFILE_remote_page_fault
2017-07-23 19:00:00 +09:00
992a292c08
profile: better time breakdown and exclusion of idle cycles
2017-07-20 17:36:34 +09:00
64c2e437c6
open: check filename address (re-commit)
2017-07-19 11:37:55 +09:00
01f5e46865
revert 2d7890731e
2017-07-18 12:13:48 +09:00
38961fca78
Revert "do_fork(): RLIMIT_NPROC check"
...
This reverts commit 035e7913d8 .
2017-07-13 04:13:41 +09:00
7d181fccd9
open: check filename address
2017-07-18 00:09:39 +09:00
bd75e80df2
terminate: fix to reference freed pointer
2017-07-17 19:32:08 +09:00
035e7913d8
do_fork(): RLIMIT_NPROC check
...
1. mcexec sets RLIMIT_NPROC to the number of mcexec threads.
2. do_fork() gets the current number of threads by calling rusage function.
3. do_fork() returns -EAGAIN when the limit is exceeded.
2017-07-12 20:42:38 +09:00
7d38c7c147
delete debug print
2017-07-14 10:13:22 +09:00
d7b8e7f4f4
fix to count user pages
...
refs #864
2017-07-14 09:51:39 +09:00
35b36c2d33
move_pages_smp_handler(): more parallelization
2017-07-08 18:36:13 +09:00
632611d78c
mbind(): debug msg
2017-07-08 18:36:13 +09:00
d48d44d365
move_pages(): fix barrier in parallel implementation
2017-07-08 18:36:13 +09:00
4c0f401424
move_pages(): parallel implementation v1
2017-07-08 18:36:05 +09:00
7a606baad4
move_pages(): sequential implementation
2017-07-08 18:36:05 +09:00
0061adadfb
temporary fix for bug #889
2017-07-04 12:04:37 +09:00
67843151d3
fix how to count rss and num of threads
...
refs #864
refs #865
2017-07-03 16:27:46 +09:00
5a9bee55c9
kill system call offloading from interrupt_syscall (tid == -1) change to one sided communication
...
refs #889
2017-07-03 14:48:42 +09:00
6e23b07b20
disable switch until to complete thread termination
...
refs #888
2017-07-03 14:47:48 +09:00
07efb3ab9a
support to utility thread offloading
2017-06-27 13:27:09 +09:00
4d0e0728f4
destroy_thread(): disable IRQ while holding update lock
2017-06-08 17:40:35 +09:00
66fad4c7a4
terminate(): do not iterate process hash if no children processes exist
2017-06-08 14:53:57 +09:00
200fe9aec4
mcctrl/mcexec: fix per-process data reference counting
2017-06-07 17:21:55 +09:00
edf059888d
support rusage parameter of wait4
...
refs #857
2017-05-28 07:52:47 +09:00
c0cabc2d83
brk(): return old address if memory allocation fails
2017-05-26 15:41:38 +09:00
74c5f61fd5
mmap(): fix populate_len warning
2017-05-24 01:41:54 +09:00
9b5ccb5a33
Pre-map file mappings from /dev/shm (--mpol-shm-premap mcexec argument)
2017-05-23 20:00:06 +09:00
e901d42fb6
mcexec: --extend-heap-by: argument to specify heap extension size
2017-05-23 19:58:49 +09:00
29ab087fa2
execve(): larger allocation for program descriptor
2017-05-23 19:57:08 +09:00
0dd2fad33b
brk(): more forceful heap extension
2017-05-23 19:57:08 +09:00
a256280118
PROFILE_mmap_XXX: more detailed mmap profiling
2017-05-23 19:57:08 +09:00
d75be7228b
PROFILE_mmap_anon_no_contig_phys: profile ANON mmap()s that couldn't be backed by contiguous physical memory
2017-05-23 02:42:06 +09:00
e3e0f6a174
mcexec: introduction of --profile
2017-05-23 02:42:06 +09:00
e2f424846c
profile: rewrite syscall tracker for generic profiling code
2017-05-23 02:42:05 +09:00
610463ff39
sched_setaffinity(): respect process cpu_set
2017-05-23 02:39:42 +09:00
26b9484bae
mcexec: --mpol-threshold to control MPOL_BIND/MPOL_PREFERRED
2017-05-23 02:39:42 +09:00
182202523e
mcexec/mm: user memory policy control for heap, stack, etc.
2017-05-23 02:39:42 +09:00