Commit Graph

779 Commits

Author SHA1 Message Date
Balazs Gerofi
bce10e11e4 fileobj: rewrite for scalability using per-file page hash 2016-12-18 21:12:37 +09:00
Balazs Gerofi
c58ab0f648 brk(): larger allocation units internally 2016-12-18 21:12:37 +09:00
Yoichi Umezawa
f410af1cfc xpmem: porting xpmem v2.6.3
implement xpmem_make, xpmem_remove
2016-12-16 17:00:09 +09:00
Balazs Gerofi
df9f1f8f78 allocate_aligned_pages(): take user set NUMA policy into account 2016-12-13 17:51:39 +09:00
Balazs Gerofi
551999ff6b NUMA: order nodes based on distances 2016-12-13 10:46:17 +09:00
Balazs Gerofi
052b3f44ca mcexec: -n: topology aware partitioned execution 2016-12-10 16:27:57 +09:00
Balazs Gerofi
fdcf766337 prepare_process(): pass cpu_set in program_load_desc 2016-12-09 16:32:20 +09:00
Balazs Gerofi
7d13bfb14e set_mempolicy(): limit maxnode to PROCESS_NUMA_MASK_BITS 2016-12-08 21:05:10 +09:00
Ken Sato
202bfd9955 IHK-API: expand and fix for ver 1.2. 2016-12-08 17:28:53 +09:00
Balazs Gerofi
c99e36235b execve(): disable debug warnings 2016-12-08 16:33:24 +09:00
Balazs Gerofi
3cecafac59 obtain_clone_cpuid(): respect parent's CPU set 2016-12-08 16:01:30 +09:00
Balazs Gerofi
8fced29978 page_fault_handler(): improved debug msg format 2016-12-07 11:25:02 +09:00
Balazs Gerofi
ddc33821cf sched_yield(): avoid schedule for single thread 2016-12-05 18:10:20 +09:00
Balazs Gerofi
0ab7d02994 disable syscall tracker and eliminate interrupt_syscall debug msg 2016-12-05 18:10:20 +09:00
Balazs Gerofi
a8c4ab221b use MCS locks in signal handling code 2016-12-05 18:10:20 +09:00
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