Message ID | 20240806004518.3183562-1-nphamcs@gmail.com (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 021A0C3DA7F for <linux-mm@archiver.kernel.org>; Tue, 6 Aug 2024 00:45:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3E5CE6B007B; Mon, 5 Aug 2024 20:45:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3960E6B0082; Mon, 5 Aug 2024 20:45:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 25D076B0083; Mon, 5 Aug 2024 20:45:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 092CC6B007B for <linux-mm@kvack.org>; Mon, 5 Aug 2024 20:45:23 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 7E8A6A1D7A for <linux-mm@kvack.org>; Tue, 6 Aug 2024 00:45:22 +0000 (UTC) X-FDA: 82419976884.24.931533C Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) by imf06.hostedemail.com (Postfix) with ESMTP id A10C0180015 for <linux-mm@kvack.org>; Tue, 6 Aug 2024 00:45:20 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=g0dStl1D; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf06.hostedemail.com: domain of nphamcs@gmail.com designates 209.85.128.174 as permitted sender) smtp.mailfrom=nphamcs@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722905051; 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=f24byKXBsDdCoUziB9qpsoPdrCNk3SpbbSe3cKaZfUE=; b=f21it8ppMqhCtvGFt/M0zIYUGLodKUE+zmgP5oYyVJ2Kxej8KPCkvgfVMdF59pdG8aU0xn GmL0nJHIZiMb52fpgrMqk9pQv3DGPW0dqGMEKL2+u8HNlDL4JPuhZfnr95/3ZpiMLhjhzq VI1ePE6w/ShdOuTIqv+/bgSOTgQW8Oc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722905051; a=rsa-sha256; cv=none; b=yS73skieao4cUuzUMgmaTeslK9GdZ3DNRvB1HGO94XAgN40r0p0UIfRfoZ/WLRtGSvnc+G DHB5MtD6nMvm+nciaHGO6/1C2EigCItaDdVWd6rS5abDklbLhb6+AD7QtzN3VIpEfZKZFX FDmtQStMphwLnNgMbuLoklfzDv0BCEQ= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=g0dStl1D; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf06.hostedemail.com: domain of nphamcs@gmail.com designates 209.85.128.174 as permitted sender) smtp.mailfrom=nphamcs@gmail.com Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-68aa9c894c7so637537b3.1 for <linux-mm@kvack.org>; Mon, 05 Aug 2024 17:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722905119; x=1723509919; darn=kvack.org; 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=f24byKXBsDdCoUziB9qpsoPdrCNk3SpbbSe3cKaZfUE=; b=g0dStl1D5aaL6kx//kZhLsRVaxa86udQ/prb5bDYQ26LAfmP/DECUgJfcq5TrOMItU fDKSa9CVI+Hscnqmq+fur/wlWRhl8cloZpjdS4p0zJPsp9j4OL0SSuXP4VMjunWWD33r zTo7eZ2J7AL5Aye1IbIy8KZvxAsBWhvDhKeQSIoxT/+YtJdgYt2kY/LX5k+nuYitww6Y /17RpGhLiKQ5VQH64f5OB+HbT+4oCDoeOtDB9xz4LeDpV6YKYlhllI9YKMgOLnl4XKB7 Q8RLvTYEhRuZ1cqqIap1evH9moU6JAI9wbgI98o0klp7ZuXqgQnGF5Q4H0Tu3Y7NXxFL 5vlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722905119; x=1723509919; 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=f24byKXBsDdCoUziB9qpsoPdrCNk3SpbbSe3cKaZfUE=; b=DgoTT2wl8vdn733lBZ36o8/DNndD6P+dzxcunMR4RIGY7ujdDGKiwMf6wXgEuYUHB+ BmI2sL4slPWYzzPlYbeziNfrJB1M+KAvClQaa0uqgWkZPh1NqnAh3e5c+GkTOqrcC/d2 xwHKEbFam1CjcR17vSmuPbWyMajc/R7ogDhLBxfErFUFr0L6nMtLivLOw7NwqB7Ro/Jf WO7p58/alMQ8bMgGvgZ5xVsU6KfIT5Lr3gr5a2FyxJ45QkWZBuzPswAmzWBRB1laTcaz uudx7yBjVVLyr9ka6yTW1wYv3XSR3sFJ8TOhORxvOrx/6WWafC+Phekjk/vXC24c/DEb KDvQ== X-Forwarded-Encrypted: i=1; AJvYcCXtDfKM3bAPjcz38qPWbe028YE+0t2YO7i3WRdO8ZsaT2/7D4iNuE/r1LLIgMsDzoDmFoSaH7Mtrk05BmUy7jreJeo= X-Gm-Message-State: AOJu0YyKJUxSiXjZVyGgsdehEyJkYWoh3K7FZfBy8jFoc/vWME2sEi9V xWx5l5I+1/J9Mp+7d03f2jklJuTsHFMy01v5pGrHauK4Aw29P6TBQlUVWw== X-Google-Smtp-Source: AGHT+IF72PxGyYKZU1R2KLVxeLyw0kVXVNki+xiuoaf/qeGWyE98VmgZ8Qgl8Mg9GbrUKkWIdbm3vg== X-Received: by 2002:a81:9e0d:0:b0:631:78a1:baf with SMTP id 00721157ae682-6895f60d528mr143494237b3.6.1722905119522; Mon, 05 Aug 2024 17:45:19 -0700 (PDT) Received: from localhost (fwdproxy-nha-116.fbsv.net. [2a03:2880:25ff:74::face:b00c]) by smtp.gmail.com with ESMTPSA id 00721157ae682-68a0fdb3c2csm13912147b3.47.2024.08.05.17.45.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 17:45:19 -0700 (PDT) From: Nhat Pham <nphamcs@gmail.com> To: akpm@linux-foundation.org Cc: hannes@cmpxchg.org, yosryahmed@google.com, shakeel.butt@linux.dev, linux-mm@kvack.org, kernel-team@meta.com, linux-kernel@vger.kernel.org, flintglass@gmail.com, chengming.zhou@linux.dev Subject: [PATCH v3 2/2] zswap: track swapins from disk more accurately (fix) Date: Mon, 5 Aug 2024 17:45:18 -0700 Message-ID: <20240806004518.3183562-1-nphamcs@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805232243.2896283-3-nphamcs@gmail.com> References: <20240805232243.2896283-3-nphamcs@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: A10C0180015 X-Stat-Signature: 5squog7ytn9csm6m8a8bdoq73pah3x87 X-Rspam-User: X-HE-Tag: 1722905120-109346 X-HE-Meta: U2FsdGVkX1+biG+tNGB9VavO+kD7tVJGTXkFWbJEB6m1gjsIYAcdhcVEGNTtMbWtAXM8c/hBYn73XpPq/hTjAE5iscTfheqM/UJxmhjPbt5IzW1Guwfa95R4+qtMvepynvI2iyHgSd+dK7+gOyxOAqFtpC16pvRMzTXAEqDMg34EyHJ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88RYqEtmZQGn9kpi1uALmVzWc3jwd/saB6ClMZGahgeNb9NzGar8pL+ezc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.015252, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
[v3,1/2] zswap: implement a second chance algorithm for dynamic zswap shrinker (fix)
|
expand
|
diff --git a/mm/page_io.c b/mm/page_io.c index 0004c9fbf7e8..aa190e3cb050 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -524,9 +524,7 @@ void swap_read_folio(struct folio *folio, struct swap_iocb **plug) goto finish; } - /* - * We have to read the page from slower devices. Increase zswap protection. - */ + /* We have to read from slower devices. Increase zswap protection. */ zswap_folio_swapin(folio); if (data_race(sis->flags & SWP_FS_OPS)) {
Squeeze a comment into a single line. Signed-off-by: Nhat Pham <nphamcs@gmail.com> --- mm/page_io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)