summaryrefslogtreecommitdiff
path: root/arch/frv
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-16 11:37:46 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-04-23 08:18:04 (GMT)
commitab8e5235868f99dfc779e4eaff28f53d63714ce4 (patch)
tree78e4600735c5b690113d281c85b12fcf76b4358b /arch/frv
parentc5034945ce59abacdd02c5eff29f4f54df197880 (diff)
downloadlinux-fsl-qoriq-ab8e5235868f99dfc779e4eaff28f53d63714ce4.tar.xz
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/frv')
0 files changed, 0 insertions, 0 deletions