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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E1EBC433DB for ; Fri, 26 Feb 2021 01:18:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 32B5C64EE4 for ; Fri, 26 Feb 2021 01:18:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 32B5C64EE4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B7A506B007D; Thu, 25 Feb 2021 20:18:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B2B828D0009; Thu, 25 Feb 2021 20:18:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A68F48D0003; Thu, 25 Feb 2021 20:18:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0252.hostedemail.com [216.40.44.252]) by kanga.kvack.org (Postfix) with ESMTP id 8E3436B007D for ; Thu, 25 Feb 2021 20:18:16 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 5A85B5DEE for ; Fri, 26 Feb 2021 01:18:16 +0000 (UTC) X-FDA: 77858658192.08.724C9C7 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf22.hostedemail.com (Postfix) with ESMTP id 6BFAFC0001EA for ; Fri, 26 Feb 2021 01:18:12 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7A35364F10; Fri, 26 Feb 2021 01:18:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1614302295; bh=iDV7BnBVMMrnHFyoTPMHuskWrc47E75txaG7wS0TInY=; h=Date:From:To:Subject:In-Reply-To:From; b=nwD6OUshflTBp4upBAlNP0pg6gGnWKTWp5EuxIk3ntiORs8PtjgIvLg8hzYOOFDlc 23Wux5kgzvciaM6KMI1LQLIANjt2g+JP7At2MeIoQCDj37YtUjS9jjDWCHRdg3/QEE AY7o8ke5NX3kFAA074Obi0X9Mtrf8MNcvg9qkhBI= Date: Thu, 25 Feb 2021 17:18:13 -0800 From: Andrew Morton To: akpm@linux-foundation.org, ddstreet@ieee.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, rdunlap@infradead.org, sjenning@redhat.com, sjennings@variantweb.net, torvalds@linux-foundation.org, vitaly.wool@konsulko.com, weijie.yang@samsung.com Subject: [patch 046/118] mm: zswap: clean up confusing comment Message-ID: <20210226011813.NE7U5GTqD%akpm@linux-foundation.org> In-Reply-To: <20210225171452.713967e96554bb6a53e44a19@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 6BFAFC0001EA X-Stat-Signature: yd7ysbdbmm9zj7qmm83qoh8iweqiam8x Received-SPF: none (linux-foundation.org>: No applicable sender policy available) receiver=imf22; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1614302292-585892 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: From: Randy Dunlap Subject: mm: zswap: clean up confusing comment Correct wording and change one duplicated word (it) to "it is". Link: https://lkml.kernel.org/r/20201221042848.13980-1-rdunlap@infradead.org Fixes: 0ab0abcf5115 ("mm/zswap: refactor the get/put routines") Signed-off-by: Randy Dunlap Cc: Weijie Yang Cc: Seth Jennings Cc: Seth Jennings Cc: Dan Streetman Cc: Vitaly Wool Signed-off-by: Andrew Morton --- mm/zswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/mm/zswap.c~mm-zswap-clean-up-confusing-comment +++ a/mm/zswap.c @@ -1022,10 +1022,10 @@ static int zswap_writeback_entry(struct /* * if we get here due to ZSWAP_SWAPCACHE_EXIST - * a load may happening concurrently - * it is safe and okay to not free the entry + * a load may be happening concurrently. + * it is safe and okay to not free the entry. * if we free the entry in the following put - * it it either okay to return !0 + * it is also okay to return !0 */ fail: spin_lock(&tree->lock); _