Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2548957rdb; Mon, 12 Feb 2024 08:17:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVlntkYF7HtiNkhz4k0hBbEiE6tSd1us0XsVkAq3LDSLkoa6WJrlm81bNCYjcyJLNiPV7SBZzXBAyryZSKC6LmlJtmu7Rf2NHsc5Om3/g== X-Google-Smtp-Source: AGHT+IGJPZ84WnItRFBhfwIw77EXFLv5n9gDGqtXmykVz42mkI5li9pLWzclLVY59eNAiuGdA68Y X-Received: by 2002:a6b:2a88:0:b0:7c4:6efa:486b with SMTP id q130-20020a6b2a88000000b007c46efa486bmr619966ioq.15.1707754630420; Mon, 12 Feb 2024 08:17:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707754630; cv=pass; d=google.com; s=arc-20160816; b=FOn4uI5VC2I3g2GYdvKehSHxhhxPSkphfZUJm9wLFrd4ycimpcCyyZHvrA0xP2NCpy VyWLlAYx6T6UTYsBu8/SV6jtd7OUTTs0M3R27IfFksFRJm7Jc85Tt9WNBiQ0R7HyLWpT cuzl71TS/W3lRnl9gWpjQ563ZSsIB2cB9doUbxCT4U7kChBbi4W0Bb9yL7u0vT0eLIFI 5ZzURCYxsll+BWhX+dUp62jOuKgH2xQiz7iFnnwPoOz9wncqaAk1gmiqFFEQFEACweg9 2wivofHvdfAHf8GiefLaqdGYERDqTDL3EOFul+rCKG+kDy3TguG69vBpx9v1BfvGP68O CmHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:reply-to:cc:to:from :content-language:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=STTG/HAH95tdQZNaPNjRo8e9hGBUwfoV2NwKl1FRtec=; fh=Z8xN+lOkhLXk8+lfoYobq9Yx4Ua6NcqLbAhJjffhdC4=; b=h6nJPOyGlYa0GW03yTmyHBF3kQVkjGq/o+L8h+y4XnTQu1/HpNFZV1DuuxfA5zbOeU opHRnNzdPWaFzk5LQBZX8kmrR3ybL3CJOM8rNJxYvclrQUWsRw0rkMzOeYkUePvTDlmK bCYFs9RtODaAlxmGabSGWOtsP691Puyv/Nw7F+8d6206lf9v5rdDjkAeI1MaCRCYT9YP i3l7Dp3F30CFUzUVJss00aiGlZlhi+K4skFQjmRn1qTLje9hKLqumgTMLC8loG+KhaBm dmjLKPulIzTB8/lsFePG3hW8X8RFM5O6+HhDbr7QoBECD6FmgCgoZ+MfwCmxO6Je3XFD XZVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-61946-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61946-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXllJ3R5j8TiVPMmViUOIGy83bWhK3PpAjuYHHeaeXePxdZMUXuglZrRuX+gO3YPIsf19KEuW5uFgQkinNjVRO7BOPrwG2Tl8qvcAZ0qw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b20-20020a6567d4000000b005dc6d16e91csi452057pgs.781.2024.02.12.08.17.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 08:17:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61946-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-61946-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61946-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A1B6282AAF for ; Mon, 12 Feb 2024 16:17:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A558B3D0D4; Mon, 12 Feb 2024 16:17:03 +0000 (UTC) Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (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 F0A833D0B6; Mon, 12 Feb 2024 16:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707754623; cv=none; b=XFpIcMo+wADh4TZIX5BQBpfK3DkkuGswYjIpcgGDFEyr2uqINJnCcg7e5y5hKQY7B4aZCNuZmZHpFhxGv474jBj1Yja9J1ySdj1iu/+ThsNfXsyhlNNvSpLSVmvM6rZ/Yh27DQmWicsUsErrW2uvfiHk0l4OFb/Pyz6YitFtYIA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707754623; c=relaxed/simple; bh=XiSCSWQLPVABFex+zdas6pNksSgMX3x6uGMmE8PYqjo=; h=Message-ID:Date:MIME-Version:From:To:Cc:Subject:Content-Type; b=V9E/lX84xJNNQFbj5xmwEjHgEF8DQshE11Z/FAa15L8vhtPKiKaKp4OEbMB0BKmcG1F3fBuIBWHZ2ZoHBHBwWEy8zZnjhzpgHBnstSwo11oIkQhMENvZfggrpul8OWvl6Fn6WYqS/hGMP+xoqTVpXNrqWSONy4KHohHVWDb1S10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1rZYzK-0002Kc-Tp; Mon, 12 Feb 2024 17:16:58 +0100 Message-ID: Date: Mon, 12 Feb 2024 17:16:58 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US, de-DE From: "Linux regression tracking (Thorsten Leemhuis)" To: Greg KH , Sasha Levin , David Laight Cc: "stable@vger.kernel.org" , LKML , Linux kernel regressions list Reply-To: Linux regressions mailing list Subject: [regression] linux-6.6.y, minmax: virtual memory exhausted in i586 chroot during kernel compilation Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1707754621;0deb7cf8; X-HE-SMSGID: 1rZYzK-0002Kc-Tp Hi Greg, Sasha, and David, I noticed a regression report in bugzilla.kernel.org that seems to be specific to the linux-6.6.y series: Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=218484 : > After upgrading to version 6.6.16, the kernel compilation on a i586 > arch (on a 32bit chroot in a 64bit host) fails with a message: > > virtual memory exhausted: Cannot allocate memory > > this happens even lowering the number of parallel compilation > threads. On a x86_64 arch the same problem doesn't occur. It's not > clear whether some weird recursion is triggered that exhausts the > memory, but it seems that the problem is caused by the patchset > 'minmax' added to the 6.6.16 version, in particular it seems caused > by these patches: > > - minmax-allow-min-max-clamp-if-the-arguments-have-the-same-signedness.patch > - minmax-fix-indentation-of-__cmp_once-and-__clamp_once.patch > - minmax-allow-comparisons-of-int-against-unsigned-char-short.patch > - minmax-relax-check-to-allow-comparison-between-unsigned-arguments-and-signed-constants.patch > > Reverting those patches fixes the memory exhaustion problem during compilation. The reporter later added: > From a quick test the same problem doesn't occur in 6.8-rc4. See the ticket for more details. Note, you have to use bugzilla to reach the reporter, as I sadly[1] can not CCed them in mails like this. [TLDR for the rest of this mail: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form.] BTW, let me use this mail to also add the report to the list of tracked regressions to ensure it's doesn't fall through the cracks: #regzbot introduced: 204c653d5d0c79940..9487d93f172acef https://bugzilla.kernel.org/show_bug.cgi?id=218484 #regzbot title: minmax: virtual memory exhausted in 6.6.16 with i586 chroot #regzbot ignore-activity Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page. [1] because bugzilla.kernel.org tells users upon registration their "email address will never be displayed to logged out users"