Masamichi Takagi
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
Dominique Martinet
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
Takayuki Okamoto
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
Yutaka Ishikawa
236a072311
Add qlmpi and swap to mckernel (This is rebase commit for merging to development)
2017-08-29 15:04:58 +09:00
Masamichi Takagi
74f15783d2
ihk_os_getrusage(): Add per-page-size memory usage accounting
2017-08-17 12:49:34 +09:00
Balazs Gerofi
6d4d6440aa
terminate(): clean-up and formatting
2017-08-08 11:12:55 +09:00
Balazs Gerofi
9194742de8
do_mmap(): fix calculation of search_free_space() hint
2017-08-01 16:24:07 +09:00
Tomoki Shirasawa
effde241b9
support uti_attr for utility thread offloading
2017-07-25 13:03:48 +09:00
Balazs Gerofi
4cd1c120fa
profile: add PROFILE_remote_page_fault
2017-07-23 19:00:00 +09:00
Balazs Gerofi
992a292c08
profile: better time breakdown and exclusion of idle cycles
2017-07-20 17:36:34 +09:00
Tomoki Shirasawa
64c2e437c6
open: check filename address (re-commit)
2017-07-19 11:37:55 +09:00
Tomoki Shirasawa
01f5e46865
revert 2d7890731e
2017-07-18 12:13:48 +09:00
Masamichi Takagi
38961fca78
Revert "do_fork(): RLIMIT_NPROC check"
...
This reverts commit 035e7913d8 .
2017-07-13 04:13:41 +09:00
Tomoki Shirasawa
7d181fccd9
open: check filename address
2017-07-18 00:09:39 +09:00
Tomoki Shirasawa
bd75e80df2
terminate: fix to reference freed pointer
2017-07-17 19:32:08 +09:00
Masamichi Takagi
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
Tomoki Shirasawa
7d38c7c147
delete debug print
2017-07-14 10:13:22 +09:00
Tomoki Shirasawa
d7b8e7f4f4
fix to count user pages
...
refs #864
2017-07-14 09:51:39 +09:00
Balazs Gerofi
35b36c2d33
move_pages_smp_handler(): more parallelization
2017-07-08 18:36:13 +09:00
Balazs Gerofi
632611d78c
mbind(): debug msg
2017-07-08 18:36:13 +09:00
Balazs Gerofi
d48d44d365
move_pages(): fix barrier in parallel implementation
2017-07-08 18:36:13 +09:00
Balazs Gerofi
4c0f401424
move_pages(): parallel implementation v1
2017-07-08 18:36:05 +09:00
Balazs Gerofi
7a606baad4
move_pages(): sequential implementation
2017-07-08 18:36:05 +09:00
Tomoki Shirasawa
0061adadfb
temporary fix for bug #889
2017-07-04 12:04:37 +09:00
Tomoki Shirasawa
67843151d3
fix how to count rss and num of threads
...
refs #864
refs #865
2017-07-03 16:27:46 +09:00
Tomoki Shirasawa
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
Tomoki Shirasawa
6e23b07b20
disable switch until to complete thread termination
...
refs #888
2017-07-03 14:47:48 +09:00
Tomoki Shirasawa
07efb3ab9a
support to utility thread offloading
2017-06-27 13:27:09 +09:00
Balazs Gerofi
4d0e0728f4
destroy_thread(): disable IRQ while holding update lock
2017-06-08 17:40:35 +09:00
Balazs Gerofi
66fad4c7a4
terminate(): do not iterate process hash if no children processes exist
2017-06-08 14:53:57 +09:00
Balazs Gerofi
200fe9aec4
mcctrl/mcexec: fix per-process data reference counting
2017-06-07 17:21:55 +09:00
Tomoki Shirasawa
edf059888d
support rusage parameter of wait4
...
refs #857
2017-05-28 07:52:47 +09:00
Balazs Gerofi
c0cabc2d83
brk(): return old address if memory allocation fails
2017-05-26 15:41:38 +09:00
Balazs Gerofi
74c5f61fd5
mmap(): fix populate_len warning
2017-05-24 01:41:54 +09:00
Balazs Gerofi
9b5ccb5a33
Pre-map file mappings from /dev/shm (--mpol-shm-premap mcexec argument)
2017-05-23 20:00:06 +09:00
Balazs Gerofi
e901d42fb6
mcexec: --extend-heap-by: argument to specify heap extension size
2017-05-23 19:58:49 +09:00
Balazs Gerofi
29ab087fa2
execve(): larger allocation for program descriptor
2017-05-23 19:57:08 +09:00
Balazs Gerofi
0dd2fad33b
brk(): more forceful heap extension
2017-05-23 19:57:08 +09:00
Balazs Gerofi
a256280118
PROFILE_mmap_XXX: more detailed mmap profiling
2017-05-23 19:57:08 +09:00
Balazs Gerofi
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
Balazs Gerofi
e3e0f6a174
mcexec: introduction of --profile
2017-05-23 02:42:06 +09:00
Balazs Gerofi
e2f424846c
profile: rewrite syscall tracker for generic profiling code
2017-05-23 02:42:05 +09:00
Balazs Gerofi
610463ff39
sched_setaffinity(): respect process cpu_set
2017-05-23 02:39:42 +09:00
Balazs Gerofi
26b9484bae
mcexec: --mpol-threshold to control MPOL_BIND/MPOL_PREFERRED
2017-05-23 02:39:42 +09:00
Balazs Gerofi
182202523e
mcexec/mm: user memory policy control for heap, stack, etc.
2017-05-23 02:39:42 +09:00
Balazs Gerofi
afb7cb3a1e
BSS/data: demand paging for non-file section and respect user requested NUMA allocation policy
2017-05-23 02:39:41 +09:00
Balazs Gerofi
fdbdcbd0ee
VR_AP_USER: memory range flag to respect user mempolicy (e.g., in PF handler)
2017-05-23 02:39:41 +09:00
Balazs Gerofi
a18fd1f45c
sched_yield(): optionally disable wait
2017-05-23 02:39:41 +09:00
Balazs Gerofi
39352cd364
event_signal(): use IKC3 ikc2linux channel
2017-05-19 10:31:15 +09:00
Ken Sato
8daffa939e
IKC: distribute IKC-interrupt to Linux cpus.
2017-05-19 10:26:29 +09:00