From owner-svn-src-all@freebsd.org Sat Oct 31 20:23:07 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5ECDA455A1E; Sat, 31 Oct 2020 20:23:07 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CNrGM0RNNz3fgD; Sat, 31 Oct 2020 20:23:06 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm1-x336.google.com with SMTP id p22so5816496wmg.3; Sat, 31 Oct 2020 13:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DWOhpHPS3757yRIe7ZhdJ1T9mJ0uPs/rFHdIachPkWs=; b=tXWCjUWAKDI9e1gZsf3o2cPF/Eu5FOU8X43wkani2ZWq8ZsWB52WIw3USIf1pPrqFw So32Sw1YD3ofGJNXurlUdV3caOQ7MuPs/HkcEi+eY7iGyvBNq1GUAVK8fxkm1DfdKFEU COfcyrw1bM4iv8ACEQliYWo9viBfnCZM6rD5Ae2pKUw6ipUXbI7L+6WU/hTDAlg5yqoY 9ZDDfVR09WnG7Z42livLX6284tytlocglQgt8b/Xwmmno7VjtaGMsE91K28EXIX4i2Yt eX4dmQ7IOWNwyVMnCKlx7t4rGmniKx/1fd9C/ZfwwWqI/d8J7flQO9z+dCEqY5iF8Mei O6Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DWOhpHPS3757yRIe7ZhdJ1T9mJ0uPs/rFHdIachPkWs=; b=ocMcOI5NZ33DF6dF2roEO3auF+AdggfmLp0Igk+n88Zj/VgNidDFJCZh3gwh9yVOrO gvStCMKIo6NeBQkNLbdKKMuiu5HB7+ppaGRLpSPkr/y8IngdT/NWumqUYC6dLxtLVjVQ IFwjUw7MOEaqCyL2VALezW2kceSB38RleEwuU3j4H9XLuWYeKvtviWlf60Sh9EXKAUnH 0PVO0JM7b4j2waWSTvU0Zl9gDamH/LOq/k41W5wO6FHbpRn0zoH1eh/OnqcGfl32E16b M+jN2FzM7UyTxgYtw/8Retr5afhLn+wJvs0173ol7mK8toWT+HK9kb9Lx7gGHX4wFKpY bLyg== X-Gm-Message-State: AOAM530lD9dBVk+Npk/7soY/UIeRfEPOYNuxGgkpoIw3HAQJweH/lyRE x/20uD09PQFbEvp4yiMJSfLqvZ7JrqyscsG5TeJPJ0okHHQ= X-Google-Smtp-Source: ABdhPJy3Yyfl3z5iKV3G52gBdztsarIIO1TvXepZf99Ga3iLVNBU8jKGGVal49ewzamW0xpMtIQA4kRR/yZqXuvAhfk= X-Received: by 2002:a7b:c20d:: with SMTP id x13mr10186455wmi.83.1604175785333; Sat, 31 Oct 2020 13:23:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5d:4c4f:0:0:0:0:0 with HTTP; Sat, 31 Oct 2020 13:23:04 -0700 (PDT) In-Reply-To: <7b9e157c-9b8e-4a0e-b3f6-38edbfebf005@www.fastmail.com> References: <202010311907.09VJ7WcY036325@repo.freebsd.org> <7b9e157c-9b8e-4a0e-b3f6-38edbfebf005@www.fastmail.com> From: Mateusz Guzik Date: Sat, 31 Oct 2020 21:23:04 +0100 Message-ID: Subject: Re: svn commit: r367229 - in head/sys/contrib/openzfs: include/sys/zstd module/zstd To: Brandon Bergren Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4CNrGM0RNNz3fgD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2020 20:23:07 -0000 Yep, jenkins told me. Working on it. On 10/31/20, Brandon Bergren 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 >> 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