Re: [PATCH] mm/vmscan: remove prefetch_prev_lru_page

From: Qian Cai
Date: Wed Jan 15 2020 - 13:28:02 EST




> On Jan 15, 2020, at 3:29 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Tue, Jan 14, 2020 at 08:46:21AM -0500, Qian Cai wrote:
>>
>>
>>> On Jan 14, 2020, at 7:55 AM, Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx> wrote:
>>>
>>> This macro are never used in git history. So better to remove.
>>
>> 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.
>
> 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âd 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.