From patchwork Tue Aug 6 00:34:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nhat Pham X-Patchwork-Id: 13754277 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A93F5C3DA4A for ; Tue, 6 Aug 2024 00:34:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2565C6B007B; Mon, 5 Aug 2024 20:34:08 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 205B26B0082; Mon, 5 Aug 2024 20:34:08 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0F5226B0083; Mon, 5 Aug 2024 20:34:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E4F136B007B for ; Mon, 5 Aug 2024 20:34:07 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 5DCCEA1CF6 for ; Tue, 6 Aug 2024 00:34:07 +0000 (UTC) X-FDA: 82419948534.17.970F39F Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com [209.85.128.182]) by imf12.hostedemail.com (Postfix) with ESMTP id 8FA744000D for ; Tue, 6 Aug 2024 00:34:05 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RfHagfEX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf12.hostedemail.com: domain of nphamcs@gmail.com designates 209.85.128.182 as permitted sender) smtp.mailfrom=nphamcs@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722904395; a=rsa-sha256; cv=none; b=tNFSgdwUgbsbS2Y245P6afXIDdTisThDzZClz20LycpHIt4iaxNoSHrl7Buv4MXkia73l3 VnbUmqbsdC6sk2hJQeS70JXyjP3GOp5cJb+gzxH8jTx/3A1pqnxAWZyQw6tdSkvHvkluqr dqlITFIKzo6tZZDYjOwJZXz4dnBYGGw= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=RfHagfEX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf12.hostedemail.com: domain of nphamcs@gmail.com designates 209.85.128.182 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=1722904395; 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=tpYb3iAkX6Pj2noFJG3iswjNut7YmxzmopLWs21kTMk=; b=IbYqZfdfEtmJ3R5q3qX+SCzVeM0g27uh3xFeafkZnv7E3xq2BJ9wc8MtHht6NBkI0fJ1na oQBXRLyqvyFqzz9bh9peG+MGajM6bzkPZZ9bNiXVzQslJsCrgyUAJ03b6IThtc+TLn+UXY GTdBxyvrLArJHa+f9GTrhwL9r/G87Fw= Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-690af536546so1687107b3.3 for ; Mon, 05 Aug 2024 17:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722904444; x=1723509244; 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=tpYb3iAkX6Pj2noFJG3iswjNut7YmxzmopLWs21kTMk=; b=RfHagfEXEv1DVDJWZiF6BZS5zo+TkBstWQErbTkk//8G5n5CoMMvVRg+FTdSvjg0fB IJgpanbTnDC5hmwBSGuOo6RI9N/NbWhyLQpqArOFVmFygLVuPDV5tbDyM7X5XUGYD1Ta svA/zyqAq9J+mRS+pKWPnn3LNHvJSz+B30e2LSFG5sxeQpBtjDWr3Tf9IDdULGAZ6vBc 1ygwBj2Rd7coi91u19Od+8JWMZ5C0Wq3RZb2ilhG5Gfv4jFazb4GOWlQV58m6M00ARo7 9sfHyvLFI+JwngU8uXqBoRFzXWhc1loXGhxklMOBlcWZWEYDCnhQ0vpbs0hmX3OKVasi CQzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722904444; x=1723509244; 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=tpYb3iAkX6Pj2noFJG3iswjNut7YmxzmopLWs21kTMk=; b=j1DudQf3LtDIdStZWmgwVeGIuzU4hP5echJ426S9Wx3yX4w/kVgV2jUp+gef3bzitG makVZQ5yn6UJ9SgD3M8rM9M4AN+Up2GBkZQGgc6QjF6WPBm0UNutt2TvykcUs7ueNmbp JYEHK+lDt7uA5JOkwPb68Uz++l5mKWUhDslo1nzkUsV2lHlq0yppadJArmz0ksf0uoOY 9GOtn8OUmJQnMzzM6rRZwbgJT0m/v9qMVIHgSa9/cFwfYRYGrYOYM0/v9+F1Iq7N8/dm NKxn/P9jOPCSuPXR2q+pIobHeGL0HipL4PSSBtZ5DfD5NHudDUCvVv8/uDqyJJFG8bO/ yfww== X-Forwarded-Encrypted: i=1; AJvYcCVnHfgopAA0VRQIIOKR99zBfYRRC2MGqVC7JEOx9pdzVil9YJ38dbgQ0r4aKlUYYM3KrSoAKLr7QUxzALTgVYZ159w= X-Gm-Message-State: AOJu0YwSdUtIZ32YDrkNua77CbTPIWCZm6xHi5pOAufWxOgMmjCft83e /0GBh+Cu64f5kNMice3cOaQbOJPLYkGgPtRNIkMgka0Tr8uXoDxx X-Google-Smtp-Source: AGHT+IG6TSLTNLY/FXIkujsVRLu+PSaG2maHR8Efkp2sn8lYLNWPUzDy0h5AY8vw+6JkgAJEIgCO0A== X-Received: by 2002:a81:8a83:0:b0:64a:e2ab:be33 with SMTP id 00721157ae682-68960589dcdmr142727947b3.22.1722904444471; Mon, 05 Aug 2024 17:34:04 -0700 (PDT) Received: from localhost (fwdproxy-nha-112.fbsv.net. [2a03:2880:25ff:70::face:b00c]) by smtp.gmail.com with ESMTPSA id 00721157ae682-68a137b409esm13867787b3.129.2024.08.05.17.34.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 17:34:04 -0700 (PDT) From: Nhat Pham 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 1/2] zswap: implement a second chance algorithm for dynamic zswap shrinker (fix) Date: Mon, 5 Aug 2024 17:34:03 -0700 Message-ID: <20240806003403.3142387-1-nphamcs@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805232243.2896283-2-nphamcs@gmail.com> References: <20240805232243.2896283-2-nphamcs@gmail.com> MIME-Version: 1.0 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 8FA744000D X-Stat-Signature: pd48jxfzfnf6649j8p9z5thhc8hxwph6 X-Rspam-User: X-HE-Tag: 1722904445-807285 X-HE-Meta: U2FsdGVkX1/QjX7sA+q37Rg01Top32uFEnuzAUf0usvs8usFg8cIRZqkY6Ya5hwHly9WsQdPiOJ/6SRbYO3dokIxHx3+rZkf8dCCVti+uKavx1z3egtC2/JnyQcKPr3lP+OIrLg6N6ojOosbLIZYQZhSYA3fFFxUg7h0qkH1NZhSy7ApkSLy4jG357RcrYxH8tZ2oGvBqiWSxqbT4lHavfXUVf7gIvoh7ooOVqrJE7qnUxXG9DNNVU+rYTIAEL0h/xNyhxA0pjTEWzM3nNn+QEY8kjhHRFvlmTrloMIZG67QOFV9om3YbVQjnexF8Bb4SCkmWhEcbKFN3aeyPp+uCSX0atv/cmprRdMj7YDXrG/H9BWmoRfIAs1Hg0KLss1WxhURTYjUIDKXoovCYBoTFgL2rmhuTEyfiNqKdi3Tqn2s+BVX3pTaOxWyrlsX7TGkKT+Bhx61aCJHEAizA5V0bqG+82hXBBJm5/g5ibWhvj+LeYtylhlWS+hHJ4I2WVu85GrbkoqIJVszH6gQYbPZCoKsTTTuM6aDNxUWwG/dlvAP1xMuZeVinlZzlB6hMc61/zV8xgbrSPcA7bNkjA4M2h4vypm6QSpv7GjLx/mDZRAzBqr3S2c7fcijri27veKU+gvQ0zw0bHE7yZdNwoPtPrN7jf0IoDMz6QQz1EjtQosp9MVhGaOhEEcjTtsv1X5MSUwpXCTToA0+ROJf0e3deu4VjwF1x9Ng3osjjBzyhtTCsHzUfIqry/I8/ODjpcRs3CPWrREtEqkZFGJGQq5LHIughTXss/j/Ykv/JAkEs91LRmQPvoPZ2Cgm/UduKahV5sAMt7OloUsj8FTzHRFX3+RsImXSlPuYTH5A1arrZvtTIE6pgP9k29ayI8qozb+AnviTGpES+Xq2+SrT9R89ecsK8GjZ5j4Hw99zAqsl2zfAjaZKybN1MxIHklfOPtmE/xB24/vjLvviEwPoK11 xhUUbj/t afPX4KueKxqu5dO+RTt94IaxqieqWV5Xf/87RqHCvMwfEeJrwONumMNzPAc425eu/MCezsjqPD7yQZLDPx5ilIN1BBCNdhVQCG7oBKZ9DmOiTL+FsMJ+Cv5NsKzxAHGWFPxhg2Z6UFgpe13kH2Sr0OxIqlSq94xsv8FLECBwNSikAVdRAyIB6ls1hQoFv/QgGS4xvKS2IL4Khw6NR/3DVBVUgDkhDEZKWFli42bqtY3Rgp0q9w54waNybsQY110676IB2ktOf4OrL2Yk06yXzmmYlNWm4i2deVj73sonQ4jhrizk6FWMWJjE4oZuDDF2YrJnVq6NfvE1Mjzc= X-Bogosity: Ham, tests=bogofilter, spamicity=0.039255, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Fix a small mistake in the referenced bit documentation. Signed-off-by: Nhat Pham Acked-by: Yosry Ahmed --- mm/zswap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zswap.c b/mm/zswap.c index fb3d9cb88785..44a7234a7b11 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -188,8 +188,8 @@ static struct shrinker *zswap_shrinker; * decompression. For a same value filled page length is 0, and both * pool and lru are invalid and must be ignored. * referenced - true if the entry recently entered the zswap pool. Unset by the - * dynamic shrinker. The entry is only reclaimed by the dynamic - * shrinker if referenced is unset. See comments in the shrinker + * writeback logic. The entry is only reclaimed by the writeback + * logic if referenced is unset. See comments in the shrinker * section for context. * pool - the zswap_pool the entry's data is in * handle - zpool allocation handle that stores the compressed page data From patchwork Tue Aug 6 00:45:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nhat Pham X-Patchwork-Id: 13754286 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 021A0C3DA7F for ; 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 ; 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 ; 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 ; 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 ; 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 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 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+gOyxOAqFtpC16pvRMzTXAEqDMg34EyHJrTe8ZQX1PFKiWZMGSIjYNjBnuDXKgPWXz1heCJEl5oR9Nd1nkpXW8hQUjy2cJD68Nlszb49W9MsZROrzIMsQJkCo4FT7DVAkx4Nag7qY266+QgtHzgtxsXuerZdmUV++sfpsRk8E1ecDQqhMgrs7hvRm+tkH1jPj1quq0jEMgDSpeB75hqLphHJvfkicZrZs0OLINe2UW6Jh3VpMosA8RlXbdunkezkebkIubYhYu4jU8Eh+CD18AeJeEoZ67jDnpzm4Vfgq3IuSBSyVQsiimD/lMlB4uPMnJxeVWevp4PHydar4tbaenoRFsqJMCEdMeVvhm0MTDUHTcVhlzCNA9ht7gDT2/yUl7OL6uI/IuFxu/Rc7C1k15Kyw8ICJxJdAJT5Uvi1G27J4L3MkIBTIamdRKxmNCewDVMiXbwq5fTfQl1CztjVl6t4xeijzoLYUTKhJbV7D3jNwLXlkjSjFrrBlNwooWVBnOsrOkk9rDPfLhN4M4artxcHcypGXT+tkK8fPzc33KPJJJqqNRGxsHPBDm2TsYbUy62+c8bW6nG1H7+iSBZH1MLJ9eBqq7FORvBryie4y2qS4r8nfRAZkIBipC7KuuS77GX9SqGLj7B/XWtKQOflNaIY+fyPZbLXXR76kCtil1B3mbs6wEA71B5EfedNWDn1wTNcO6nJQtaScWimly7OXKuPnP11wdboPbffu8cCDq3cusHPB+drvpetNZVcpxmAm70iHmGsyyOl8ssvttC7q4I/YtEGX90E3lZiJG6WMw6PkTuA6UPgoCXNSlXlxS3zX/Knn ZmQYGccL zWPdHeDAQ/kfBP2FlpQHF8SIbiOIf9qzuETZuUz6mwPa1MrA7LQB/athPG0lc8NJkqFmoGr1VE3fdwGf5eo7YRVlMUiwJamZPwpMDBgDT3k8riLp2oT0zhVClDMNRQQdku4ONcgFUUBhhq2aFuq0L7lYBBPpgi05q6tENbtzF547QFZbX/25bphknCEvvZkirpXwG7dfAMrPKdT6GObpgRgfF4Bn8sqNGJzQDq1JHBWbN3UxlcLJLbK4GEWJhV1iq2/sAPkh9euDprm20gZBXj88RYqEtmZQGn9kpi1uALmVzWc3jwd/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: List-Subscribe: List-Unsubscribe: Squeeze a comment into a single line. Signed-off-by: Nhat Pham --- mm/page_io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)) {