Re: [PATCH v1 2/5] Add an API creating / discarding cache_entry structs

2018-04-17 Thread Ben Peart
On 4/17/2018 12:34 PM, Jameson Miller wrote: Add an API around managing the lifetime of cache_entry structs. Abstracting memory management details behind an API will allow for alternative memory management strategies without affecting all the call sites. This commit does not change how memory

[PATCH v1 2/5] Add an API creating / discarding cache_entry structs

2018-04-17 Thread Jameson Miller
Add an API around managing the lifetime of cache_entry structs. Abstracting memory management details behind an API will allow for alternative memory management strategies without affecting all the call sites. This commit does not change how memory is allocated / freed. A later commit in this seri