Tomoki Shirasawa
1dc8513cd3
fix REQ-20
2016-02-26 16:18:30 +09:00
Tomoki Shirasawa
c4c5e435cc
fix REQ-12
2016-02-24 20:57:45 +09:00
Yoichi Umezawa
853b56c784
mcreboot-smp-x86.sh: add mount to ceate /tmp/mcos/linux_proc from /proc
2016-02-24 19:24:37 +09:00
Tomoki Shirasawa
863a5c5e5f
fix REQ-2, REQ-6, REQ-8
2016-02-23 16:32:17 +09:00
takatori
ebce1cb031
Merge branch 'master' of postpeta.pccluster.org:mckernel
2016-02-22 13:34:00 +09:00
takatori
fff7744907
mcklogd support
2016-02-22 13:32:20 +09:00
Tomoki Shirasawa
27c3ed7e96
remove debug print
2016-02-21 15:17:42 +09:00
Tomoki Shirasawa
e2b28da32f
signal handler support gdb stepi command
2016-02-21 14:55:34 +09:00
Tomoki Shirasawa
2c50b716fd
support setitimer/getitimer
2016-02-19 15:25:05 +09:00
Tomoki Shirasawa
eba2be8a35
support times
2016-02-18 13:14:18 +09:00
Tomoki Shirasawa
a997af71be
support tkill
...
refs #664
2016-02-17 12:48:12 +09:00
Yoichi Umezawa
e7c37b8000
mcreboot-smp-x86.sh: fix Failed to mount /sys/devices/virtual/mcos/mcos0/sys
2016-02-16 16:05:40 +09:00
Ken Sato
c0cc6ac6db
Add skeleton for perf_event_open.
2016-02-09 14:54:53 +09:00
Yoichi Umezawa
0ce698eb1f
mcexec: support for /sys mounted by mcoverlayfs
2016-02-08 11:36:03 +09:00
NAKAMURA Gou
f093786bec
x86: populating PML4e and PDPTe is now lock-free
2016-01-25 09:17:06 +09:00
Tomoki Shirasawa
368f155328
sigaction: support SA_NODEFER
...
refs #698
2016-01-21 18:48:10 +09:00
Tomoki Shirasawa
f7b5b48266
support x2apic
2016-01-06 13:53:02 +09:00
Yoichi Umezawa
f9bd83c726
ptrace: fix PTRACE_GETREGSET, PTRACE_SETREGSET bug
...
refs #608
2015-12-28 19:45:50 +09:00
Yoichi Umezawa
20deed09f0
mcexec: support for /proc mounted by mcoverlayfs
2015-12-14 14:47:05 +09:00
Balazs Gerofi
828a3ea57a
futex(): support for cross address-space futexes
2015-11-24 14:58:04 +09:00
NAKAMURA Gou
26492a2895
vsyscall_gettimeofday: make timeval from TSC
2015-11-11 19:45:14 +09:00
Balazs Gerofi
0eaa27291a
thread: move clear_child_tid, etc. to main structure
2015-10-29 11:01:27 +09:00
NAKAMURA Gou
c25f8c7a39
support settimeofday()
2015-10-27 19:21:50 +09:00
NAKAMURA Gou
9e53ae20d4
add memory barriers
...
- rmb()
- wmb()
2015-10-27 19:21:50 +09:00
NAKAMURA Gou
09c9ee58d1
add 64bit atomic operations
...
- ihk_atomic64_t
- IHK_ATOMIC64_INIT()
- ihk_atomic64_read()
- ihk_atomic64_inc()
2015-10-27 19:21:50 +09:00
Tomoki Shirasawa
cad72a8562
when SIGXCPU or SIGXFSZ, set coredump bit to exit status
2015-10-22 20:57:37 +09:00
Tomoki Shirasawa
343bfbd30a
rename back status field
2015-10-22 20:26:50 +09:00
Tomoki Shirasawa
a325a78866
refactoring to send signal
2015-10-15 17:10:02 +09:00
Tomoki Shirasawa
04e193de13
refactoring process structures
2015-10-13 23:04:08 +09:00
Tomoki Shirasawa
2ca46fabfd
support reader/writer lock
2015-10-02 14:05:10 +09:00
Tomoki Shirasawa
5b737b499d
fix cmpxchgq operand
2015-10-02 14:04:05 +09:00
NAKAMURA Gou
79266f6b97
x86_issue_ipi: keep interrupt disabled while issuing IPI
2015-09-29 19:10:01 +09:00
NAKAMURA Gou
a666b69c2c
make x86_issue_ipi() call wait_icr_idle()
2015-09-29 19:10:01 +09:00
NAKAMURA Gou
47e8552eba
move wait_icr_idle() before x86_issue_ipi()
2015-09-29 19:10:00 +09:00
NAKAMURA Gou
f08e0c0054
guess whether MSR_PLATFORM_INFO exists or not
2015-09-29 19:10:00 +09:00
Yoichi Umezawa
10ba03ccea
mcreboot-smp-x86.sh: fix querying free irq
2015-09-17 13:19:07 +09:00
NAKAMURA Gou
b1b706453f
vsyscall: send SIGSEGV to the caller if syscall fails
...
On CentOS 7 (RHEL 7?), "errno" isn't set when vsyscall_gettimeofday
fails. So, in such case, vsyscall_gettimeofday send SIGSEGV to the
caller to report failure of gettimeofday operation.
2015-09-16 21:37:11 +09:00
Balazs Gerofi
40b8587a8a
schedule(): sync CPU_FLAG_NEED_RESCHED flag with clone and migrate
2015-09-16 19:22:40 +09:00
Balazs Gerofi
e7b1115572
mcreboot-smp-x86.sh: introduction of ihk_ikc_irq_core argument
2015-09-14 17:30:25 +09:00
Balazs Gerofi
9ae5bcf46e
gettimeofday(): an implementation based on CPU invariant TSC support
2015-08-24 23:53:56 +02:00
Balazs Gerofi
b8f166e608
mcreboot-smp-x86.sh: handle resource allocation after unloading; mcstop+release-smp-x86.sh
2015-08-22 18:55:53 +09:00
Balazs Gerofi
7c816a6b73
an implementation of the Mellor-Crummey Scott (MCS) lock
2015-08-20 15:26:52 +09:00
Balazs Gerofi
9ba40dc0ff
schedule(): hold runq lock for the entire duration of context switching
...
releasing the runq lock after loading page tables but before the actual
context switch can leave execution in an inconsistent if the current
process is descheduled from an IRQ between these two steps.
this patch holds the runq lock with IRQs disabled and makes the context
switch a single atomic operation.
2015-08-10 12:37:12 +09:00
Balazs Gerofi
386f59000a
mcreboot-smp-x86.sh.in: grant real user rw permission on /dev/mcos*
2015-08-07 13:33:44 +09:00
Balazs Gerofi
215cd370a1
ap_init(): clean up AP boot kernel messages
2015-08-07 10:57:59 +09:00
Balazs Gerofi
0a0e2c04a0
support for dynamically toggling time sharing when CPU is oversubscribed
2015-08-07 08:51:50 +09:00
Balazs Gerofi
aa191b87d3
schedule(): use XSAVE/XRSTOR and swap floating point registers in context switch
2015-08-07 08:41:00 +09:00
Balazs Gerofi
328e69a335
schedule(): do not preempt while holding spinlocks or while in offloaded syscall
2015-08-06 10:36:13 +09:00
Balazs Gerofi
b77755d0f7
obtain_clone_cpuid(): always start from CPU 0 and fill in cores linearily
2015-07-28 20:20:47 +09:00
Balazs Gerofi
d7bae14707
TEMPORARY: schedule(): move threads when core is explicitly oversubscribed
2015-07-28 20:12:58 +09:00