linux_dsm_epyc7002/arch/s390/mm
Martin Schwidefsky ab8e523586 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>
2013-04-23 10:18:04 +02:00
..
cmm.c s390/cmm: Removed useless label 2013-04-17 14:07:27 +02:00
dump_pagetables.c s390/page table dumper: add support for change-recording override bit 2013-02-28 09:37:06 +01:00
extable.c s390/exceptions: switch to relative exception table entries 2012-09-26 15:45:10 +02:00
extmem.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
fault.c s390/mm: protection exception PSW for aborted transaction 2013-04-17 12:31:31 +02:00
gup.c s390/gup: fix access_ok() usage in __get_user_pages_fast() 2012-11-13 11:02:28 +01:00
hugetlbpage.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
init.c s390/mm: zero page cache synonyms for zEC12 2013-04-17 14:07:24 +02:00
maccess.c s390/kernel: Introduce memcpy_absolute() function 2012-05-30 09:04:49 +02:00
Makefile s390/memory hotplug: use pfmf instruction to initialize storage keys 2012-11-23 11:14:30 +01:00
mmap.c s390/mm: Fix crst upgrade of mmap with MAP_FIXED 2013-02-14 15:55:22 +01:00
page-states.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pageattr.c s390/mm: speedup storage key initialization 2013-04-17 14:07:29 +02:00
pgtable.c s390/mm,gmap: segment mapping race 2013-04-23 10:18:04 +02:00
vmem.c s390/mm: ignore change bit for vmemmap 2013-02-28 09:37:06 +01:00