diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0838-drm-amdgpu-Use-GFP_NOIO-with-reclaim-safe-locks.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0838-drm-amdgpu-Use-GFP_NOIO-with-reclaim-safe-locks.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0838-drm-amdgpu-Use-GFP_NOIO-with-reclaim-safe-locks.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0838-drm-amdgpu-Use-GFP_NOIO-with-reclaim-safe-locks.patch deleted file mode 100644 index 3a6aa781..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0838-drm-amdgpu-Use-GFP_NOIO-with-reclaim-safe-locks.patch +++ /dev/null @@ -1,31 +0,0 @@ -From a082ac2f591bbc3432396a6006a1d17ac4d013a6 Mon Sep 17 00:00:00 2001 -From: Felix Kuehling <Felix.Kuehling@amd.com> -Date: Tue, 21 Mar 2017 11:25:30 -0400 -Subject: [PATCH 0838/4131] drm/amdgpu: Use GFP_NOIO with reclaim-safe locks - -Locks that are held in reclaim-fs context (in MMU notifiers invoked -under memory pressure) must not themselves cause memory reclaims -while held to prevent deadlocks. Use GFP_NOIO to ensure this. - -Change-Id: I94d5ebf4b1247618701701e37dad6acdfdf9a46d -Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c -index 3b0f2ec..68d363d 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c -@@ -279,7 +279,7 @@ int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) - } - - if (!node) { -- node = kmalloc(sizeof(struct amdgpu_mn_node), GFP_KERNEL); -+ node = kmalloc(sizeof(struct amdgpu_mn_node), GFP_NOIO); - if (!node) { - mutex_unlock(&rmn->lock); - return -ENOMEM; --- -2.7.4 - |