[Libunwind-devel] [PATCH V2] Configurable cache size

2016-12-01 Thread Dave Watson
This is a re-spin of Milian's last patch: http://lists.nongnu.org/archive/html/libunwind-devel/2014-10/msg6.html Changes: * Use item size and round up to nearest power of 2. * Initial cache still exists in BSS. Without this, it means we would fail backtrace when out of memory. The test-m

Re: [Libunwind-devel] [PATCH V2] Configurable cache size

2016-12-01 Thread Bert Wesarg
On Fri, Dec 2, 2016 at 12:20 AM, Dave Watson wrote: > This is a re-spin of Milian's last patch: > http://lists.nongnu.org/archive/html/libunwind-devel/2014-10/msg6.html > > Changes: > > * Use item size and round up to nearest power of 2. > > * Initial cache still exists in BSS. Without this,