f093786bec
x86: populating PML4e and PDPTe is now lock-free
2016-01-25 09:17:06 +09:00
368f155328
sigaction: support SA_NODEFER
...
refs #698
2016-01-21 18:48:10 +09:00
f7b5b48266
support x2apic
2016-01-06 13:53:02 +09:00
f9bd83c726
ptrace: fix PTRACE_GETREGSET, PTRACE_SETREGSET bug
...
refs #608
2015-12-28 19:45:50 +09:00
20deed09f0
mcexec: support for /proc mounted by mcoverlayfs
2015-12-14 14:47:05 +09:00
828a3ea57a
futex(): support for cross address-space futexes
2015-11-24 14:58:04 +09:00
26492a2895
vsyscall_gettimeofday: make timeval from TSC
2015-11-11 19:45:14 +09:00
0eaa27291a
thread: move clear_child_tid, etc. to main structure
2015-10-29 11:01:27 +09:00
c25f8c7a39
support settimeofday()
2015-10-27 19:21:50 +09:00
9e53ae20d4
add memory barriers
...
- rmb()
- wmb()
2015-10-27 19:21:50 +09:00
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
cad72a8562
when SIGXCPU or SIGXFSZ, set coredump bit to exit status
2015-10-22 20:57:37 +09:00
343bfbd30a
rename back status field
2015-10-22 20:26:50 +09:00
a325a78866
refactoring to send signal
2015-10-15 17:10:02 +09:00
04e193de13
refactoring process structures
2015-10-13 23:04:08 +09:00
2ca46fabfd
support reader/writer lock
2015-10-02 14:05:10 +09:00
5b737b499d
fix cmpxchgq operand
2015-10-02 14:04:05 +09:00
79266f6b97
x86_issue_ipi: keep interrupt disabled while issuing IPI
2015-09-29 19:10:01 +09:00
a666b69c2c
make x86_issue_ipi() call wait_icr_idle()
2015-09-29 19:10:01 +09:00
47e8552eba
move wait_icr_idle() before x86_issue_ipi()
2015-09-29 19:10:00 +09:00
f08e0c0054
guess whether MSR_PLATFORM_INFO exists or not
2015-09-29 19:10:00 +09:00
10ba03ccea
mcreboot-smp-x86.sh: fix querying free irq
2015-09-17 13:19:07 +09:00
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
40b8587a8a
schedule(): sync CPU_FLAG_NEED_RESCHED flag with clone and migrate
2015-09-16 19:22:40 +09:00
e7b1115572
mcreboot-smp-x86.sh: introduction of ihk_ikc_irq_core argument
2015-09-14 17:30:25 +09:00
9ae5bcf46e
gettimeofday(): an implementation based on CPU invariant TSC support
2015-08-24 23:53:56 +02:00
b8f166e608
mcreboot-smp-x86.sh: handle resource allocation after unloading; mcstop+release-smp-x86.sh
2015-08-22 18:55:53 +09:00
7c816a6b73
an implementation of the Mellor-Crummey Scott (MCS) lock
2015-08-20 15:26:52 +09:00
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
386f59000a
mcreboot-smp-x86.sh.in: grant real user rw permission on /dev/mcos*
2015-08-07 13:33:44 +09:00
215cd370a1
ap_init(): clean up AP boot kernel messages
2015-08-07 10:57:59 +09:00
0a0e2c04a0
support for dynamically toggling time sharing when CPU is oversubscribed
2015-08-07 08:51:50 +09:00
aa191b87d3
schedule(): use XSAVE/XRSTOR and swap floating point registers in context switch
2015-08-07 08:41:00 +09:00
328e69a335
schedule(): do not preempt while holding spinlocks or while in offloaded syscall
2015-08-06 10:36:13 +09:00
b77755d0f7
obtain_clone_cpuid(): always start from CPU 0 and fill in cores linearily
2015-07-28 20:20:47 +09:00
d7bae14707
TEMPORARY: schedule(): move threads when core is explicitly oversubscribed
2015-07-28 20:12:58 +09:00
9b1e691588
fix thread migration code (i.e., sched_setaffinity())
...
- moved migration code into idle() process and updated schedule() to detect
when a thread has moved to another CPU in order to avoid doing housekeeping
on behalf of the original one
- start CPU head from core 0
- keeps track of nested interrupts
2015-07-24 20:09:17 +09:00
3988b0fc61
keep track of IRQ context and don't do thread migration there
2015-07-23 16:56:58 +09:00
1ff4cf68c2
support SA_RESTART flag and restart syscall
2015-07-16 16:33:14 +09:00
a029bcac37
mcreboot-smp-x86: find unused IRQ line and pass start vector to ihk_smp_x86.ko
2015-07-07 09:07:16 +09:00
382614ddae
pstate: use MSR_NHM_TURBO_RATIO_LIMIT as maximum single-core turbo ratio
2015-07-01 22:18:38 +09:00
fbb776e4fb
cpu init: support for no_turbo kernel argument
2015-06-25 12:18:27 +09:00
5532e3c663
mcreboot script for new IHK SMP-x86 I/F
2015-05-26 14:41:28 +09:00
7d5a68be1b
add PID and GID to /proc/pid/status
...
add /proc/pid/cmdline
refs #445
refs #447
2015-05-18 17:45:37 +09:00
f4162dff52
some signals set siginfo.si_code
2015-04-14 15:11:36 +09:00
a0d909af75
add supports for dump analyzer
2015-03-31 12:59:53 +09:00
4946964ed0
update copyright notices
2015-03-27 14:50:09 +09:00
5f19842a6a
support for process_vm_readv()/process_vm_writev()
2015-03-25 19:44:56 +09:00
9271d5346d
add ACSL annotation to cpu.c
2015-03-25 15:54:08 +09:00
7bba05cfa4
Revise use of iov_base in ptrace_read_regset() and ptrace_write_regset().
2015-03-20 20:33:40 +09:00