From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 430A2C433EF for ; Wed, 27 Apr 2022 19:52:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235028AbiD0Tzx (ORCPT ); Wed, 27 Apr 2022 15:55:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiD0Tzr (ORCPT ); Wed, 27 Apr 2022 15:55:47 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A12633A2 for ; Wed, 27 Apr 2022 12:52:32 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id o11so1939668qtp.13 for ; Wed, 27 Apr 2022 12:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5hVT2KZy0tNO5QjzJ5BALuuraIswglFaGXimoEvq+80=; b=RoLeBSaeDEDxPoktV5qrOLc4/I2Dx+LTpNZ7Wj6fyQ77YMNwSeXgLPRJ1qSONbpqLR mHqNHPCRGKYe4R+86xtlO2LmdTXr+KGN3o2tP5wf1HtVfe2yfZhPfgKQ/S0pSXjGeWkc mxQ86Ev3GYvi7pRNES2AeprnQeaQfkrJsRuJwSjC6LRlRdwc3/TvxRjyMO+O/MRok5Px FhRWQcQ5QwoUtjRBdLtHkOqa6ia+JwES89j3PzlUKwIvB9YocPRIFt9yXcpXWS0SHeAa OYC3h+xkoY6Sima1XoDlvOxF49Whe+96OBjV3uqLt3BX1y19vbvUsaastqGEdSSxG0RR 66Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5hVT2KZy0tNO5QjzJ5BALuuraIswglFaGXimoEvq+80=; b=PrwAMJanqu7fDHnBURB3C7JTNnGRovtwslloBQWQ1kZgUvASMscuLEJNGWU9uXEy6y 0rLnXLtmDmmLDQRmoTdciixavQmz4KwZcSTCQawOrH7d7r2xh1mFLQa/Sr+Ihg+f/ywX T7FNfgR4Slc8a2CYd+TdGnkVCx9R0vWHBE3wKE0h9zXRLRJ1sKrOO37JFrC7sIK9J57V rO3WpJc/qdVMv2SzEFaAVRRQBPm1SZI9nSfnf22cn+yEK2n2p3fkj7ylx6MYW1FJDRHo 0nDhG4ZNMPZWsPJi2EYGfc5ZMhBbD3+4E19BHOsEy7iH/KIcpIJXWpp3V96dt1NAj+Mh axrg== X-Gm-Message-State: AOAM531uvObfL2Ndjbn3tnymIhP77cV0rdYraYXf6gDKe8FO4ioquWhu kJqoRhWP/uKpcak5SmU7Gz2frw== X-Google-Smtp-Source: ABdhPJwRhN/7MCHg4fuQDFiFHMuBEQ5tjpxnfulCpOI07KCpS4he5/I7tFCZ8oP28DLZFm5ReGemrQ== X-Received: by 2002:ac8:5f50:0:b0:2f2:1e88:f919 with SMTP id y16-20020ac85f50000000b002f21e88f919mr20853567qta.535.1651089151565; Wed, 27 Apr 2022 12:52:31 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:f617]) by smtp.gmail.com with ESMTPSA id t10-20020a05620a034a00b0069c06c95bf7sm8327696qkm.14.2022.04.27.12.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 12:52:31 -0700 (PDT) Date: Wed, 27 Apr 2022 15:51:55 -0400 From: Johannes Weiner To: Andrew Morton Cc: Michal Hocko , Roman Gushchin , Shakeel Butt , Seth Jennings , Dan Streetman , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 4/5] mm: zswap: add basic meminfo and vmstat coverage Message-ID: References: <20220427160016.144237-1-hannes@cmpxchg.org> <20220427160016.144237-5-hannes@cmpxchg.org> <20220427113654.ef8f543d7ba279952deff6f7@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 27, 2022 at 02:53:10PM -0400, Johannes Weiner wrote: > [...] and a delta fixlet for 4/5. >From 35851ad3ddbf30122d755bdf8abea6dc188492a2 Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 27 Apr 2022 15:44:23 -0400 Subject: [PATCH 6/7] mm: zswap: add basic meminfo and vmstat coverage fix Signed-off-by: Johannes Weiner --- Documentation/filesystems/proc.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index 736ed384750c..8b5a94cfa722 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -964,6 +964,8 @@ Example output. You may not have all of these fields. Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB + Zswap: 1904 kB + Zswapped: 7792 kB Dirty: 12 kB Writeback: 0 kB AnonPages: 4654780 kB @@ -1055,6 +1057,10 @@ SwapTotal SwapFree Memory which has been evicted from RAM, and is temporarily on the disk +Zswap + Memory consumed by the zswap backend (compressed size) +Zswapped + Amount of anonymous memory stored in zswap (original size) Dirty Memory which is waiting to get written back to the disk Writeback -- 2.35.3