Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2815358pxb; Fri, 5 Nov 2021 05:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMYK/2d7LHevtQoBaikVFyPetlblA8o7VIqVY+GbNBNSJ0ryA5zXKRCvwK1V7MuzkdM4vH X-Received: by 2002:a17:907:931:: with SMTP id au17mr5640942ejc.119.1636114589421; Fri, 05 Nov 2021 05:16:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636114589; cv=none; d=google.com; s=arc-20160816; b=vZzO3Mi4G36nC0WK84muNg6aHzFejXUkb59KUG52U/blRAPFEJi9gfE8WZHcXSlNyM LhgtTYqBHh8TZef6nccncv9htPkl9cYdByQiAK8PIuqAQ5zYy5kq31h3h8475u+lcnZe gqIhSlmxiATydqqwPLP8wV+iPPZrzqVe1vh8Hqsb2EVPPJXHWH7ONXT/sNbHPCnjry7X cpCSAzIS5W/pWJL3J3g2ogX/vc58GOdIKC76Ou15RYV12998yKjBZ3fzip79hDCvtbx1 XkRZOhNiEgP77KEfs9+gDP6nqcINN68hb10s8m7I5tNZ3A0Oh4ZTHidyMwiljqFdcq6c CMJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZhVthx/p+uouabo8/e43jRCd+SPSyvKqxkEQY3oBUmI=; b=geoLuOYvl+8u0phQen3nyZOYLcAR3d2z164uS/MmR+1Yk/MNf+kekzR8VK1VZ65qpR CIGCSmziKh0GQLCs2s3uRESVvaHspXDCv6o9DSEEHpj0W+qGZj6F3M+2PXGHvWNVr4UI beZ5bdPggzp7R/F/H8fE4qRJHLPRp2s6qcFfO7fRZJzbgvoOAcdVZEgHDqoIyEMoWltz WfnJxCqbD9viOiYPLNr+V+Z1ga593B/tZil3w8+3yujG4Lh0mzWESBhR4+htDGVt1pHg kotvkztEgjUHUv/IGHB+w6d+MUb1Jcj/C31cZLyqKScett5CQtvtBikn3j7bxeSZxU5v Rf8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UHIkVgQ6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sc23si10157237ejc.36.2021.11.05.05.16.05; Fri, 05 Nov 2021 05:16:29 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UHIkVgQ6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231579AbhKEKwe (ORCPT + 99 others); Fri, 5 Nov 2021 06:52:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:34554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbhKEKwd (ORCPT ); Fri, 5 Nov 2021 06:52:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 160CF610A8; Fri, 5 Nov 2021 10:49:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636109394; bh=flL52suMqN/frqIhABji+kP/KZLf7M9LOU0RKHo6DLY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UHIkVgQ6n5Zyxz0A4kkUqNx//vww03JEjx7BVRVBn8g1SzYXC5XpSbyPhTc/6CQp4 7VvwqDdzpzd5lnQZuG1gkrjKQUw/axAdmhmkty0yFl7yf4j5fZ1+WDyQbYBQ+CR5iL uKM5GooAJ9Dk/qzcZ2aGLEpvAzSxszQO3tKsKlusWO6SZ9ay3dcZVq7BZ6YAxjKpBt Loq6f+itdJBPQRJ3z2TK7BwsVXHVaHayAVENKVzqG8b3o/UxRLB5xDvAuuRvJOlwQv OSBPYK6iOpIBiL9CWWeclndyZnEpXH7fodmG5ZzSqos+qgsxd46iR9l4dybgF4jTyU GRhROeEeCPH3g== Date: Fri, 5 Nov 2021 12:49:47 +0200 From: Mike Rapoport To: Qian Cai Cc: Catalin Marinas , Will Deacon , Andrew Morton , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: Track no early_pgtable_alloc() for kmemleak Message-ID: References: <20211104155623.11158-1-quic_qiancai@quicinc.com> <9bb6fe11-c10a-a373-9288-d44a5ba976fa@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9bb6fe11-c10a-a373-9288-d44a5ba976fa@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 04, 2021 at 01:57:03PM -0400, Qian Cai wrote: > > > On 11/4/21 1:06 PM, Mike Rapoport wrote: > > I think I'll be better to rename MEMBLOCK_ALLOC_KASAN to, say, > > MEMBLOCK_ALLOC_NOKMEMLEAK and use that for both KASAN and page table cases. > > Okay, that would look a bit nicer. > > > But more generally, we are going to hit this again and again. > > Couldn't we add a memblock allocation as a mean to get more memory to > > kmemleak::mem_pool_alloc()? > > For the last 5 years, this is the second time I am ware of this kind of > issue just because of the 64KB->4KB switch on those servers, although I > agree it could happen again in the future due to some new debugging > features etc. I don't feel a strong need to rewrite it now though. Not > sure if Catalin saw things differently. Anyway, Mike, do you agree that > we could rewrite that separately in the future? Yeah, the rework can definitely go on top. -- Sincerely yours, Mike.