From patchwork Fri May 1 09:03:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chenqiwu X-Patchwork-Id: 11522333 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 639831575 for ; Fri, 1 May 2020 09:03:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 303EF20731 for ; Fri, 1 May 2020 09:03:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ov71C7Xj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 303EF20731 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 650418E000F; Fri, 1 May 2020 05:03:53 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5FF8C8E0001; Fri, 1 May 2020 05:03:53 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 515DD8E000F; Fri, 1 May 2020 05:03:53 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0249.hostedemail.com [216.40.44.249]) by kanga.kvack.org (Postfix) with ESMTP id 39B948E0001 for ; Fri, 1 May 2020 05:03:53 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id EAAC4181AC9B6 for ; Fri, 1 May 2020 09:03:52 +0000 (UTC) X-FDA: 76767562704.20.top62_792b6f610093d X-Spam-Summary: 2,0,0,e08c8c608bccbaae,d41d8cd98f00b204,qiwuchen55@gmail.com,,RULES_HIT:41:355:379:541:800:960:968:973:988:989:1260:1345:1437:1534:1539:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3866:3867:3872:3874:4250:5007:6261:6653:9010:9413:10004:11026:11658:11914:12296:12297:12517:12519:12555:12895:13069:13255:13311:13357:14096:14181:14384:14394:14687:14721:21080:21444:21451:21627:21666:21990:30034:30054:30080,0,RBL:209.85.216.67:@gmail.com:.lbl8.mailshell.net-66.100.201.100 62.50.0.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: top62_792b6f610093d X-Filterd-Recvd-Size: 3411 Received: from mail-pj1-f67.google.com (mail-pj1-f67.google.com [209.85.216.67]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Fri, 1 May 2020 09:03:52 +0000 (UTC) Received: by mail-pj1-f67.google.com with SMTP id a32so2088371pje.5 for ; Fri, 01 May 2020 02:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ilb9JgpFwerbUqAK1BO6tOhucoEG4kfHbPVfC7QnZgw=; b=ov71C7XjuRydTK35+DkNd1kgJRUyRv0KvFxrtZEbV1sxt4izcQkKN/nQt1ZHIePfmN C3IrGwr1HDqrwhSfMm/903Kou1vle4Ky4EYSMUZwg6YJDhvOPaMGx1bnH0jSg4Wcflt3 eNKo7fJr35TfviIAQFEEEMwoHbMCgC7qt87cBGZaVXdwbJ1GcywFNlsQJUnmMfLHunVZ cNjFIU5F2WrHUNMIWhxnv0yBZQ4fDYyuRqAPF0Qwz8YlXPeS+20lvPfv8PwccoCA8Boq qmvPRM3LDrqlXC5x3eYcqkGymntcpiAU0v5v8KZPE2v5H474bAsHeAdpAiC8ZAP3u/b8 K6bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ilb9JgpFwerbUqAK1BO6tOhucoEG4kfHbPVfC7QnZgw=; b=lpNj3YVvojlJfT9JKDWKxe+fHE2twBgKxg2xiXVpAMYX3gn2QYbjanr9nRS6KYI7Tf DrAAd5GVeUWvFT7LPeVfLpeM7ex92TOBuCuwD1rtVsgUEV/j8n+tW+paeRvqftFXXpll /BFQ8xUFBS0xxn7gOyE1sz/EBEyjTTpmf90MPrZwG49p1qZQocopD+Tpo+CTiNmsUpIj Z+ABf0mQk9PKqZ5QOZkbqcMy17VZziS+l7l/Jrhe++rTmiVs4LFKIDAd92MH9e95gtrf ZqVxdaroBflGCuzQp6pNhOaXQwIp4zZq0hZNypH5EZdXo2FVIKNs55yoc+9qksU8DVhQ Ohyg== X-Gm-Message-State: AGi0PuYci4+WHlu5HElgTJ2kNscI7pUG5/JoJ+ov8lTrgXrfk1DJsxQH B4MMYfUQn39/BvZQtkMOUPo= X-Google-Smtp-Source: APiQypKZjk1Ks0BQms55CadDMvlHgGq/mkfcICcl1Qp614x42APbjncELJC3VYY5kLwqABIdv+/UqA== X-Received: by 2002:a17:902:b948:: with SMTP id h8mr3406477pls.309.1588323831580; Fri, 01 May 2020 02:03:51 -0700 (PDT) Received: from localhost ([43.224.245.179]) by smtp.gmail.com with ESMTPSA id g10sm1771088pfk.103.2020.05.01.02.03.50 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 May 2020 02:03:51 -0700 (PDT) From: Qiwu Chen X-Google-Original-From: Qiwu Chen To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, Qiwu Chen Subject: [PATCH] mm/vmscan: remove unnecessary argument description of isolate_lru_pages() Date: Fri, 1 May 2020 02:03:46 -0700 Message-Id: <20200501090346.2894-1-chenqiwu@xiaomi.com> X-Mailer: git-send-email 2.17.1 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 a9e7c39fa9fd9 ("mm/vmscan.c: remove 7th argument of isolate_lru_pages()"), the explanation of 'mode' argument has been unnecessary. Let's remove it. Signed-off-by: Qiwu Chen --- mm/vmscan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index dca623db51c8..8415fbd0d09d 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1625,7 +1625,6 @@ static __always_inline void update_lru_sizes(struct lruvec *lruvec, * @dst: The temp list to put pages on to. * @nr_scanned: The number of pages that were scanned. * @sc: The scan_control struct for this reclaim session - * @mode: One of the LRU isolation modes * @lru: LRU list id for isolating * * returns how many pages were moved onto *@dst.