linux_dsm_epyc7002/arch/um/kernel/skas
Anton Ivanov 2eb5f31bc4 um: Switch clocksource to hrtimers
UML is using an obsolete itimer call for
all timers and "polls" for kernel space timer firing
in its userspace portion resulting in a long list
of bugs and incorrect behaviour(s). It also uses
ITIMER_VIRTUAL for its timer which results in the
timer being dependent on it running and the cpu
load.

This patch fixes this by moving to posix high resolution
timers firing off CLOCK_MONOTONIC and relaying the timer
correctly to the UML userspace.

Fixes:
 - crashes when hosts suspends/resumes
 - broken userspace timers - effecive ~40Hz instead
   of what they should be. Note - this modifies skas behavior
   by no longer setting an itimer per clone(). Timer events
   are relayed instead.
 - kernel network packet scheduling disciplines
 - tcp behaviour especially under load
 - various timer related corner cases

Finally, overall responsiveness of userspace is better.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Anton Ivanov <aivanov@brocade.com>
[rw: massaged commit message]
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-11-06 22:54:49 +01:00
..
clone.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
Makefile uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
mmu.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
process.c um: Remove broken SMP support 2015-04-13 21:00:58 +02:00
syscall.c um: Get rid of open coded NR_SYSCALLS 2015-11-06 22:49:10 +01:00
uaccess.c um: Rework uaccess code 2015-05-31 17:32:36 +02:00