diff options
author | Liam R. Howlett <Liam.Howlett@Oracle.com> | 2023-01-20 11:26:35 -0500 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-09 16:51:36 -0800 |
commit | c465be97a4bc0022688d99f77a75b9be91843b31 (patch) | |
tree | 23ba7cea180c7b4b95e72bbba3da5b37d290bf1e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 85ab779e3426dc47cc27418821e6577680b509b9 (diff) | |
download | linux-c465be97a4bc0022688d99f77a75b9be91843b31.tar.gz linux-c465be97a4bc0022688d99f77a75b9be91843b31.tar.bz2 linux-c465be97a4bc0022688d99f77a75b9be91843b31.zip |
mm: remove unnecessary write to vma iterator in __vma_adjust()
If the vma start address is going to change due to an insert, then it is
safe to not write the vma to the tree. The write of the insert vma will
alter the tree as necessary.
Link: https://lkml.kernel.org/r/20230120162650.984577-35-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions