Message ID | 20230325024631.2817153-3-senozhatsky@chromium.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 839A4C6FD1C for <linux-mm@archiver.kernel.org>; Sat, 25 Mar 2023 02:46:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D4864900002; Fri, 24 Mar 2023 22:46:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CF8566B0078; Fri, 24 Mar 2023 22:46:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BBFAD900002; Fri, 24 Mar 2023 22:46:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id AE8F36B0075 for <linux-mm@kvack.org>; Fri, 24 Mar 2023 22:46:47 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 82061ABAFA for <linux-mm@kvack.org>; Sat, 25 Mar 2023 02:46:47 +0000 (UTC) X-FDA: 80605882854.17.63B03FE Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by imf09.hostedemail.com (Postfix) with ESMTP id A9CFA14000C for <linux-mm@kvack.org>; Sat, 25 Mar 2023 02:46:45 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=H4Uol1cO; spf=pass (imf09.hostedemail.com: domain of senozhatsky@chromium.org designates 209.85.214.178 as permitted sender) smtp.mailfrom=senozhatsky@chromium.org; dmarc=pass (policy=none) header.from=chromium.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679712405; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ertGgOCPC3YjWIL6B+j1WyltPx6+X44t3T9Dfq8TDO8=; b=vcVknypcoas5iFS9rTUbeBV2u840UQOEYJ6yKsxitg68r5Odc5f5slVHmlYUZ2hb9nCsXq pOjXNu+fsnm5x3eNkiriYzIgEtfNs7NanbylCW7cuGieMbtbGyYcow3JCXWYh0LlmGXLY8 KL/9x0mlk8YsvYaxZztQRVG6Pw5RNiQ= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=H4Uol1cO; spf=pass (imf09.hostedemail.com: domain of senozhatsky@chromium.org designates 209.85.214.178 as permitted sender) smtp.mailfrom=senozhatsky@chromium.org; dmarc=pass (policy=none) header.from=chromium.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679712405; a=rsa-sha256; cv=none; b=7OwHoHsGyWOjXRwo3dRT8RcQbev+Z3tmCIIn334Kc6CARnfvmJv1DuBjuieZ0X+wF1nCIH S5sq7f8WnMednUve1FllMoaZnaA90u0HTgWoABHHdTgAeR11mymo6vCi1yzkYYTn8ftBvd 8LXRrBFdS4jmqAIAOk0pon2sRAeIrQo= Received: by mail-pl1-f178.google.com with SMTP id o2so3528758plg.4 for <linux-mm@kvack.org>; Fri, 24 Mar 2023 19:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679712404; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ertGgOCPC3YjWIL6B+j1WyltPx6+X44t3T9Dfq8TDO8=; b=H4Uol1cO7x6dkLKmgVJCtlEPbyk5WI1lLJLc57rJYO5SQA6kMITQVHxNeGGxZ9M8Iq pNZL3snUHp7A7ELjpuXdMLiLuhlgcc6FaK0Tdp7SDuXNxTw6Nz8S7vf6lMJStUacWQXN RkOW1dVIOq/MWhITlqJ7EC9mXUsH9MDoE/S+o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679712404; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ertGgOCPC3YjWIL6B+j1WyltPx6+X44t3T9Dfq8TDO8=; b=bF2o96Yum7mY/0iLk+w9GqWepQR4fZTdv4Lrx2QOViqkSvpm28osrcozeDTCLLE2+K cIVIKVWQpkITw8Oz3fLZYNaeySslKOPHbjkAYTWWfOQLsNhxAYXV/62rwIEpPUl7Soh3 vVsaZHjQ+kSpqwfngxj9fhbYmwT4t1gyLLVYyIdq3u1bEu94snRuX7GVQuElpZYgtHIm 4YyGKF3X4pN2PL6FNlP/aB9A85xpkGT+z8sWMsd3pt/Sw0P0limga20GxiNnBpSrBdyl a1EPbh8zr43HuyKGBpS0SgeNZqwNrmirob7nl9fzirNoyXRaJ5//1lQxEOWz/49MH1iF GMyA== X-Gm-Message-State: AAQBX9eNJGneya9IO5MCvGbPwr2526CNsiUZsT3BA2/4o33dJcuvw38U 2hrgY98+Ib/urqRnI7hTl5/ko23Wr7TQ3o22UsN4rQ== X-Google-Smtp-Source: AKy350au84O5zSgaUu/AUBu3IwQWtPCh/tHO+7MXfd22tljffRG63bOdi7TF/kGtnQ9/WRAqDRkaTw== X-Received: by 2002:a17:90a:7306:b0:237:b702:499f with SMTP id m6-20020a17090a730600b00237b702499fmr4976033pjk.22.1679712404643; Fri, 24 Mar 2023 19:46:44 -0700 (PDT) Received: from tigerii.tok.corp.google.com ([2401:fa00:8f:203:6179:9cb5:be4d:f76b]) by smtp.gmail.com with ESMTPSA id hv19-20020a17090ae41300b0023b4d33bedbsm3675840pjb.21.2023.03.24.19.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 19:46:44 -0700 (PDT) From: Sergey Senozhatsky <senozhatsky@chromium.org> To: Andrew Morton <akpm@linux-foundation.org>, Minchan Kim <minchan@kernel.org> Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky <senozhatsky@chromium.org> Subject: [PATCH 2/2] zsmalloc: document freeable stats Date: Sat, 25 Mar 2023 11:46:31 +0900 Message-Id: <20230325024631.2817153-3-senozhatsky@chromium.org> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230325024631.2817153-1-senozhatsky@chromium.org> References: <20230325024631.2817153-1-senozhatsky@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A9CFA14000C X-Stat-Signature: 4bz1dqswaxcksecoccp6qqjagwpaggdf X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1679712405-645350 X-HE-Meta: U2FsdGVkX1+gmdpG2+7a4h02CsFn1sddslZGnR3zHsgcE43VgyLCiIInADStZER8Sl4FaRW9FziqRb7l+DDGq/v625dw/w+SfS3HtYmBr6+IGGabMzslulqRxDr1iUTf2Ox4BMGiIDFmr+0LkM0d993D1eoBRHit/xwcpwjpnS7FCpFFjtrkRG90q7ScQtJ+jcuHOzMQxLeFC6FsM81/cHRhGSjrrRPKxu+ueQYSspDlMaLoVudgo7V0K+EsG5fx6g1EfmOR8OwH6ToOSQl/8hjKXynUBpPTQDnEiduFNqNGCqBkoHWJclQuxBOgK1GSdeCRmO97TBoq7lQrnAwhvvnV7LnAT6z5Yk+2XAtej78XmitsDgppx4Wv1t+qTHHBxXtpnl7fsTlzhF1O2hblFLu44G9rGz8hpE13oJh9IXTmfj39qOvPsWstsovgaxSmE3ZHwz8xgvTeJH3+GD+glhQUq3ivdAcB0WYcQCapSMlq2cd9UT/0CZ4WUZ54TLAWfVlscqeBfD1FZHonPFQRp04sA40m+LZcLJy0YO2UCWl2S3xmxzyLgif3v2Lraax3zl4aTf+S4SzmQXQPg6DZLQuO+KQlCfGU8YXxZW7aqVXF1YvyehIyQ61CFEwtf57sHFa3Gug9Q3afAUso3gkbqLjf1D13GAmAuPQc6BSaTMdqCBrLDOGVyWUf2fhaNjW1T67xHVWZ75aqrsa/SWv3/WJjsMS0EyxrgSV85D0fa9dVMQyJg51BIHVJn4Ehe48LOC9lPAiUjUdfEg2mAGfjhNYMyx1rzTpEyyah0LO3ptX4s1kb2CssVIX94nK99RazUgbLzA6b1Ln7MHTY0n9OZ+zNrbVSKKkGcpSkneWsSO9OOXvRxBl/K5KGAZ2tG1URceFfZUJXC55Wd4STXViX96ovAePTfNdMOTehcxcCgvUEVNlhDlU3ghc963lVtoTne+kWLKPYcuclhrK/xnZ +7OVMKgP uPVjJN9PAMlezFqU1t/hBSaZ2RWRkhZHcW3g5CqY8VnsEijVsJ6v1y3XspXji3f4WX7bS8k7A5gt6b7uR6FbcbRjVMAPEj2x8RI69CQte8ZNhs2C2X3OIVDgOa9u9aMYkVpggPzDc8t4BogcMjWrbT2F1z9NaLEpZ/s2PrH40W8ZCHVS+kMKfPSRoSKDNFaL49edJqLRP6EMwIptBnYoPA1gnPLuertekzrJagMEbUTLXSlpoOazOY3htKD9/JAGLcTeHqBvEtRU6kczKw4dl5prwvp/ZanYaP+aYNfgqGKIG88z/QQ14xxXYh276n4tJu0g3JUKgawsdMXJ+BVgSM+elpGjlmOn3hYEBOJDK1SqG5KBcW4tBfOQEnqbpUtOag6m5hjEgk8gGaPcXpW7qtdQQR7xyPaCEvdxSG/DUQ9I6wpc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
zsmalloc: minor documentation updates
|
expand
|
diff --git a/Documentation/mm/zsmalloc.rst b/Documentation/mm/zsmalloc.rst index 3c6bf639887f..a3c26d587752 100644 --- a/Documentation/mm/zsmalloc.rst +++ b/Documentation/mm/zsmalloc.rst @@ -83,6 +83,8 @@ pages_used the number of pages allocated for the class pages_per_zspage the number of 0-order pages to make a zspage +freeable + the approximate number of pages class compaction can free Each zspage maintains inuse counter which keeps track of the number of objects stored in the zspage. The inuse counter determines the zspage's
When freeable class stat was added to classes file (back in 2016) we forgot to update zsmalloc documentation. Fix that. Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> --- Documentation/mm/zsmalloc.rst | 2 ++ 1 file changed, 2 insertions(+)