From mboxrd@z Thu Jan 1 00:00:00 1970 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 4BE4A1F12F3; Mon, 20 Jan 2025 17:45:48 +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=1737395149; cv=none; b=MK47f7cxeyCBfJpWi/DSvPYSJfzpjyx36PxfBJDwrGtKl3aDc10WqYCbL2SfP8zR80eu5vE7EwIYsN7NftGqIkHJIamswsMs41mYSr9rHGdwi7BntjIacZsofrL5ezFpbhiHpr8FVX/bSYy+ia2RRhaJz2QERxod+Q4i5vSsFIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737395149; c=relaxed/simple; bh=e1wuvN1zIIrla3YrLD0s565hpxyjgyUOMYzsCjx1/3U=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tygOlqSeU3nA6peIC6aPKs82yDat8bkLiE9OhLl030iMNUTKYM92ec9ga3IjtFEKJbHax+4QOQ3zdYEVg5QY5VQgJJcfy153NhZaJJzzcLR39Njpt8G2iVgnM/+u4XA+KhixGHrXqoH+FnylCGB+hZROu76d4F8ksU8tlij2eTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Iijg6LJG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Iijg6LJG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 720F2C4CEE3; Mon, 20 Jan 2025 17:45:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737395148; bh=e1wuvN1zIIrla3YrLD0s565hpxyjgyUOMYzsCjx1/3U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Iijg6LJG3EPncSYJQJ/R/uoT47mPLTIA86Gd2ctKCD0FABKmCNOYX9qfhw6di9Gk+ eAQbch6SKOmSxKxtzA8y4VfqkU33MPKKOEBbO8602p2UWvv9Qzqwx8sSbGWtEUXpyc 4NKpvMI5wCwHr2/CK0qaJHfm3SlNUlehwweqJ1iKwOAof5Ts8axJQWFtnkDk0Eeuvj mcfmHn68giDIOKLilsIf7iqL9GN1qW5ERDlWbj2DCfp+eEqO6FSBFwxV/Quabpes2t KM8j2yULT5gpeBKxyTnUOUM1kHeb4Yj2tbXQnby1eaWzNIklZSmMq1SIR35hciZYf7 BJlHLoAAYsZxw== Date: Mon, 20 Jan 2025 09:45:47 -0800 From: Jakub Kicinski To: Catalin Marinas Cc: torvalds@linux-foundation.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, pabeni@redhat.com, Guo Weikang , Andrew Morton Subject: Re: [GIT PULL] Networking for v6.13-rc7 Message-ID: <20250120094547.202f4718@kernel.org> In-Reply-To: References: <20250109182953.2752717-1-kuba@kernel.org> <173646486752.1541533.15419405499323104668.pr-tracker-bot@kernel.org> <20250116193821.2e12e728@kernel.org> Precedence: bulk X-Mailing-List: netdev@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 Mon, 20 Jan 2025 14:51:13 +0000 Catalin Marinas wrote: > > +#include > > #include > > #include > > #include > > @@ -23,6 +24,9 @@ void __init alloc_node_data(int nid) > > nd_size, nid); > > nd = __va(nd_pa); > > > > + /* needed to track related allocation stored in node_data[] */ > > + kmemleak_alloc(nd, nd_size, 0, 0); > > + > > /* report and initialize */ > > pr_info("NODE_DATA(%d) allocated [mem %#010Lx-%#010Lx]\n", nid, > > nd_pa, nd_pa + nd_size - 1); > > Hmm, I don't think this would make any difference as kmemleak does scan > the memblock allocations as long as they have a correspondent VA in the > linear map. > > BTW, is NUMA enabled or disabled in your .config? It's pretty much kernel/configs/debug.config, with virtme-ng, booted with 4 CPUs. LMK if you can't repro with that, I can provide exact cmdline.