svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd
Mateusz Guzik
mjguzik at gmail.com
Sat Oct 31 20:23:07 UTC 2020
Yep, jenkins told me. Working on it.
On 10/31/20, Brandon Bergren <bdragon at freebsd.org> wrote:
> This doesn't compile on platforms such as powerpc without pulling in the
> opensolaris atomics header from the spl that does locking emulation of 64
> bit atomics, as platforms that don't have native 64 bit atomics do not
> provide them in the system header.
>
> On Sat, Oct 31, 2020, at 2:07 PM, Mateusz Guzik wrote:
>> Author: mjg
>> Date: Sat Oct 31 19:07:32 2020
>> New Revision: 367229
>> URL: https://svnweb.freebsd.org/changeset/base/367229
>>
>> Log:
>> zfs: zstd: track allocator statistics
>>
>> This applies:
>> commit c4ede65bdfca11b532403620bbf0d6e33f0c1c1d
>> Author: Mateusz Guzik <mjguzik at gmail.com>
>> Date: Fri Oct 30 23:26:10 2020 +0100
>>
>> zstd: track allocator statistics
>>
>> Note that this only tracks sizes as requested by the caller.
>> Actual allocated space will almost always be bigger (e.g., rounded
>> up to
>> the next power of 2 or page size). Additionally the allocated buffer
>> may
>> be holding other areas hostage. Nonetheless, this is a starting
>> point
>> for tracking memory usage in zstd.
>>
>> from openzfs
>>
>> Modified:
>> head/sys/contrib/openzfs/include/sys/zstd/zstd.h
>> head/sys/contrib/openzfs/module/zstd/zfs_zstd.c
>>
>
--
Mateusz Guzik <mjguzik gmail.com>
More information about the svn-src-all
mailing list