diff options
author | Christian Borntraeger | 2013-05-08 15:25:38 +0200 |
---|---|---|
committer | Martin Schwidefsky | 2013-05-15 13:09:07 +0200 |
commit | bb4b42ce0ca36af8c113587ab64b138b3cf5459c (patch) | |
tree | cc9d66a088378d1d409220e632c54466912cf40e /lib/usercopy.c | |
parent | 617e164c35c94c936e3632b387d6dbb3d80c2c02 (diff) |
s390: fix gmap_ipte_notifier vs. software dirty pages
On heavy paging load some guest cpus started to loop in gmap_ipte_notify.
This was visible as stalled cpus inside the guest. The gmap_ipte_notifier
tries to map a user page and then made sure that the pte is valid and
writable. Turns out that with the software change bit tracking the pte
can become read-only (and only software writable) if the page is clean.
Since we loop in this code, the page would stay clean and, therefore,
be never writable again.
Let us just use fixup_user_fault, that guarantees to call handle_mm_fault.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions