09f63483cc
OFP: temporary ANON mmap() rewrite
2018-06-13 00:31:43 +09:00
9c0b8aa812
mcctrl/control.c: fix debug print types
2018-06-13 00:31:36 +09:00
e29a40331d
partitioned execution: pass process rank to LWK
...
Cherry-pick of d2d134d5e6a4b16a34d55d31b14614a2a91ecf47
Conflicts:
kernel/include/process.h
2018-06-13 00:31:27 +09:00
4572e6be3f
fix mcctrl SMAP - everyone needs copy_to_user
2018-04-03 10:38:44 +09:00
e2dea4e9f8
mcexec_start_image(): handle IKC send timeout
2018-03-17 21:33:17 +09:00
51bc5fd61f
uti: Fix wrong argument passed to ihk_ikc_release_packet() in mcexec_terminate_thread()
...
Conflicts:
executer/kernel/mcctrl/control.c
2018-03-09 17:44:30 +09:00
3e4c9bdd90
Fix lock of struct wait_queue_head_list_node
2018-03-09 17:31:10 +09:00
5cb75b00c7
mcexec_destroy_per_process_data: System calls delegation can not be terminated in error when the last process that closed /dev/mcos0 is a child process.
...
refs #882
2018-03-07 09:11:37 +09:00
7dd0d1137f
revert for fix git message
...
This reverts commit 840acd6021 .
2018-03-07 09:09:28 +09:00
840acd6021
mcexec_destroy_per_process_data: System calls delegation can not be terminated in error when the last process that closed /dev/mcos0 is a child process.
...
refs #822
2018-02-14 16:34:08 +09:00
35f908b75c
mcexec: protect against incorrect partitioned execution argument (-n) using timeouts
2017-11-20 17:06:01 +09:00
51982de36b
Handle return value of mcctrl_ikc_send in mcexec_handle_prepare_image
2017-10-18 09:20:51 +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
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
ac432504a7
uti_attr: move kmalloc after error check
2017-07-28 10:31:59 +09:00
b39fec1104
uti: remove unused functions
2017-07-26 13:14:30 +09:00
effde241b9
support uti_attr for utility thread offloading
2017-07-25 13:03:48 +09:00
bc423255d9
mcctrl/mcexec: limit thread pool size when too many threads exist on Linux
2017-07-21 15:33:19 +09:00
4f9865cc8f
clean up unused code
2017-06-27 13:46:38 +09:00
07efb3ab9a
support to utility thread offloading
2017-06-27 13:27:09 +09:00
52bc052e1a
mcexec: recursively bind mount $prefix/rootfs/ on /
2017-06-16 18:01:25 +09:00
4dfd806aa7
mcctrl: release syscall packets to LWK -> Linux channels
2017-06-12 22:02:32 +09:00
b03f69783a
mcctrl: cleanup devobj pagers in release_handle() to avoid memory leak
2017-06-11 19:13:31 +09:00
ab915f3331
mcctrl: clean up pagers for file objects to avoid memory leak
2017-06-11 19:11:54 +09:00
0733592eb5
mcexec_open_exec() fix filename memory leak
2017-06-09 15:51:14 +09:00
200fe9aec4
mcctrl/mcexec: fix per-process data reference counting
2017-06-07 17:21:55 +09:00
2d72042021
mcexec: bind to CPus according to ikc_map
2017-05-23 02:39:42 +09:00
b4aecfd43c
partitioned execution: order by process start time
2017-05-23 02:39:42 +09:00
21373338cc
mcctrl: IHK CPU register manipulation implementation
2017-05-20 12:38:14 +09:00
9992fe0d72
mcctrl: support remote CPU MSR read/write operations
2017-05-05 00:01:43 +09:00
1541b26086
ihklib: add pa_info functions.
2017-04-27 17:13:49 +09:00
92a40f92dd
mcctrl_put_per_proc_data(): do not use task_pid_vnr() in IRQ context
2017-03-30 15:02:57 +09:00
45bddf3caa
mcexec_syscall(): do not use task_pid_vnr() in IRQ context
2017-03-30 14:56:57 +09:00
ef910fdf0e
Discard outstanding system calls at the end of mcexec.
2017-03-28 11:23:54 +09:00
b97a8c5138
mcexec_open_exec(): use strncpy_from_user() before accessing file name
2017-03-21 20:13:12 +09:00
eca4018ecb
mcctrl: release syscall packets when mcexec termination
...
refs #835
2017-03-11 20:57:54 +09:00
6213f0e488
mcctrl: fix cpumask macros for Linux 4.6
2017-02-02 15:49:39 +09:00
1bc3218fc1
partitioned execution: bind mcexec to corresponding NUMA node
2017-01-30 07:24:09 +09:00
40978d162e
procfs_read/write(): rewrite synchronization for scalability and correctness
2016-12-28 14:17:17 +09:00
6ad84a96a3
mcexec_syscall(): avoid calling task_pid_nr_ns() in IRQ context
2016-12-26 20:43:17 +09:00
16e846e9b6
mcexec: report error in prepare_image() if wait queue interrupted
2016-12-26 20:42:31 +09:00
b836b84825
mcexec_prepare_image(): use memory barrier when updating request status
2016-12-25 17:19:14 +09:00
4667136a4c
mcctrl: refcount per-process data to avoid corrupted syscall request lists
2016-12-23 09:54:15 +09:00
972d14611a
mcctrl: move prepare waitqueue to per-process data
2016-12-22 10:15:31 +09:00
6a5fe90f98
mcexec_get_cpuset(): save CPU set and IKC target cpu in per-process data
2016-12-18 21:12:37 +09:00
91373337ba
mcctrl: add IKC target CPU to OS file release_handler
2016-12-18 21:12:37 +09:00
7ace35d737
mcexec_get_cpuset(): fix NUMA search bug
2016-12-13 17:50:50 +09:00
052b3f44ca
mcexec: -n: topology aware partitioned execution
2016-12-10 16:27:57 +09:00
e4b3a88fc6
mcexec_sys_umount(): remove debug print
2016-11-10 15:05:45 +09:00