[PATCH 4/4] drm/mm: remove unused API

2013-07-25 Thread Daniel Vetter
On Thu, Jul 25, 2013 at 03:56:02PM +0200, David Herrmann wrote: > We used to pre-allocate drm_mm nodes and save them in a linked list for > later usage so we always have spare ones in atomic contexts. However, this > is really racy if multiple threads are in an atomic context at the same > time and

[PATCH 4/4] drm/mm: remove unused API

2013-07-25 Thread David Herrmann
We used to pre-allocate drm_mm nodes and save them in a linked list for later usage so we always have spare ones in atomic contexts. However, this is really racy if multiple threads are in an atomic context at the same time and we don't have enough spare nodes. Moreover, all remaining users run in

Re: [PATCH 4/4] drm/mm: remove unused API

2013-07-25 Thread Daniel Vetter
On Thu, Jul 25, 2013 at 03:56:02PM +0200, David Herrmann wrote: > We used to pre-allocate drm_mm nodes and save them in a linked list for > later usage so we always have spare ones in atomic contexts. However, this > is really racy if multiple threads are in an atomic context at the same > time and

[PATCH 4/4] drm/mm: remove unused API

2013-07-25 Thread David Herrmann
We used to pre-allocate drm_mm nodes and save them in a linked list for later usage so we always have spare ones in atomic contexts. However, this is really racy if multiple threads are in an atomic context at the same time and we don't have enough spare nodes. Moreover, all remaining users run in