Re: [PATCH 7/8] drm/amd: Closed hash table with low overhead

2017-09-13 Thread Alex Deucher
On Tue, Sep 12, 2017 at 7:05 PM, Felix Kuehling wrote: > This adds a statically sized closed hash table implementation with > low memory and CPU overhead. The API is inspired by kfifo. > > Storing, retrieving and deleting data does not involve any dynamic > memory

[PATCH 7/8] drm/amd: Closed hash table with low overhead

2017-09-12 Thread Felix Kuehling
This adds a statically sized closed hash table implementation with low memory and CPU overhead. The API is inspired by kfifo. Storing, retrieving and deleting data does not involve any dynamic memory management, which makes it ideal for use in interrupt context. Static memory usage per entry