summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2026-02-24 07:41:07 +0100
committerVasily Gorbik <gor@linux.ibm.com>2026-02-25 17:00:25 +0100
commitd879ac6756b662a085a743e76023c768c3241579 (patch)
tree7abe5ec8541e21e3fcf2278514994167be11eca0 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent1623a554c68f352c17d0a358bc62580dc187f06b (diff)
s390/pfault: Fix virtual vs physical address confusion
When Linux is running as guest, runs a user space process and the user space process accesses a page that the host has paged out, the guest gets a pfault interrupt and schedules a different process. Without this mechanism the host would have to suspend the whole virtual CPU until the page has been paged in. To setup the pfault interrupt the real address of parameter list should be passed to DIAGNOSE 0x258, but a virtual address is passed instead. That has a performance impact, since the pfault setup never succeeds, the interrupt is never delivered to a guest and the whole virtual CPU is suspended as result. Cc: stable@vger.kernel.org Fixes: c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces") Reported-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions