kernel-fxtec-pro1x/arch/s390
Carsten Otte 2668dab794 KVM: s390: Fix memory slot versus run - v3
This patch fixes an incorrectness in the kvm backend for s390.
In case virtual cpus are being created before the corresponding
memory slot is being registered, we need to update the sie
control blocks for the virtual cpus.

*updates in v3*
In consideration of the s390 memslot constraints locking was changed
to trylock. These locks should never be held, as vcpu's can't run without
the single memslot we just assign when running this code. To ensure this
never deadlocks in case other code changes the code uses trylocks and bail
out if it can't get all locks.

Additionally most of the discussed special conditions for s390 like
only one memslot and no user_alloc are now checked for validity in
kvm_arch_set_memory_region.

Reported-by: Mijo Safradin <mijo@linux.vnet.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-06-10 11:48:55 +03:00
..
appldata [S390] appldata: avoid deadlock with appldata_mem 2009-04-23 13:58:17 +02:00
boot
crypto Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2009-03-26 16:04:22 -07:00
hypfs [S390] fix hypfs build failure 2009-03-31 19:17:03 +02:00
include/asm [S390] /proc/stat idle field for idle cpus 2009-04-23 13:58:17 +02:00
kernel s390: convert to use __HEAD and HEAD_TEXT macros. 2009-04-26 09:20:39 -07:00
kvm KVM: s390: Fix memory slot versus run - v3 2009-06-10 11:48:55 +03:00
lib [S390] use compiler builtin versions of strlen/strcpy/strcat 2009-03-26 15:24:24 +01:00
math-emu
mm [S390] cpumask: use mm_cpumask() wrapper 2009-03-26 15:24:34 +01:00
oprofile
defconfig [S390] update default configuration. 2009-04-23 13:58:18 +02:00
Kconfig mutex: have non-spinning mutexes on s390 by default 2009-04-09 19:28:24 +02:00
Kconfig.debug generic debug pagealloc: build fix 2009-04-02 19:04:48 -07:00
Makefile