[S390] fix list corruption in gmap reverse mapping
authorCarsten Otte <cotte@de.ibm.com>
Sun, 30 Oct 2011 14:17:01 +0000 (15:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 30 Oct 2011 14:16:44 +0000 (15:16 +0100)
commitcc772456ac9b460693492b3a3d89e8c81eda5874
tree7cd7a0cc3dd7fffeae5ed8e98ff57b709247c9e5
parenta9162f238a84ee05b09ea4b0ebd97fb20448c28c
[S390] fix list corruption in gmap reverse mapping

This introduces locking via mm->page_table_lock to protect
the rmap list for guest mappings from being corrupted by concurrent
operations.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/pgtable.c