aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorChristian Borntraeger <[email protected]>2020-03-27 08:06:42 +0100
committerChristian Borntraeger <[email protected]>2020-03-27 06:42:53 -0400
commit7a2653612bb6f18fb236c5b0c4d28f7b459bf7c2 (patch)
tree15c690814a85cacbcfe58c052d5b058e64c8cab0 /scripts/bpf_helpers_doc.py
parentf3dd18d444c757840920434e62809b6104081b06 (diff)
s390/gmap: return proper error code on ksm unsharing
If a signal is pending we might return -ENOMEM instead of -EINTR. We should propagate the proper error during KSM unsharing. unmerge_ksm_pages returns -ERESTARTSYS on signal_pending. This gets translated by entry.S to -EINTR. It is important to get this error code so that userspace can retry. To make this clearer we also add -EINTR to the documentation of the PV_ENABLE call, which calls unmerge_ksm_pages. Fixes: 3ac8e38015d4 ("s390/mm: disable KSM for storage key enabled pages") Reviewed-by: Janosch Frank <[email protected]> Reported-by: Marc Hartmayer <[email protected]> Tested-by: Marc Hartmayer <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions