Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp453766pxb; Wed, 27 Jan 2021 11:49:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEzQBg6J6F1nOUbHUA/IG27eyUIm7JNy1H/ZT+NhMurK4iWMdwUIyLN4xLVbEnMCUwXybQ X-Received: by 2002:a17:906:c793:: with SMTP id cw19mr7782434ejb.246.1611776996096; Wed, 27 Jan 2021 11:49:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611776996; cv=none; d=google.com; s=arc-20160816; b=Qj3dgwB474h52RQwqo4KJrdyscSJ7sSvb+z3wDFrpZ0GK7YLaPLvwYybOB4SR19sXs 5ck359ykGNFj7iQ7n0c2PjoSPMw6S0eQ69C/j2bXWQ7PolDqrPkPWRGjU1FZuZGNLlSU xrWooNAWYxWcQedsyoGPNxLKrwiSTIetjct250Jk1N3YVT2P+/u3U7SRw8gJJJZelHQA nj8Ir+/mORl+m3HwQ6gJeKMrD1F0L1IRxmPYFjOwaSoqg9nOTn4M3evW/FLXtOA86kdl XWmM6mfmd6DrfXwRNQSAwigEAVbQZbgJ3LXWuWct/6RSaRGHHKEfVhj4PvukkvKo6kEc NgdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=lN9cLqF8JV9IEVibBi+NLc1jrcI/zrOzzFcpw1vAgoA=; b=SF6UAjyWlEJM9jf+3JZ9/NPb6mSDMdSEjEQDrY1tDAmpIzXD5WBtG8ZOV6JoC9XSnq nZykkPzNm5oovw3y1q35VjFbhnlUZVQBQzKZP3UCDxVGUCv0eQ8NNUAkzVWIRMWtSxuE RWqHrA4voBcmqgeb4vwF+wI/ldoGfXsyAqzIa8FGI0y9VrtEVoxYeqy7hhG6GNfWLk1q k6qez0Bcq+YISp/FQ209nDG1DNr9eP3oDlaaS3AYyrwiruxRYJU6wLxR101Xj0L+6VLG n+zXSV/I8kmzLHeDDI2zGH6d5zaaB8DANBTVcn5xcuUCDu2kbTNue37PTuOyNgSbxcMR epKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x20si1849378edl.75.2021.01.27.11.49.30; Wed, 27 Jan 2021 11:49:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405401AbhA0BqP (ORCPT + 99 others); Tue, 26 Jan 2021 20:46:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:39176 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389762AbhAZS6r (ORCPT ); Tue, 26 Jan 2021 13:58:47 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id A24B8ACC6; Tue, 26 Jan 2021 18:58:05 +0000 (UTC) Subject: Re: [PATCH v2 02/10] mm: shuffle lru list addition and deletion functions To: Yu Zhao , Andrew Morton , Hugh Dickins , Alex Shi Cc: Michal Hocko , Johannes Weiner , Vladimir Davydov , Roman Gushchin , Matthew Wilcox , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20210122220600.906146-1-yuzhao@google.com> <20210122220600.906146-3-yuzhao@google.com> From: Vlastimil Babka Message-ID: Date: Tue, 26 Jan 2021 19:58:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210122220600.906146-3-yuzhao@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/22/21 11:05 PM, Yu Zhao wrote: > These functions will call page_lru() in the following patches. Move > them below page_lru() to avoid the forward declaration. > > Link: https://lore.kernel.org/linux-mm/20201207220949.830352-3-yuzhao@google.com/ > Signed-off-by: Yu Zhao Acked-by: Vlastimil Babka