Displaying 2 results from an estimated 2 matches for "bf0be138".
2015 Nov 11
1
[PATCH] instmem/gk20a: fix race conditions
..._vma_add [nouveau]) from
[<bf0bdbd0>] (nouveau_gem_object_open+0x124/0x158 [nouveau])
[ 270.588196] [<bf0bdbd0>] (nouveau_gem_object_open [nouveau]) from
[<c02da62c>] (drm_gem_handle_create_tail+0x104/0x19c)
[ 270.599025] [<c02da62c>] (drm_gem_handle_create_tail) from
[<bf0be138>] (nouveau_gem_ioctl_new+0x90/0x18c [nouveau])
[ 270.609594] [<bf0be138>] (nouveau_gem_ioctl_new [nouveau]) from
[<c02db3b8>] (drm_ioctl+0x284/0x440)
[ 270.618777] [<c02db3b8>] (drm_ioctl) from [<bf0b6bfc>]
(nouveau_drm_ioctl+0x54/0x98 [nouveau])
[ 270.627441] [<bf0...
2015 Nov 09
2
[PATCH] instmem/gk20a: fix race conditions
The LRU list used for recycling CPU mappings was handling concurrency
very poorly. For instance, if an instobj was acquired twice before being
released once, it would end up into the LRU list even though there is
still a client accessing it.
This patch fixes this by properly counting how many clients are
currently using a given instobj.
While at it, we also raise errors when inconsistencies are