Balazs Gerofi
f78d031e64
syscall and offload tracking (disabled by default)
2016-12-05 18:10:20 +09:00
e29001
4ab37dd34a
schedule(): only load page table during context switch if it's different
2016-12-05 18:10:20 +09:00
Masamichi Takagi
8129dec2f7
Fix out-of-tree build
...
<build>/ihk/cokernel/Makefile.common is not found when
<build>/mckernel/kernel/Makfile tries to perform
"Make -C <build>/ihk/{cokernel,ikc}" from mckernel/kernel
2016-12-01 16:44:01 +09:00
Tomoki Shirasawa
a1035a1878
fix out of tree build
2016-12-01 12:55:34 +09:00
Tomoki Shirasawa
bbb55ef261
sched_setparam: thread lock is necessary when update other thread data
2016-11-28 14:04:44 +09:00
Ken Sato
1130cafe41
ptrace: fixed for threads.
2016-11-28 11:19:30 +09:00
Balazs Gerofi
a1cf27e232
sched_getaffinity(): fix error code for special invalid input
2016-11-28 05:50:01 +09:00
Balazs Gerofi
c7db296e1b
getcpu(): expose correct NUMA id
2016-11-26 09:29:09 +09:00
Balazs Gerofi
f634a750c5
sched_{set/get}affinity(): fix error codes (also fixes KMP_AFFINITY behavior)
2016-11-24 21:25:16 +09:00
Balazs Gerofi
8c56c75d2c
process_vm_read_writev(): fix base address check for EFAULT
2016-11-24 10:40:41 +09:00
Balazs Gerofi
e54895efde
set_mempolicy(): debug msg
2016-11-23 08:53:26 +09:00
Balazs Gerofi
2f8cca2d6d
memcpy(): faster version using ASM rep; movsl
2016-11-23 08:51:22 +09:00
Balazs Gerofi
64607152ee
VM: introduction of range lookup cache
2016-11-23 08:48:44 +09:00
Balazs Gerofi
20383ad3d0
do_process_vm_read_writev(): page size awareness optimization
2016-11-23 08:47:32 +09:00
Balazs Gerofi
787d34f650
introduction of ihk_mc_pt_virt_to_phys_size()
2016-11-23 08:40:33 +09:00
Balazs Gerofi
0f826290d0
NUMA: get_mempolicy(), set_mempolicy() and mbind() implementation
2016-11-05 13:32:02 +09:00
Balazs Gerofi
be4f6741f9
sysfs: fix /sys/devices/system/cpu/cpuXX/online value
2016-11-03 13:39:21 +09:00
Balazs Gerofi
ebcf9a0d6d
mcctrl: fix a bunch of -Wframe-larger-than warnings
2016-10-21 04:54:38 -04:00
e29005
0b0aa6c0e0
Start mcklogd before McKernel to avoid deadlock
...
McKernel blocks forever waiting for mcklogd to retrieve kmsg when
kmsg bufer is full with boot log and mcklogd isn't running.
2016-10-19 16:40:32 +09:00
Balazs Gerofi
9705a80c82
get/set_mempolicy(): support for query/set process level policy
2016-10-16 14:01:14 +09:00
Balazs Gerofi
99a02e2941
get_mempolicy(): store policy in per-process VM structure
2016-10-16 09:10:36 +09:00
Balazs Gerofi
b88d75720f
__NR_gettid: use regular offloading channel (fixes unknown PID bug)
2016-10-15 11:46:01 +09:00
Balazs Gerofi
d2b677b6da
get_mempolicy(): initial implementation
2016-10-14 21:34:32 +09:00
Balazs Gerofi
994b9a19ac
NUMA: expose CPU and memory info in /proc/self/status
2016-10-14 21:34:32 +09:00
Balazs Gerofi
faa929e717
NUMA: add NUMA mask to process VM structure
2016-10-14 21:34:31 +09:00
Balazs Gerofi
b068fde9cd
NUMA: use IHK CPU and NUMA mappings for sysfs entries
2016-10-14 21:34:31 +09:00
Balazs Gerofi
167ea67dee
NUMA: receive CPU info in array format
2016-10-14 21:34:31 +09:00
Balazs Gerofi
1e8239d72a
kmalloc/pagealloc tracker: fix race condition bug
2016-10-14 21:34:31 +09:00
Balazs Gerofi
a51a0a6f13
page allocation tracker: support tracking partial deallocations
2016-10-14 21:34:31 +09:00
Balazs Gerofi
cc3f6e1a4f
page_fault_process_memory_range(): fix double allocation leak
2016-10-14 21:34:31 +09:00
Balazs Gerofi
5db6c311f4
page alloc tracker: count freed pages in addr tracker objects
2016-10-14 21:34:31 +09:00
Balazs Gerofi
7176bb2a47
allow partial deallocation in page level allocation tracker
2016-10-14 21:34:30 +09:00
Balazs Gerofi
a6bd98cc02
MM: memory leak tracker for page level allocator
2016-10-14 21:34:30 +09:00
Balazs Gerofi
0d8d915d82
fix KMALLOC_MIN_SIZE macro
2016-10-14 21:34:30 +09:00
Balazs Gerofi
8f4f68b877
eliminate arch_alloc_page() and move ihk_mc_alloc_pages() to arch independent code
2016-10-14 21:34:30 +09:00
Balazs Gerofi
8c0a5a5e61
page_hash_count_pages(): report page hash size in memory stat
2016-10-14 21:34:30 +09:00
Balazs Gerofi
ffd3f53785
page_unmap(): proper locking of hash table
2016-10-14 21:34:30 +09:00
Balazs Gerofi
f39fa54c39
NUMA: default policy: allocate from CPU's NUMA node
2016-10-14 21:34:30 +09:00
Balazs Gerofi
11125b0d68
fileobj and shmemobj: delete unused variables
2016-10-14 21:34:30 +09:00
Balazs Gerofi
3ae69d1290
NUMA: process CPU NUMA information
2016-10-14 21:34:30 +09:00
Balazs Gerofi
2929fbb803
NUMA: support multiple physical allocators
2016-10-14 21:34:30 +09:00
Balazs Gerofi
f4db8b96de
fileobj/shmobj: release pages correctly according to dynamic page frame management
2016-10-14 21:34:30 +09:00
Balazs Gerofi
8eb3bf3559
physical page management: eliminate static page frame array and
...
maintain page structures dynamically covering only file mappings.
use hash table for address <-> page structure conversion.
2016-10-14 21:34:29 +09:00
Balazs Gerofi
326a4fcee4
mem_init(): parse NUMA information
2016-10-14 21:34:29 +09:00
Balazs Gerofi
9b82f1a52c
use ihk_mc_alloc/free_pages() and eliminate direct calls to low level routines
2016-10-14 21:34:29 +09:00
Ken Sato
f3da381752
ihk_mc_unmap_virtual: add flush_tlb_single
...
refs #778
2016-10-11 14:44:23 +09:00
Tomoki Shirasawa
e03f377326
interrupt_syscall: interrupt valid thread
2016-10-03 00:49:56 +09:00
Ken Sato
02536b7724
Merge remote-tracking branch 'remotes/origin/ikc2'
...
Conflicts:
executer/kernel/mcctrl/syscall.c
It is resolved.
2016-09-27 11:48:12 +09:00
Tomoki Shirasawa
e28725884f
fix debug print
2016-09-19 17:29:41 +09:00
Tomoki Shirasawa
9390fe5d2c
signal: send signal to thread using thread-id. not cpu-id
2016-09-12 15:43:29 +09:00