Displaying 2 results from an estimated 2 matches for "c02db3b8".
2015 Nov 11
1
[PATCH] instmem/gk20a: fix race conditions
...m_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] [<bf0b6bfc>] (nouveau_drm_ioctl [nouveau]) from
[<c0103860>] (do_vfs_ioctl+0x458/0x6dc)
[ 270.636471] [<c0103860>] (do_vfs_ioc...
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