summaryrefslogtreecommitdiff
path: root/arch/unicore32
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-16 13:37:46 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-23 10:18:04 +0200
commitab8e5235868f99dfc779e4eaff28f53d63714ce4 (patch)
tree78e4600735c5b690113d281c85b12fcf76b4358b /arch/unicore32
parentc5034945ce59abacdd02c5eff29f4f54df197880 (diff)
downloadlinux-3.10-ab8e5235868f99dfc779e4eaff28f53d63714ce4.tar.gz
linux-3.10-ab8e5235868f99dfc779e4eaff28f53d63714ce4.tar.bz2
linux-3.10-ab8e5235868f99dfc779e4eaff28f53d63714ce4.zip
s390/mm,gmap: segment mapping race
The gmap_map_segment function creates a special invalid segment table entry with the address of the requested target location in the process address space. The first access will create the connection between the gmap segment table and the target page table of the main process. If two threads do this concurrently both will walk the page tables and allocate a gmap_rmap structure for the same segment table entry. To avoid the race recheck the segment table entry after taking to page table lock. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions