diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-04-16 13:37:46 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-04-23 10:18:04 +0200 |
commit | ab8e5235868f99dfc779e4eaff28f53d63714ce4 (patch) | |
tree | 78e4600735c5b690113d281c85b12fcf76b4358b /kernel/audit.c | |
parent | c5034945ce59abacdd02c5eff29f4f54df197880 (diff) |
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 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions