From patchwork Mon Nov 6 18:32:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13447298 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB670C4332F for ; Mon, 6 Nov 2023 18:33:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 68DD86B0280; Mon, 6 Nov 2023 13:33:17 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 63CE76B0281; Mon, 6 Nov 2023 13:33:17 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5052B6B0282; Mon, 6 Nov 2023 13:33:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3FF426B0280 for ; Mon, 6 Nov 2023 13:33:17 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 1A0B9A0819 for ; Mon, 6 Nov 2023 18:33:17 +0000 (UTC) X-FDA: 81428376834.11.8AC0DDA Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf11.hostedemail.com (Postfix) with ESMTP id 1766140005 for ; Mon, 6 Nov 2023 18:33:14 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=kXJxAz0Z; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf11.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699295595; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=YbCggWTZd20uKwmqkr+nlymgs6HQ9HJa5yRpfuT4oB0=; b=53UwXh2SvbC+dcux0XrH4ixxahnr3tsrTimX9410mo/v8eleM4A0ygA24wisb2dR8eT9Lp eO4w6fsqh6tzx7OGx6yhIJ05ksn+A2iwyOSe8iV0iFfWfpKZsavYN9S10UpCnnTsSuPrMf 7u8tG+D/+ZdGs5PWZCWU0XoSEmEZ6Tc= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=kXJxAz0Z; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf11.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1699295595; a=rsa-sha256; cv=none; b=Q9+50jNfG4UijsxzflqQ783nLXXf1qlzQTvhAYn9cQlk8sdHpJyqC0ehl9dMXD2SyXHDWy Gs+idT9TWpmgbFvmByQWPAxVlHEMEpMbWgCf/xAUaT/2OsdhZ8nYec84ae/gnwMgUXJaCh gdXvhLTZuIVUBPko7vvl/lgZOiTvhRQ= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id B395ECE0E07; Mon, 6 Nov 2023 18:33:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28A7BC433C8; Mon, 6 Nov 2023 18:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699295590; bh=fjg8513Gf1d7m4R7gTtM2nG8lVuqIwjwGxcDG8s0rGE=; h=Date:From:To:Cc:Subject:From; b=kXJxAz0ZAOzKlH/0riw9OGCsKqFeYwupuVkqVF8jmk/eWjs7qfp1Dpx6crQYSn+GN /Yg98o/qyyhhZdVDnvH50YLmxZtFsz1YSeGbVAF+drOj2UDjTIMND/gXtDOKGTX49X kvUrVk4JzBX1D3vz93q70HbFn+LWE5C6oZsK645agH91Qyy8m6404RM7nJT0sIid2O vB25PQ+OQclI+8E7MH47jpjHMeJJEpa7GX2bL0pPJj9hswYWH3Pe23QZktCU+MXM+8 PYs3JDt+4QwAjzZgMyMI/YGW5HHjvPHdFTiqF3oasaAHvt4D8SzAbwNDv7SRXUYn6S jP01wc9XakLcQ== Date: Mon, 6 Nov 2023 20:32:58 +0200 From: Mike Rapoport To: Linus Torvalds Cc: Andrew Morton , Song Shuai , Mike Rapoport , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] memblock update for v6.7 Message-ID: <20231106183258.GP2824@kernel.org> MIME-Version: 1.0 Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 1766140005 X-Stat-Signature: kf39oj4bjj7taosuux7i5ezdsr7f961g X-HE-Tag: 1699295594-305566 X-HE-Meta: U2FsdGVkX1/0L7YqVE/SPo94VgBPpt/nWGmMlhgM6oyly/liv0KisDdELQYHkVG995wQEUPxVsZTHj0IAcehJak3sZR2zsn9WmRAhsLpAnTwz1cOUlvBTGN/uGXjBXNa8aKjsM+MEUfDXLJE27SzpWBpy69kIprZAH1wPv1celaLz/TTeI6xx7N5FvDO1w5WOv/YYaNZTzGYO2Q4q/FJCD2owJzXGHtk2YwdTXGFqvl9XMIYJIpLTkYHzQ7M5GGEnd39k1YmULTUVFkD0sQkcSFGvk5LdhzQO/eO3R7vtJR4Nf1yi74Uwm47s5mqa1Pl1ryFWb3C1w5PdAA2gD2wVFIr5zSSknI/SmC4PVq5b4WLKUgoiv0et4gfvpoRxS8d/+H26aHTLlT/iJ0CJM6G+wH2aiBKlEC7tUVXY4+Xy+3V1Z9mDa2Eww9SxoEFMGSFMR7NOO9b3ims26xr0WyIyK/44adHR7dDrqkDMtgZkE3TkNLPpGWfHHjuJLfSaelIctetX/yeratBAbljKwORU0svwFVAmUdHQ2I/d60+AahUhqY8wfcfUNQOT6kywlckNTuw3mXc6XoYXRL8ZAm5I9uzZ2jRPRPRu3B9jVgNYrczbyoAqGzvww8bdQsANbsaQHr8PwjrI6i2FYPiD3NBypEcDUWFKVBAVlkCQY8OjuVgptHs775KuUz3azbBkwI8CP9cHGriJH4Q7N6J7Lf766kJlqiBZYgmWK6dIIyZ0erkhxzWK7oeJ2/N9x0zkSLrTKpB1gvz0huPA3IAEMkhmqKmqkLYsIwSbqZjdsRrMPMd276NoLeZjV5at6pm6K3zJ8S5XRpA8ErERDzUg+FSZjq8rpK476tWn1ffoxkgOLR6BclMnEmRD+b745tXydQk+Ez3u4Jdp8KAQZqHTqe50ZqsR1rqwjEegH0SqMaAnK00qL2GohIYLhdhkeLGwIO9PE88hjlAtQIrvQjeBdq gAo1VyQX ZAL1qv3rtUugO4/g2Suxz2HMu/NXqKmWaAhzJrC0UAzCsbcD42sw01ifJ5GcaFo0glqKeq8Y0JYORNsUq5ELt+Y0w+fhqYInD1xyi7XPaHqUX2Tth+7DDhBqJvctxAstJNQixbe2KrPghaWBNmjIebtniMa5YkcZCJ8Q1JmA7qzUbuBiGNg46xfAbMMHcFTyvNv3fsmyTU+ML05AEACXE3qr9I8Mcm0Gz4pRjnDHnjZucLycRvEmvP5a5og== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Linus, The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072: Linux 6.6-rc3 (2023-09-24 14:31:13 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v6.7-rc1 for you to fetch changes up to e96c6b8f212a510c9b22362de519f6e1d7920de5: memblock: report failures when memblock_can_resize is not set (2023-09-28 09:04:33 +0300) ---------------------------------------------------------------- memblock: report failures when memblock_can_resize is not set Numerous memblock reservations at early boot may exhaust static memblock.reserved array and it is unnoticed because most of the callers don't check memblock_reserve() return value. In this case the system will crash later, but the reason is hard to identify. Replace return of an error with panic() when memblock.reserved is exhausted before it can be resized. ---------------------------------------------------------------- Song Shuai (1): memblock: report failures when memblock_can_resize is not set mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)