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 DDC492F30 for ; Sun, 29 Jan 2023 20:50:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35D0BC433D2; Sun, 29 Jan 2023 20:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1675025415; bh=q2/HBKoBXD27IsM9BwIx6UYtt4IZ81bwAZpNuwPW1mI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Eq4biyfZVG2QI1zTo6yR+B4/q9iceaRN8JW4pzEX1aWvzA9v0v93OX7XiXRPwHIch 7UnnHGIio06rN1J1vtBXb2atgLTMw8bmHBR5gKOjOOZ12vyB5QelI/0NH+RKPkfJQi cEyu9qHj1+CFd0zft2mv0CvFKXIbOYoJx+H6MNPk= Date: Sun, 29 Jan 2023 12:50:14 -0800 From: Andrew Morton To: Borislav Petkov Cc: Linux regressions mailing list , Mirsad Goran Todorovac , Vlastimil Babka , Alexander Potapenko , Marco Elver , Dmitry Vyukov , linux-mm , lkml , Zhaoyang Huang Subject: Re: Failure during Stack Depot allocating hash table of 1048576 entries with kvcalloc Message-Id: <20230129125014.fcd459335c9b8eae71067c1a@linux-foundation.org> In-Reply-To: References: <07e42002-e78d-7947-19a7-0dd035466f50@alu.unizg.hr> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 28 Jan 2023 15:26:00 +0100 Borislav Petkov wrote: > On Sat, Jan 28, 2023 at 02:55:58PM +0100, Linux kernel regression tracking (Thorsten Leemhuis) wrote: > > On 28.01.23 12:03, Borislav Petkov wrote: > > > On Sat, Jan 28, 2023 at 03:41:50AM +0100, Mirsad Goran Todorovac wrote: > > >> This appears to be a duplicate of the report: > > >> https://lore.kernel.org/linux-mm/2c677d85-820c-d41a-fc98-7d3974b49e42@alu.unizg.hr/raw > > > > > > Yah, looks like > > > > > > 56a61617dd22 ("mm: use stack_depot for recording kmemleak's backtrace") > > > > > > needs to be reverted. > > > > Unless I'm missing something (which might easily be the case) there is a > > patch for that issue in -mm already: > > > > https://lore.kernel.org/all/20230119224022.80752C433F0@smtp.kernel.org/ > > > > Or where two different issues discussed in the thread Mirsad mentioned > > above? > > Probably the same issue. This one fixes the issue on my machine - thanks! > > Tested-by: Borislav Petkov (AMD) > OK, thanks, I didn't realize this issue was so serious. I reordered Zhaoyang Huang's series so that "mm: use stack_depot_early_init for kmemleak" comes ahead of "mm: move KMEMLEAK's Kconfig items from lib to mm" and I've staged "mm: use stack_depot_early_init for kmemleak" in the mm-hotfixes branch for upstream merging in this -rc cycle.