RE: [PATCH v3 2/7] block alloc: add lifecycle APIs for cache_entry structs

2018-05-24 Thread Jameson Miller
google.com; peart...@gmail.com > Subject: Re: [PATCH v3 2/7] block alloc: add lifecycle APIs for cache_entry > structs > > Jameson Miller <jam...@microsoft.com> writes: > > > Add an API around managing the lifetime of cache_entry structs. > > Abstracting memory

Re: [PATCH v3 2/7] block alloc: add lifecycle APIs for cache_entry structs

2018-05-23 Thread Junio C Hamano
Jameson Miller writes: > 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