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
f5857cfc9e
MM: use ihk_mc_{alloc/free}_pages() everywhere and fix free_pages() on kmalloc()ed object bug
2016-08-17 18:02:05 +09:00
dd37443fc7
PAPI support: performance counter's overflow.
...
and support mckfd fcntl.
2016-06-24 13:50:12 +09:00
130b1f4327
update PAPI support. other process and child process monitoring.
2016-04-26 19:01:47 +09:00
d4a0b32f06
support large pages
2016-04-21 23:22:55 +09:00
2048980820
remove ihk_mc_pt_alloc_range()
2016-04-21 23:22:54 +09:00
82cb8f95ed
update PAPI support.
2016-04-18 13:07:45 +09:00
1bb948f43b
hwloc support
2016-04-11 22:25:27 +09:00
7298d8e179
vdso: correct pvti array element type
...
struct pvclock_vsyscall_time_info <-- struct pvclock_vcpu_time_info
2016-04-11 22:20:38 +09:00
41bb2ab5e6
support vdso which borrows clocksource from linux
2016-03-28 22:57:44 +09:00
b0096a2740
fix REQ-51
2016-03-26 12:23:51 +09:00
12eaea401e
fix REQ-46
2016-03-25 12:59:18 +09:00
31595b7409
fix REQ-43
2016-03-25 12:57:31 +09:00
932a287437
fix REQ-40
2016-03-24 13:46:13 +09:00
f92cac7751
add type casting to the argument of getlong_user()
2016-03-23 19:04:32 +09:00
e74eb1dd51
add some prototypes to <memory.h>
2016-03-23 19:04:32 +09:00
4595aa3079
pte_visitor_t(): change "pgsize" into "pgshift"
2016-03-23 19:04:32 +09:00
d192e6c0fe
modify PAPI support
2016-03-22 15:52:59 +09:00
7dbbcb362f
add PAPI support
2016-03-22 15:27:19 +09:00
1aac2c8e23
add CPU timer initialization (refs #402 )
...
There is no actual initialization in x86 now.
The initialization rely on hardware reset and Linux initialization.
2016-03-11 19:20:37 +09:00
eb0700359b
fix REQ-36
2016-03-10 10:33:38 +09:00
14b868907b
fix REQ-27
2016-03-07 18:52:08 +09:00
ebce1cb031
Merge branch 'master' of postpeta.pccluster.org:mckernel
2016-02-22 13:34:00 +09:00
fff7744907
mcklogd support
2016-02-22 13:32:20 +09:00
2d3fda1d0b
flatten_strings: fix align (REQ-1)
2016-02-14 22:36:58 +09:00
d0507f7e9f
process_read/write_vm(): fix LTP bugs
2015-12-18 15:58:51 +09:00
8cb72df663
support McKernel's sysfs tree
2015-12-16 13:42:30 +09:00
e805249651
add strrchr()
2015-12-16 13:42:30 +09:00
9ae5bcf46e
gettimeofday(): an implementation based on CPU invariant TSC support
2015-08-24 23:53:56 +02:00
a6488adcc1
change parameter type of ihk_mc_pt_virt_to_phys()
...
- add type qualifier 'const' to virtual address parameter.
that is, change parameter 'virt' from 'void *'
to 'const void *'
2015-03-04 11:29:15 +09:00
0e98e87b95
change type of kprintf_lock() to "unsigned long"
...
to match type of ihk_mc_spinlock_lock().
2015-02-18 20:49:46 +09:00
b388f59ebd
ihk_ikc_irq and ihk_ikc_irq_apicid
2014-12-25 11:03:01 +09:00
d4ba4dc8b3
introduction of mckernel_procfs_file_operations; fix /proc/self path resolution;
...
implementation of /proc/self/pagemap (LTP mmap12)
2014-12-15 12:46:05 +09:00
f3ea226d91
fix strncpy buffer overrun
2014-10-01 09:04:11 +09:00
efc817de92
Merge branch 'master' of postpeta.pccluster.org:mckernel
2014-09-05 17:20:50 +09:00
0f95a84293
Migrated.
2014-09-04 14:58:04 +09:00
cd366de097
execve():
...
- COKERNEL_PATH and COKERNEL_EXEC_ROOT support for co-kernels with different architecture than the host (i.e., Xeon Phi).
- fix various error codes: ENAMETOOLONG, ENOENT, ENOTDIR, EACCES, ENOEXEC, EFAULT.
- support for shell code execution.
2014-09-03 18:15:43 +09:00
101a0f6e4a
remote TLB invalidation code for multi-threaded applications (e.g., during munmap())
2014-07-22 12:24:07 +09:00
11bb334bd4
support mremap(2)
...
fixes #22
2014-07-02 15:30:52 +09:00
d2e29bf598
add visit_pte_range()
...
refs #21
refs #22
2014-06-30 17:33:43 +09:00
a9bebf1e14
Make idle loop not miss a chance to schedule
...
Prevents the case where McKernel misses one chance to schedule a
task when an interrupt occurs just after enabling interrupt and
just before executing "halt" in the idle loop (in kernel/process.c).
refs #45
2014-06-12 11:22:02 +09:00
f90e294384
flatten_strings() kernel space version
2014-05-21 14:13:46 +09:00
2f89e26ac0
add modification history entry to the following files,
...
mckernel/lib/include/*.h
mckernel/arch/x86/elfboot/*
mckernel/arch/x86/kboot/main.c
mckernel/arch/x86/kernel/*
mckernel/lib/page_alloc.c
mckernel/lib/string.c
mckernel/lib/include/ihk/*
except
mckernel/arch/x86/kernel/include/signal.h
mckernel/arch/x86/tools/mcreboot-attached-mic.sh.in
mckernel/arch/x86/kernel/include/syscall_list.h
mckernel/arch/x86/kernel/syscall.c
.
2013-11-14 18:30:06 +09:00
384328c6bc
add copyright notice to the following files,
...
mckernel/lib/include/*.h
mckernel/arch/x86/elfboot/*
mckernel/arch/x86/kboot/main.c
mckernel/arch/x86/kernel/*
mckernel/lib/page_alloc.c
mckernel/lib/string.c
mckernel/lib/include/ihk/*
except
mckernel/arch/x86/kernel/include/signal.h
mckernel/arch/x86/tools/mcreboot-attached-mic.sh.in
mckernel/arch/x86/kernel/include/syscall_list.h
mckernel/arch/x86/kernel/syscall.c
.
2013-11-14 17:09:58 +09:00
bbbc6e1570
add shared mapped file (in progress)
...
implemented:
- Pages can be shared between maps.
- A change made to a map is written to the file, at munmap().
not yet implemented:
- VM operation during page IO execution.
Because page IO is executed with VM's lock.
- Page IO, which does not change a file size with any case.
When munmap() races with truncate(), the file size may be changed
illegally.
2013-11-11 18:18:33 +09:00
6722f35ffc
calculate a physical address in 64 bit width
...
When physical page of address 0x1_0000_0000 is allocated,
it becomes false ENOMEM error.
2013-10-31 18:39:38 +09:00