[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the purpose of wdcache and wlcache?
From: |
Chet Ramey |
Subject: |
Re: What is the purpose of wdcache and wlcache? |
Date: |
Fri, 8 Feb 2019 10:42:15 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
On 2/8/19 10:39 AM, Peng Yu wrote:
>> Yes: ocache_free.
>
> Could you please help explain what wdcache and wlcache actually do.
> Why is it essential to have them? Why not just alloc and free them
> without the caches? Thanks.
To avoid potentially-expensive calls to malloc and free, the same as
any cache.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- What is the purpose of wdcache and wlcache?, Peng Yu, 2019/02/07
- Re: What is the purpose of wdcache and wlcache?, Chet Ramey, 2019/02/08
- Re: What is the purpose of wdcache and wlcache?, Peng Yu, 2019/02/08
- Re: What is the purpose of wdcache and wlcache?,
Chet Ramey <=
- Re: What is the purpose of wdcache and wlcache?, Peng Yu, 2019/02/08
- Re: What is the purpose of wdcache and wlcache?, Chet Ramey, 2019/02/08
- Re: What is the purpose of wdcache and wlcache?, Peng Yu, 2019/02/08
- Re: What is the purpose of wdcache and wlcache?, Eric Blake, 2019/02/08
- Re: What is the purpose of wdcache and wlcache?, Chet Ramey, 2019/02/08