Commit Graph

350 Commits

Author SHA1 Message Date
Masamichi Takagi
15783f09a0 Modify mcreboot.sh for job scheduler
1. Add an option to specify owner of device files
2. Output message to stderr and return one on error
2016-08-17 15:07:13 +09:00
Balazs Gerofi
57690479bd read/patch_process_vm(): map non-LWK physical addresses properly 2016-07-22 20:48:54 +09:00
Balazs Gerofi
d0539a9cac eclair: make idle threads visible 2016-07-22 18:06:11 +09:00
Balazs Gerofi
4c8f583c0c split_large_page(): avoid panic when splitting "non-mapped" large pages 2016-07-14 17:11:52 +09:00
Tomoki Shirasawa
f6908f21a8 do_kill: wake PS_INTERRUPTIBLE process when send SIGKILL
sched_wakeup_thread: don't change process status if process status is PS_EXITED
2016-07-13 14:06:32 +09:00
Balazs Gerofi
c43d993a4d mcstop+release-smp-x86.sh.in: unload mcctrl after OS shutdown 2016-07-11 16:40:06 +09:00
Balazs Gerofi
7d9bbecd7a mcctrl: use IHK OS notifiers to establish/tear down syscall channels
This patch eliminates the need for rmmod/insmod the mcctrl module
every time an OS instance is rebooted.
2016-07-11 16:22:50 +09:00
Tomoki Shirasawa
5c190beb04 save fpregs when to call sighandler
refs #50
2016-07-05 15:26:00 +09:00
Balazs Gerofi
648bacc90f device file mappings: communicate map flags and fault missing translations 2016-06-24 12:44:59 -07:00
Ken Sato
dd37443fc7 PAPI support: performance counter's overflow.
and support mckfd fcntl.
2016-06-24 13:50:12 +09:00
Balazs Gerofi
e34322702a x86_init_perfctr: discover perf counters dynamically from MSRs 2016-06-22 10:47:57 -07:00
Balazs Gerofi
e12997e6a9 mcreboot: support for CPU cores (-c) and memory (-m) arguments 2016-06-21 09:10:06 -07:00
Yoichi Umezawa
d0ee60f9e3 mcoverlayfs: supported only Linux kernel 4.0 2016-06-03 18:36:55 +09:00
Balazs Gerofi
14ec92518e KVM support: detect KVM and avoid touching unimplemented MSRs 2016-05-26 01:11:08 +09:00
Tomoki Shirasawa
f06d8041e3 don't send SIGCONT when sending SIGSTOP derived from PTRACE_ATTACH
refs #747
2016-05-19 10:54:12 +09:00
Tomoki Shirasawa
9b35eaca42 remote_flush_tlb_cpumask() dead locking
refs #728
2016-05-10 14:02:25 +09:00
Ken Sato
130b1f4327 update PAPI support. other process and child process monitoring. 2016-04-26 19:01:47 +09:00
NAKAMURA Gou
d4a0b32f06 support large pages 2016-04-21 23:22:55 +09:00
NAKAMURA Gou
2048980820 remove ihk_mc_pt_alloc_range() 2016-04-21 23:22:54 +09:00
NAKAMURA Gou
176f6d23a9 ihk_mc_pt_virt_to_pagemap: refactor 2016-04-21 23:22:54 +09:00
NAKAMURA Gou
328175547f Revert "fix REQ-37: remap_one_page: remove to check page size"
This reverts commit 6790126a23.

- reverted commit should remove a 'pgsize' check in remap_one_page()
  instead of a 'pgsize' check in pte_make_fileoff().
- In IA-32e, PTE format varies with page size. Therefore 'pgsize'
  parameter of pte_make_fileoff() is preferable.
2016-04-21 23:22:54 +09:00
NAKAMURA Gou
e2e0fad849 arch_clear_host_user_space: set zero to args[2]
to avoid duplicated per_proc_list entry.
2016-04-21 23:22:54 +09:00
Tomoki Shirasawa
aa77228453 resupport ptrace(PTRACE_ATTACH)
refs #733
2016-04-21 20:13:27 +09:00
Ken Sato
82cb8f95ed update PAPI support. 2016-04-18 13:07:45 +09:00
NAKAMURA Gou
1bb948f43b hwloc support 2016-04-11 22:25:27 +09:00
NAKAMURA Gou
2a1823d52c vdso: set enable bit of pvti_msr 2016-04-11 22:20:39 +09:00
NAKAMURA Gou
89943dc5ba vdso: set physical address at pvti_msr 2016-04-11 22:20:39 +09:00
NAKAMURA Gou
fceb02a44a vdso: add zero clear for pvti 2016-04-11 22:20:38 +09:00
NAKAMURA Gou
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
Balazs Gerofi
fb32120659 make mcoverlayfs optional (default: enabled) 2016-04-02 15:43:35 -04:00
NAKAMURA Gou
41bb2ab5e6 support vdso which borrows clocksource from linux 2016-03-28 22:57:44 +09:00
NAKAMURA Gou
a587c8f5e5 x86: encode cpu# in IA32_TSC_AUX and size of GDTe#15 2016-03-28 22:57:44 +09:00
NAKAMURA Gou
c760a01a79 add pte_get_attr() 2016-03-28 22:57:44 +09:00
NAKAMURA Gou
a2548f5421 Revert "fix REQ-42"
This reverts commit 4a0682bbc1.

The reverted commit appears to be wrong, for example:
- arch_range_check()'s arguments and parameters are mismatch.
- arch_range_check() implementation is not checking range.

Conflicts:
	kernel/syscall.c
2016-03-28 13:51:57 +09:00
Tomoki Shirasawa
6790126a23 fix REQ-37: remap_one_page: remove to check page size 2016-03-27 14:05:00 +09:00
Tomoki Shirasawa
b0096a2740 fix REQ-51 2016-03-26 12:23:51 +09:00
Tomoki Shirasawa
12eaea401e fix REQ-46 2016-03-25 12:59:18 +09:00
Tomoki Shirasawa
31595b7409 fix REQ-43 2016-03-25 12:57:31 +09:00
Tomoki Shirasawa
4a0682bbc1 fix REQ-42 2016-03-24 19:14:50 +09:00
Tomoki Shirasawa
932a287437 fix REQ-40 2016-03-24 13:46:13 +09:00
Tomoki Shirasawa
670741ae40 fix REQ-39 2016-03-24 13:45:15 +09:00
NAKAMURA Gou
48167d3223 shmget: add "shmflg" checks for SHM_HUGE* 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
d65135c040 move sys_shmget() into arch-dependent code 2016-03-23 19:14:27 +09:00
NAKAMURA Gou
d4d93df032 mmap: add "flags" checks for MAP_HUGE* 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
15f572ef9c mmap: return -ENOMEM if speicified range is out of range 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
81690c5b5a mmap: cosmetic changes 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
e74eb1dd51 add some prototypes to <memory.h> 2016-03-23 19:04:32 +09:00
NAKAMURA Gou
8f7b9072ea refactor some copyin/copyout functions
- copy_from_user()
- getlong_user()
- getint_user()
- copy_to_user()
- setlong_user()
- setint_user()
2016-03-23 19:04:32 +09:00
NAKAMURA Gou
4595aa3079 pte_visitor_t(): change "pgsize" into "pgshift" 2016-03-23 19:04:32 +09:00
Ken Sato
d192e6c0fe modify PAPI support 2016-03-22 15:52:59 +09:00