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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30EE9C433F5 for ; Thu, 11 Nov 2021 09:47:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EEAAD61159 for ; Thu, 11 Nov 2021 09:47:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EEAAD61159 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bpTIil6UlCOZmiNQBZzKsumzTIryNl0pQlKM58qfaSA=; b=sKsNBeN+vxvSNR ea6g40ryHqCm24dJV4pOyde+gWRooe6q704uI+emXcrMNJwlnczP71QVKf4Vg8lQULlkrblQ5Pgua o7//QeQ2VzjFOD7cmejx1eJefdXJ33Oma9bsHPMh36xq5cJ4c8xh565EUOZVeEKkUYBCwZwPp251u Ombu4ngKyS+TACjKR0DIFdQn5uUp9WuYVdVHOHjv6OgmfPLYijFStQKog/+XMTCzaKzZhAsDJYhhF hZWXaAetSQbGSy+iZ3pboRZAfs9QXl3racg/dU7nlu8IP+Qs0zPCx7cOEuBu7W7wSSeHD+UVy+RjA S35bGK+5it3xKTlEk37A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml6eo-007bSB-0B; Thu, 11 Nov 2021 09:46:10 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml6ej-007bR8-Mo for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 09:46:06 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id A2F11610FC; Thu, 11 Nov 2021 09:46:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636623964; bh=3OLkwWk/NZSEDP1NahNmJ1beXxLc2iY3gP7DvD9SdqQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ux8c7LmhPMx5KGDLJ6Ojw2y7xqoSoecV35sIZjwzPqzL1QKOShaAsGKx69Ld4/pf7 44BuT/wWaXUXkZkdCEcLenUyD6XsNn5Fz9GdC+xvOkKQ9NvcJZV/7YjdObWOCntBO2 PvvYLzN+I949FUOnZCBuQAiss+0OszfAB8B9d1BgvyQ96/hlTJYKY+M8Yit7cEXbDg ns3EK+/1Epk9PNA79YIDNi7QtEA9uyYDQx0nckxAJJX3HhpBIqxy1Ls033vkb2t3P1 +gIQdg+CboASafJvmX4e/g9zq7M0yZs47x+wyWYymopxybNRNkUf0X1j7nussDgLOa E1b2uOFJBGh0A== Date: Thu, 11 Nov 2021 11:45:56 +0200 From: Mike Rapoport To: Mark-PK Tsai Cc: akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux@armlinux.org.uk, rppt@linux.ibm.com, tony@atomide.com, wangkefeng.wang@huawei.com, yj.chiang@mediatek.com Subject: Re: [PATCH v3 0/4] memblock, arm: fixes for freeing of the memory map Message-ID: References: <20210630071211.21011-1-rppt@kernel.org> <20211111073329.13095-1-mark-pk.tsai@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211111073329.13095-1-mark-pk.tsai@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_014605_784884_C5059DC3 X-CRM114-Status: GOOD ( 12.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On Thu, Nov 11, 2021 at 03:33:29PM +0800, Mark-PK Tsai wrote: > Hi, > > The lts kernel also have this issue. (we use 5.4-lts kernel.) > Currently we patch our custom kernel to select CONFIG_HOLES_IN_ZONE for arch arm. > But I think the formal solution should backport to lts. > > Would you help to backport this patch series? (including the below commit) There were a couple of changes between 5.4 and this set, so you'd need to "apply" the first two patches to arm::free_unused_memmap(). Other than that, I don't see any pitfalls here. Feel free to CC me when you post the backported series. > (024591f9a6e0 arm: ioremap: don't abuse pfn_valid() to check if pfn is in RAM) > > Thanks! -- Sincerely yours, Mike. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel