Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp231335lqp; Thu, 4 Apr 2024 11:25:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVJGeY5AzcvYxB0bg7F/x9tgQhJ6M07/ziNeUIzN06HOzmsYvl9zWk8Wnh6iAqokfUDCdg6hCx4YR1gTDzfkrGQEoMNEC2wTCHQlXzIA== X-Google-Smtp-Source: AGHT+IH9cVa1HUKGtpNBG9EiC73mRnWrF8GrMXk1vCtNSZKitLVbxjW3avyGJ75jtyzqbFWCcE6X X-Received: by 2002:a05:6a21:398b:b0:1a1:44fe:345b with SMTP id ad11-20020a056a21398b00b001a144fe345bmr3867337pzc.22.1712255125659; Thu, 04 Apr 2024 11:25:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712255125; cv=pass; d=google.com; s=arc-20160816; b=hm0mYNa4Z9ISvLpY2UmuCg5xZg3J3JTNl6uiFng/ZMdXZUvThGG0FiGvr9qhCMML4l MlKd114e2BX6Q/NXGiuHbF5fcFTtboMXX5L9g+nF2jcujL0o0qSN5hFNxEB42Kjo3uis Ad2msFzhU6mbfua3oBG/4ypAhARqW5qcgNqszxIwK57rlSx0q7F63W1hMCRsr4bHEEty JFavYjvXiVEAixvRiB4XmHTjsCMm8fqbO3MnHMOFn4D/uWKoivc9jTEG0Jelr7zUQjHW ct8mxfVr/QiyXX9HjeqgL77/6rfAOKQJLfMQ+rgzHae70ZZGkLeYCvo8rEiL0UmTOQOm xJXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=KVchvJq2VW938YUzwUh9GO3UKwNxe7jSo80UQs+IWVk=; fh=XIoKVuv71C0sSF4uIgUj2zEUMwiwMov98pdgWXlLXI4=; b=tTpvr0vDMpK1KdAEUiZUaSFxANJ/NH3BUpHLq7mMd7TC35tFQq718Q0Lmm11JbiIFS 97Jk2pHggBspTmF0m7XRhrbXv3h1WYmceWbjyWNErgNYXznQmv2aAirtY/CCq8bcF/w7 02Y3g4723+XBHJjsKaEjkDX+1gwoyHJE7lDRcb38RHIj6D9WZe1NJnyRV2Zl7TyOxlNn J12bU9xJ9tilXvF2QAPZgVC9VSu5KZooGNhj0iQYESrrboUi7xQgrHfLJxtJBOARf9Fc qfLMLxSDiti5lx9w2/Tp1rVOk7S66u9RmiiWYPhDA4DDs+ZId1B7vRVDhw5FqCZGij6l rypg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="eu/GxhyK"; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-131952-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131952-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p5-20020a634f45000000b005dc34078517si14920518pgl.538.2024.04.04.11.25.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 11:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131952-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b="eu/GxhyK"; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-131952-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131952-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4A35E281795 for ; Thu, 4 Apr 2024 18:25:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7906E130A4B; Thu, 4 Apr 2024 18:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="eu/GxhyK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AF9D1304A9; Thu, 4 Apr 2024 18:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712255119; cv=none; b=LMd+wq69nqIEsAYkIKtWNS9pE3FQBAHYbht2aj/IyxqqnW48fDLB7csR6oG3enUViutKN5pPNEYSoFgmEBwEc+tVJ8rNzgV0kj5GniGukrMgj3qdNdYERUibKJ1cA+Q3Ud0blOqhWjE6BrPIkqcGXpccgiJOP/7U5tpAeREHeMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712255119; c=relaxed/simple; bh=e/bLGRSHGTFwElW+K1iLJxL/megYxkWcxCZjL1nF0Rc=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=LQYq+6HCSYkMSgBzn4OZ7kfCLvBu5ovsBiMArLl0Bb3LTN7LGgSelMDKiWA41M3inOYl6j1LJSQ5mi8XOp5D9oxe7+01H9PqKtCSp0/tzy5bs55bVtV7fJJrkNE38IUoRegJkBBgr256CxZQQMgBv0FeFfUNiC0EKRuHPakD+5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=eu/GxhyK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDF83C433F1; Thu, 4 Apr 2024 18:25:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1712255119; bh=e/bLGRSHGTFwElW+K1iLJxL/megYxkWcxCZjL1nF0Rc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eu/GxhyK6rSliu26tWMN2lD7qjjN9caVpmyl8Rs2B07arfXPlSkDzMEfbPjLbBICF 2rKA7vefw5tUUdiItpyyecMVzgEPJKSTKzh8axyExo6DWo4k0Z8SGsgjk28DJHjM5V IlJgQ1XSXx2LsOuZg7VP1nYVgKkc1uZ20xaLWWvw= Date: Thu, 4 Apr 2024 11:25:18 -0700 From: Andrew Morton To: Huacai Chen Cc: Huacai Chen , loongarch@lists.linux.dev, linux-mm@kvack.org, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: Re: [PATCH 1/3] mm: Move lowmem_page_address() a little later Message-Id: <20240404112518.51204544a4e73c2639ce53b1@linux-foundation.org> In-Reply-To: <20240404133642.971583-2-chenhuacai@loongson.cn> References: <20240404133642.971583-1-chenhuacai@loongson.cn> <20240404133642.971583-2-chenhuacai@loongson.cn> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 4 Apr 2024 21:36:34 +0800 Huacai Chen wrote: > LoongArch will override page_to_virt() which use page_address() in the > KFENCE case (by defining WANT_PAGE_VIRTUAL/HASHED_PAGE_VIRTUAL). So move > lowmem_page_address() a little later to avoid such build errors: > > error: implicit declaration of function 'page_address'. > Acked-by: Andrew Morton Please ensure that it spends adequate time in linux-next for the compilation testing.