Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Laxman Dewangan 3fdada39ff nvgpu: linux: ioctl: Avoid call of mmap_write_{trylock,unlock}
The API mmap_write_trylock() is deleted from core kernel with
following change in Linux 6.6
---
commit cf95e337cb63cfbf5c9ea1a1f64f9818b979e3b3
Author: Hugh Dickins <hughd@google.com>
Date:   Tue Jul 11 21:48:48 2023 -0700

    mm: delete mmap_write_trylock() and vma_try_start_write()
----

Replace the mmap_write_trylock() call with down_write_trylock with
appropriate argument.

Bug 4346767

Change-Id: I076ad51b012c706a4bada3bd303db1802cca34dd
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3007342
(cherry picked from commit 344c682a2077eb95c7d24ef1c0bf40eda70e524e)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3036796
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Tested-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-18 09:11:53 -08:00
..
2020-12-15 14:13:28 -06:00
2019-02-01 09:45:57 -08:00
2023-03-14 04:50:18 -07:00
2021-08-11 01:55:08 -07:00
2022-06-06 05:55:26 -07:00
2023-12-15 14:09:44 -08:00
2023-04-10 20:45:50 -07:00