1e89796d3e
Replace ihk_set_kmsg() with ihk_get_kmsg_buf()
2017-09-27 20:26:23 +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
c5d71c325d
Modify copyright of files related to XPMEM
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
43db8e2d65
remove osnum from mckernel kargs. refs #338
2017-09-12 14:53:44 +09:00
a05b6e1ba8
Expand dump-functions for excluding user/unused memory (This is rebase commit for merging to development)
2017-09-11 15:49:04 +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
74f15783d2
ihk_os_getrusage(): Add per-page-size memory usage accounting
2017-08-17 12:49:34 +09:00
bf5ac7afc8
remote_flush_tlb_array_cpumask(): bundle remote TLB invalidations
2017-07-21 15:34:48 +09:00
d7b8e7f4f4
fix to count user pages
...
refs #864
2017-07-14 09:51:39 +09:00
0f58e9e77d
NUMA: expose correct /sys/devices/system/node/nodeX/meminfo
2017-07-07 00:59:32 +09:00
72e3f5ee50
ihk_mc_get_ikc_cpu(): Get IKC destination CPU
2017-07-11 20:20:40 +09:00
4c0f401424
move_pages(): parallel implementation v1
2017-07-08 18:36:05 +09:00
8426cf589a
ihk_pagealloc_free(): report double-free in bitmap based allocator
2017-07-08 18:36:05 +09:00
2189c55d99
x86: ASM fast memset()
2017-07-08 18:26:51 +09:00
201a7e2595
Red-black tree based physical memory management
2017-07-08 18:26:51 +09:00
dd2ef89997
SMP: generic function call facility for CPU sets
2017-05-28 07:41:48 +09:00
ba7edf1981
move out local IRQ vector definitions to shared header
2017-05-28 07:36:21 +09:00
26b9484bae
mcexec: --mpol-threshold to control MPOL_BIND/MPOL_PREFERRED
2017-05-23 02:39:42 +09:00
afb7cb3a1e
BSS/data: demand paging for non-file section and respect user requested NUMA allocation policy
2017-05-23 02:39:41 +09:00
ba58054c9d
create rusage branch.
2017-05-19 10:30:36 +09:00
d66af42f7b
Revert "IKC: separate IRQ between Master-channel and Regular-channel"
...
This reverts commit 3c98b9410966ceebe187ebae1038317b628fbb03.
2017-05-19 10:26:30 +09:00
4b964b8e0d
IKC: allocate Linux channel table dynamically
2017-05-19 10:26:30 +09:00
65dc3440cb
IKC: separate IRQ between Master-channel and Regular-channel
2017-05-19 10:26:30 +09:00
8daffa939e
IKC: distribute IKC-interrupt to Linux cpus.
2017-05-19 10:26:29 +09:00
94b527e027
modified: lib/include/ihk/rusage.h
2017-04-27 14:47:21 +09:00
3fe2257929
create rusage branch.
2017-03-15 23:22:51 +09:00
1076010de4
Boundary check in early_alloc_pages()
2017-03-04 17:21:57 +09:00
bd47b909bf
futex(): spin wait when CPU not oversubscribed and fix lost wake-up bug
2017-01-13 08:43:25 +09:00
40d75baca2
ihk_mc_ap_flag: rewrite flag type, intro for denoting user level allocations
2016-12-30 19:19:34 +09:00
00f3fe0840
ihk_mc_alloc_aligned_pages_node(): support for explicit indication of target NUMA node
2016-12-30 19:03:59 +09:00
701cdcdab1
use MCS locks in physical memory allocator
2016-12-19 12:57:59 +09:00
f410af1cfc
xpmem: porting xpmem v2.6.3
...
implement xpmem_make, xpmem_remove
2016-12-16 17:00:09 +09:00
df9f1f8f78
allocate_aligned_pages(): take user set NUMA policy into account
2016-12-13 17:51:39 +09:00
551999ff6b
NUMA: order nodes based on distances
2016-12-13 10:46:17 +09:00
202bfd9955
IHK-API: expand and fix for ver 1.2.
2016-12-08 17:28:53 +09:00
011185e3f7
__ihk_pagealloc_large(): fix 1GB page alignment bug
2016-12-07 09:38:37 +09:00
2f8cca2d6d
memcpy(): faster version using ASM rep; movsl
2016-11-23 08:51:22 +09:00
787d34f650
introduction of ihk_mc_pt_virt_to_phys_size()
2016-11-23 08:40:33 +09:00
f1af1ffb8f
NUMA: expose correct NUMA distances in sysfs
2016-10-27 14:29:15 +09:00
994b9a19ac
NUMA: expose CPU and memory info in /proc/self/status
2016-10-14 21:34:32 +09:00
167ea67dee
NUMA: receive CPU info in array format
2016-10-14 21:34:31 +09:00
a6bd98cc02
MM: memory leak tracker for page level allocator
2016-10-14 21:34:30 +09:00
0f7462ae1c
mm.h: eliminate global pa_allocator
2016-10-14 21:34:30 +09:00
8f4f68b877
eliminate arch_alloc_page() and move ihk_mc_alloc_pages() to arch independent code
2016-10-14 21:34:30 +09:00
f39fa54c39
NUMA: default policy: allocate from CPU's NUMA node
2016-10-14 21:34:30 +09:00
3ae69d1290
NUMA: process CPU NUMA information
2016-10-14 21:34:30 +09:00
2929fbb803
NUMA: support multiple physical allocators
2016-10-14 21:34:30 +09:00
326a4fcee4
mem_init(): parse NUMA information
2016-10-14 21:34:29 +09:00
9b82f1a52c
use ihk_mc_alloc/free_pages() and eliminate direct calls to low level routines
2016-10-14 21:34:29 +09:00