[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] Re: [patch] Simplify control flow

From: Arun Sharma
Subject: [Libunwind-devel] Re: [patch] Simplify control flow
Date: Fri, 20 Nov 2009 12:11:10 -0800

On Wed, Nov 18, 2009 at 5:55 PM, Paul Pluzhnikov <address@hidden> wrote:

Attached patch gets rid of additional unnecessary branch (rs_get_cache
can not return NULL unless caching_policy is UNW_CACHE_NONE), gets rid of
goto's, and makes apply_reg_state (major CPU consumer) execute with cache
lock not held (before the patch, apply_reg_state was called with lock held
for newly-inserted entries, but not for found-in-cache entries).

Tested on Linux/x86_64 with no regressions.

Applied both patches. Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]