kernel-ark/arch
Jan Kiszka b6ddf05ff6 KVM: x86: Run PIT work in own kthread
We can't run PIT IRQ injection work in the interrupt context of the host
timer. This would allow the user to influence the handler complexity by
asking for a broadcast to a large number of VCPUs. Therefore, this work
was pushed into workqueue context in 9d244caf2e. However, this prevents
prioritizing the PIT injection over other task as workqueues share
kernel threads.

This replaces the workqueue with a kthread worker and gives that thread
a name in the format "kvm-pit/<owner-process-pid>". That allows to
identify and adjust the kthread priority according to the VM process
parameters.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2012-04-27 19:40:29 -03:00
..
alpha Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
arm Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
avr32 kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
blackfin kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
c6x Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
cris Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-03-29 18:12:23 -07:00
frv kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
h8300 kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
hexagon kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
ia64 KVM: ia64: fix build due to typo 2012-04-19 20:35:43 -03:00
m32r Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-03-29 18:12:23 -07:00
m68k kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
microblaze kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
mips kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
mn10300 kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
openrisc kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
parisc kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
powerpc Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
s390 Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
score kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
sh kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
sparc Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
tile Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
um Merge branch 'linus' into queue 2012-04-19 17:06:26 -03:00
unicore32 kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
x86 KVM: x86: Run PIT work in own kthread 2012-04-27 19:40:29 -03:00
xtensa kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
.gitignore
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2012-03-29 14:49:45 -07:00