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=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 D9F22C33CB1 for ; Thu, 16 Jan 2020 12:26:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9390020748 for ; Thu, 16 Jan 2020 12:26:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="aR2p3p0t" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9390020748 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lca.pw Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 2EDCD8E0066; Thu, 16 Jan 2020 07:26:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2C4FD8E003F; Thu, 16 Jan 2020 07:26:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 201F68E0066; Thu, 16 Jan 2020 07:26:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0239.hostedemail.com [216.40.44.239]) by kanga.kvack.org (Postfix) with ESMTP id 0378D8E003F for ; Thu, 16 Jan 2020 07:26:26 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id B8072247A for ; Thu, 16 Jan 2020 12:26:26 +0000 (UTC) X-FDA: 76383420372.26.basin69_554fee1be7843 X-HE-Tag: basin69_554fee1be7843 X-Filterd-Recvd-Size: 4101 Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by imf47.hostedemail.com (Postfix) with ESMTP for ; Thu, 16 Jan 2020 12:26:26 +0000 (UTC) Received: by mail-qk1-f194.google.com with SMTP id r14so18848412qke.13 for ; Thu, 16 Jan 2020 04:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=/urnzPsv0IxvFe95DFa8Jwmwvd6RAG7X4lrQ0EQjTks=; b=aR2p3p0tIqO4AAPTmoxCZB0Yxvv8qU7nIwrFb7aJ2mzeODjZiKiKzR0LwmjaakgDeo SMLeyNiXjZRt0viHi0OUwjE9NU8I/mCa0NVF29lSqNFO/lTTgMqueKunCFEUjnxJPNi0 dBf2H47oLY53POThJj3uI7kiCoiPN+uSGgexH9ScmD+m/jGYNEXh/0QBIe4mW93Xl/DA mVXuwE1URSDqRDzKbFv9fQxgWsFDSfiWhFCJyeWncI+UcitGYbxexCtOr7nvq3BhCdpV 228fmVw9xJEavVTi9kcH6SRZ5c9DpFFp8YqqV9urZUTAJLj4AYNBt5+AgQZMbGylsBFt I3LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=/urnzPsv0IxvFe95DFa8Jwmwvd6RAG7X4lrQ0EQjTks=; b=dsYvDD2getAvB6cH6aEE5h0QtPmp1QNjY8VJquuw5vPKU6+Xd/Elg6QXYMiHzD2UXB f7Z7RQqjFwRYNsG6Nayw6TIpe9Gx6C0UwW+D9qAPVs3AdMEZb9RG0fdoLDVomTB+tuND YfKVTpQ58+bwJ1vDE8CIVj0rfEgIMSBdgxkm/KRKp3maRwxTkUKmvmrB+b23TQsvMz/a obKMlv59p/KjOXxWloSkN8jBiR0EXM0MorDM6mOaGNRR0WrvQ6B6VbxuZCZt7IpFT9rj XylLeIBODn0/bXaxTTazpmQsb65NRcrcF/6AolgI2+DKBQaW6A5PxU2X4xIesi44NfsO N/dA== X-Gm-Message-State: APjAAAWt6rIC94CCldXznFsq35Eou7UOOzQhqmNuFL+T+SZpUDv+g4ud YxHrUutw5k71t/Om3e4GRRBqYKJmA7dEYw== X-Google-Smtp-Source: APXvYqxTULmN7PItfxKJ378Za/ueJfSTo0KU52yMOGhl9AqvLnGubDMlaN40iobsRSmrBHFWo36HlA== X-Received: by 2002:ae9:c317:: with SMTP id n23mr32388898qkg.356.1579177585200; Thu, 16 Jan 2020 04:26:25 -0800 (PST) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id y18sm9879974qki.0.2020.01.16.04.26.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 04:26:24 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm/vmscan: remove prefetch_prev_lru_page Date: Thu, 16 Jan 2020 07:26:23 -0500 Message-Id: References: <739f4470-8dfe-bb2f-8100-2134f48868b6@linux.alibaba.com> Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: <739f4470-8dfe-bb2f-8100-2134f48868b6@linux.alibaba.com> To: Alex Shi X-Mailer: iPhone Mail (17C54) X-Bogosity: Ham, tests=bogofilter, spamicity=0.108151, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Jan 14, 2020, at 9:33 PM, Alex Shi wrote: >=20 > =EF=BB=BF >=20 >> =E5=9C=A8 2020/1/14 =E4=B8=8B=E5=8D=889:46, Qian Cai =E5=86=99=E9=81=93: >>=20 >>=20 >>>> On Jan 14, 2020, at 7:55 AM, Alex Shi wrot= e: >>>=20 >>> This macro are never used in git history. So better to remove. >>=20 >> When removing unused thingy, it is important to figure out which commit i= ntroduced it in the first place and Cc the relevant people in that commit. >>=20 >=20 > Thanks fore reminder, Qian! >=20 > This macro was introduced in 1da177e4c3f4 Linux-2.6.12-rc2, no author or c= ommiter could be found. Looks a bit deeper for this, and I am not sure if it is necessary to remove i= t especially this does not cause any complication warning noise, because the= macro looks like a part of API design to have a pair of both read and write= version, even though only the write version is used at the moment. In theory, there could be users for the read version in the future, and the= n it needs to be added back.=