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=-12.9 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 B9C91C4346E for ; Sun, 27 Sep 2020 12:23:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DF31A23718 for ; Sun, 27 Sep 2020 12:23:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF31A23718 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 1FA466B005C; Sun, 27 Sep 2020 08:23:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1AA276B005D; Sun, 27 Sep 2020 08:23:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E8B56B0068; Sun, 27 Sep 2020 08:23:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0124.hostedemail.com [216.40.44.124]) by kanga.kvack.org (Postfix) with ESMTP id EF8E86B005C for ; Sun, 27 Sep 2020 08:23:51 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id B07A44DB7 for ; Sun, 27 Sep 2020 12:23:51 +0000 (UTC) X-FDA: 77308757862.23.stick14_2901c9a27178 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin23.hostedemail.com (Postfix) with ESMTP id 94E4B37606 for ; Sun, 27 Sep 2020 12:23:51 +0000 (UTC) X-HE-Tag: stick14_2901c9a27178 X-Filterd-Recvd-Size: 1938 Received: from huawei.com (szxga06-in.huawei.com [45.249.212.32]) by imf48.hostedemail.com (Postfix) with ESMTP for ; Sun, 27 Sep 2020 12:23:49 +0000 (UTC) Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C7BAE6352B26465265E3; Sun, 27 Sep 2020 20:23:42 +0800 (CST) Received: from huawei.com (10.175.104.175) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Sun, 27 Sep 2020 20:23:32 +0800 From: Miaohe Lin To: CC: , , Subject: [PATCH] mm: Fix incomplete comment in lru_cache_add_inactive_or_unevictable() Date: Sun, 27 Sep 2020 08:22:09 -0400 Message-ID: <20200927122209.59328-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.104.175] X-CFilter-Loop: Reflected Content-Transfer-Encoding: quoted-printable 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: Since commit 9c4e6b1a7027 ("mm, mlock, vmscan: no more skipping pagevecs"= ), unevictable pages do not goes directly back onto zone's unevictable list. Signed-off-by: Miaohe Lin --- mm/swap.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mm/swap.c b/mm/swap.c index 7e79829a2e73..0eb057141a04 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -481,9 +481,7 @@ EXPORT_SYMBOL(lru_cache_add); * @vma: vma in which page is mapped for determining reclaimability * * Place @page on the inactive or unevictable LRU list, depending on its - * evictability. Note that if the page is not evictable, it goes - * directly back onto it's zone's unevictable list, it does NOT use a - * per cpu pagevec. + * evictability. */ void lru_cache_add_inactive_or_unevictable(struct page *page, struct vm_area_struct *vma) --=20 2.19.1