[PATCH] drm/nouveau: protect vm refcount with mutex

2013-07-29 Thread Maarten Lankhorst
The refcount was not protected by the vm lock, fix this.. [ cut here ] WARNING: CPU: 2 PID: 2008 at drivers/gpu/drm/nouveau/core/core/mm.c:242 nouveau_mm_fini+0x4f/0x56 [nouveau]() Modules linked in: adt7475 ebtable_nat ebtables nouveau ipt_MASQUERADE iptable_nat nf_nat_i

[PATCH] drm/nouveau: protect vm refcount with mutex

2013-07-29 Thread Maarten Lankhorst
The refcount was not protected by the vm lock, fix this.. [ cut here ] WARNING: CPU: 2 PID: 2008 at drivers/gpu/drm/nouveau/core/core/mm.c:242 nouveau_mm_fini+0x4f/0x56 [nouveau]() Modules linked in: adt7475 ebtable_nat ebtables nouveau ipt_MASQUERADE iptable_nat nf_nat_i