You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yunkai Zhang (JIRA)" <ji...@apache.org> on 2013/06/05 05:31:20 UTC

[jira] [Updated] (TS-1938) Remove unnecessary thread_id() wrapper in reclaimable freelist

     [ https://issues.apache.org/jira/browse/TS-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yunkai Zhang updated TS-1938:
-----------------------------

    Attachment: 0001-Remove-unnecessary-thread_id-wrapper-in-reclaimable-.patch
    
> Remove unnecessary thread_id() wrapper in reclaimable freelist
> --------------------------------------------------------------
>
>                 Key: TS-1938
>                 URL: https://issues.apache.org/jira/browse/TS-1938
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Yunkai Zhang
>         Attachments: 0001-Remove-unnecessary-thread_id-wrapper-in-reclaimable-.patch
>
>
> Remove unnecessary thread_id() wrapper in reclaimable
>  freelist
> pthread_self() on x86 can accesses a register on CPU, it's quite
> fast enough.
> So thread_id() wrapper is unnecessary, let's drop it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira