[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] WIP patch: configurable cache size
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] WIP patch: configurable cache size |
Date: |
Mon, 22 Dec 2014 22:14:09 +0530 |
On Sat, Oct 4, 2014 at 10:49 PM, Milian Wolff <address@hidden> wrote:
>> * global vs thread local vs none should be based on the caching
>> policy. It's possible that this is what you've done.
>
> That is actually something I'm not so sure about I did correctly. If I'm not
> mistaken, the old cache behavior was always global, no? It always used the
> cache set in the unw_addr_space_t (which is global, and not per-thread, no?).
> Now, with the code I copied over, I think it's going to be global/thread-
> local/none as you say. But if someone could review that, I'd appreciate that.
That's right. src/dwarf/Gparser.c supports only UNW_CACHE_NONE or
UNW_CACHE_GLOBAL.
The only platform that supports UNW_CACHE_PER_THREAD is ia64 via a
__thread cache.
-Arun