Balazs Gerofi
259583e936
mcreboot-smp-x86.sh: more white out of invalid NUMA info
2016-11-05 13:35:53 +09:00
Balazs Gerofi
0f826290d0
NUMA: get_mempolicy(), set_mempolicy() and mbind() implementation
2016-11-05 13:32:02 +09:00
Balazs Gerofi
e46f027894
mcexec/mcctrl: unmount cgroups (privately) which expose invalid NUMA info
2016-11-04 17:02:48 +09:00
Balazs Gerofi
3e093f6a40
sysfs: fix /sys/devices/system/node/online value
2016-11-03 16:10:29 +09:00
Balazs Gerofi
00996b551f
mcreboot: white out non-existing NUMA information
2016-11-03 16:09:27 +09:00
Balazs Gerofi
24d8697cef
mcexec: workaround for overlayed /sys FS directory lseek() bug
...
lseek() on directories under /sys filesystem that are part of an
overlayed filesystem behave differently than in the original /sys.
This causes segfault in libnuma when discovering topology
information. The patch fakes return value as it is supposed to be,
which also fixes the Intel MPI 2017 MPI_Init() crash.
2016-11-03 13:41:25 +09:00
Balazs Gerofi
be4f6741f9
sysfs: fix /sys/devices/system/cpu/cpuXX/online value
2016-11-03 13:39:21 +09:00
Balazs Gerofi
7a2f67f5f0
sysfs: eliminate unnecessary new line from /sys/devices/system/node/nodeX/distance
2016-11-03 13:37:53 +09:00
Balazs Gerofi
bba0425267
sysfs: fix /sys/devices/system/cpu/online value
2016-11-03 13:36:29 +09:00
Balazs Gerofi
beaf96b375
mcreboot/mcstop: proper error handling (revert previous state)
1.1.3
2016-10-28 14:29:10 +09:00
Balazs Gerofi
f1af1ffb8f
NUMA: expose correct NUMA distances in sysfs
2016-10-27 14:29:15 +09:00
Balazs Gerofi
059fab2cc0
mcctrl: fix NULL pointer dereference for unbooted OS instance shutdown
2016-10-26 14:50:07 +09:00
Masamichi Takagi
f284a80656
Defrag memory in mcreboot.sh
...
Merge free physical pages to create large, physically contiguous
blocks with the following command.
echo 1 > /proc/sys/vm/compact_memory
2016-10-25 16:35:43 +09:00
Balazs Gerofi
5f973ab51e
IKC2: adjust master channel message queue size dynamically
...
Determine master channel's message queue size based on the number of
LWK CPUs so that all cores can communicate simultaneously during
syscall channel initialization.
2016-10-24 20:49:00 +09:00
Balazs Gerofi
60b6713957
IKC2: eliminate unused structures/fields of old IKC code
2016-10-24 15:41:27 +09:00
Balazs Gerofi
ebcf9a0d6d
mcctrl: fix a bunch of -Wframe-larger-than warnings
2016-10-21 04:54:38 -04:00
Balazs Gerofi
942b7f8b78
mcreboot-smp-x86: eliminate unnecessary resource queries
2016-10-21 03:38:21 -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
083645f203
mcreboot: purge Linux caches before reserving IHK resources
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
3ee3a9df6d
sysfs: fix bitmask and bitmask list-view display bug
2016-10-14 21:34:31 +09:00
Balazs Gerofi
73e1a4f1f9
NUMA: fill in /sys/devices/system/cpu/nodeX properly and sync with boot script
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
f33d85a27a
eclair: support for multiple physical memory chunks
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
f4df713846
munmap(): fix memory leak in non page backed mappings
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
0f7462ae1c
mm.h: eliminate global pa_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