summaryrefslogtreecommitdiff
path: root/arch/s390/hypfs
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2023-04-04 23:06:50 +0300
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2023-04-06 11:01:42 +0300
commite44f18c6ff8beef7b2b10592287f0a9766376d9b (patch)
tree1c1985ee1c36e183cf0eae4916d1c6d330ce1645 /arch/s390/hypfs
parent322458c2bb1a0398c5775333e1e71e1ece8a461f (diff)
downloadlinux-e44f18c6ff8beef7b2b10592287f0a9766376d9b.tar.xz
drm/ttm: Make the call to ttm_tt_populate() interruptible when faulting
When swapping in, or under memory pressure ttm_tt_populate() may sleep for a substantiable amount of time. Allow interrupts during the sleep. This will also allow us to inject -EINTR errors during swapin in upcoming patches. Also avoid returning VM_FAULT_OOM, since that will confuse the core mm, making it print out a confused message and retrying the fault. Return VM_FAULT_SIGBUS also under OOM conditions. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230404200650.11043-4-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'arch/s390/hypfs')
0 files changed, 0 insertions, 0 deletions