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 BB8F6C32771 for ; Wed, 15 Jan 2020 18:28:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 39A1324656 for ; Wed, 15 Jan 2020 18:28:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="Iy8ExdmK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39A1324656 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 810518E0005; Wed, 15 Jan 2020 13:28:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7BFD38E0003; Wed, 15 Jan 2020 13:28:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6FD088E0005; Wed, 15 Jan 2020 13:28:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0115.hostedemail.com [216.40.44.115]) by kanga.kvack.org (Postfix) with ESMTP id 5A0D08E0003 for ; Wed, 15 Jan 2020 13:28:01 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 1D786180AD815 for ; Wed, 15 Jan 2020 18:28:01 +0000 (UTC) X-FDA: 76380702762.25.cave44_8029e8d05c50e X-HE-Tag: cave44_8029e8d05c50e X-Filterd-Recvd-Size: 4061 Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by imf30.hostedemail.com (Postfix) with ESMTP for ; Wed, 15 Jan 2020 18:28:00 +0000 (UTC) Received: by mail-qt1-f196.google.com with SMTP id w8so2215111qts.11 for ; Wed, 15 Jan 2020 10:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Ud9sKkESHZCvlOGq+OII/g18ehi1Yr+QEsKY+qUAW/c=; b=Iy8ExdmKNNKeOPRDcBp3UY9/M0kErvkEBHObzl6AB6V14bSPS8o1UyZ48UBsz75qZ+ PcjRe/WEMMJo+/zE/INIotPn2cJksHCM05RloFyznyM03VCSBVrHQTwoqA/VexVNE3HG ervRpyujz/CLVCn7+1Poj2J2uxcbUPkzW/KmuNnvt1P8LAZq/OhezBdDqBk/f84X/5g9 PCeCewOASgCIGuuHOFVCtRYPJm7oIPJegdK/R7vKD9q6E4soIPbYNwDbnuhWRVS0su1R 3GglFHMz5aokGbceRwIUUsKh6tGw+52KJqD8HuD48PRlfrkmkZvWrgMmTVd/ZfaATFod zpCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Ud9sKkESHZCvlOGq+OII/g18ehi1Yr+QEsKY+qUAW/c=; b=HT/t7IjRlTAFh7j2tXBuLKILO3fckLTUAdRE/B48AzghXDMtjf55ZQmvbUpbww/iuO OdKvvd148Ai1wCBTpsJ4Sy8rMZWJ2wyHaeCjZ3qzuzMLrDHT8z313IZ0J85fU2i3C5iM SSBDVjmrMV8fbNJ7YS0eeqZ3z3mQPUjHveiM/tcwiqKv6oGja8QOgWxGCXaB5r20yqix ZftS6qFArzuRugyLX/Wwqa2oYHfCnyxRL0v0SyeT6rhp570PBDUDBSxbLDQNFJYWu0bf E30blS+JIn9N5iS7vOIaUVxmQXUh1uihS5c5TajzlgoSE5wLximeLMO66ch0U2uIDF6c nwyg== X-Gm-Message-State: APjAAAU2NLOHt1c7tPWQi5CCrojB9Tw4Ft6q04ZV+SfHujNwL+DLBjGz GXB80+gFf4HkWjpJaBsHs2vUkw== X-Google-Smtp-Source: APXvYqyFqyexR7OAogh9jzo/cgEw1VMYGtAqIm3elkgWOkibsmXAJwDgFqg1kLrybKlF4YY+tVD3lQ== X-Received: by 2002:aed:3c52:: with SMTP id u18mr4964380qte.382.1579112879921; Wed, 15 Jan 2020 10:27:59 -0800 (PST) Received: from [192.168.1.153] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id b24sm9784122qto.71.2020.01.15.10.27.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jan 2020 10:27:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: [PATCH] mm/vmscan: remove prefetch_prev_lru_page From: Qian Cai In-Reply-To: <20200115082947.GA21018@infradead.org> Date: Wed, 15 Jan 2020 13:27:57 -0500 Cc: Alex Shi , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1579006500-127143-1-git-send-email-alex.shi@linux.alibaba.com> <20200115082947.GA21018@infradead.org> To: Christoph Hellwig X-Mailer: Apple Mail (2.3608.40.2.2.4) X-Bogosity: Ham, tests=bogofilter, spamicity=0.008416, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Jan 15, 2020, at 3:29 AM, Christoph Hellwig = wrote: >=20 > On Tue, Jan 14, 2020 at 08:46:21AM -0500, Qian Cai wrote: >>=20 >>=20 >>> On Jan 14, 2020, at 7:55 AM, Alex Shi = wrote: >>>=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 introduced it in the first place and Cc the relevant people in = that commit. >=20 > No, it isn't. It is at best nice to have, but for a trivial macro > really doesn't matter. A more of personal taste what the trivial macro is. I=E2=80=99d rather = be on the caution side when removing code especially nowaday developers may not even compile test the patch properly given how many arches we have here which will = only waste time on other people when things goes wrong.=