]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/vm: take subdev mutex, not the mm, protects against race with vm/nvc0
authorBen Skeggs <bskeggs@redhat.com>
Mon, 13 May 2013 12:26:26 +0000 (22:26 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 1 Jul 2013 03:45:03 +0000 (13:45 +1000)
commit4e66dcbbd7b39735e384ccee049456ab42eaabb3
tree64f83ce0bffd874d82b4fe474ae696b4c5cccf11
parent0303a69108ff89abb9c95d45de9e1cd49b873fb8
drm/nouveau/vm: take subdev mutex, not the mm, protects against race with vm/nvc0

nvc0_vm_flush() accesses the pgd list, which will soon be able to race
with vm_unlink() during channel destruction.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/vm/base.c