From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-179.mta0.migadu.com (out-179.mta0.migadu.com [91.218.175.179]) (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 87F543538AC for ; Wed, 19 Nov 2025 12:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763554677; cv=none; b=azpwqpncv28+s14qs47vbZZ7u0Ag9hXFiD+rNEYYElxag/gaQRAKGt7jqIn8aF9z4qUKCcq4NzsdX2vIOr5Fd2UTdLJ/w40Cjg/QDxkHIR+OahIi6uXtoHln9QbAu0lUxDBn+gADCM89zAxF2x4kveljEHv/uULceyNHkouNYM4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763554677; c=relaxed/simple; bh=6oCdNp+wBFa66PevrgncvA774Vl9rIPYMlPSaxwP0As=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mwEByo2C5woPZsHiDbBvBNvj2b0na+RKhD1XTo4Os+jBm844RL/qR0bg9tBoguxsy+hg6y7/+pTMrVmRuO5TU6HbBI+SifFpJnjuNnz0ZJucb5QS75ZurhrdsRx9V2FApTZMxYJwbXLUaLEXU85yOazQijUsO2T2p3EEj6lsQnU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Zqy5lX1a; arc=none smtp.client-ip=91.218.175.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Zqy5lX1a" Message-ID: <939e3496-5012-4e7d-8a33-e9de4354d4fd@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763554662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9eiK6+KP3sQeus9efFgfEbOH2adoGq+RjOojwb3xNjU=; b=Zqy5lX1a8NH32Urc6QLDGvEAqomF2lRwsHiYL0l9i1s/rF3dYjFpcG8gjDNr8eJS2XwRye ZVGhpKOTCj8lKt/dfRzfgKw3J1mAcg3B69SNBb0spvOTCzuF7kU0BWqQyFrC8oudnT+l5K mEXeAABjnQT0helIioSYA0k5eRwmsng= Date: Wed, 19 Nov 2025 20:17:31 +0800 Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v2 1/7] mm: change mm/pt_reclaim.c to use asm/tlb.h instead of asm-generic/tlb.h To: "David Hildenbrand (Red Hat)" , will@kernel.org, aneesh.kumar@kernel.org, npiggin@gmail.com, peterz@infradead.org, dev.jain@arm.com, akpm@linux-foundation.org, ioworker0@gmail.com, linmag7@gmail.com Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-alpha@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, Qi Zheng References: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Qi Zheng In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 11/19/25 7:41 PM, David Hildenbrand (Red Hat) wrote: > On 19.11.25 08:31, Qi Zheng wrote: >> From: Qi Zheng >> >> Generally, the asm/tlb.h will include asm-generic/tlb.h, so change >> mm/pt_reclaim.c to use asm/tlb.h instead of asm-generic/tlb.h. This can >> also fix compilation errors on some architecture when CONFIG_PT_RECLAIM >> is enabled (such as alpha). > > "This is a preparation for enabling CONFIG_PT_RECLAIM on other > architectures, such as alpha." OK, will modify it in the next version. > >> >> Signed-off-by: Qi Zheng >> --- >>   mm/pt_reclaim.c | 2 +- >>   1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/mm/pt_reclaim.c b/mm/pt_reclaim.c >> index 0d9cfbf4fe5d8..46771cfff8239 100644 >> --- a/mm/pt_reclaim.c >> +++ b/mm/pt_reclaim.c >> @@ -2,7 +2,7 @@ >>   #include >>   #include >> -#include >> +#include >>   #include "internal.h" > > Right, we're using pte_free_tlb(), and the default lives in include/asm- > generic/tlb.h. > > Acked-by: David Hildenbrand (Red Hat) Thanks! >