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 94AA23B52FD; Fri, 24 Apr 2026 12:48:41 +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=1777034921; cv=none; b=ZhNZrte7n9aYqrM3b+acBXRMn+aXT3HbTM7mjb1TbyolCMFvDKh0hkgV9PG+zrqmfyIWgxPpD+VMxstuDzRQ5qytN6FpCJT44S2wOOJrik+uyJ2Z6/IkPjLqr2Tdk/cZYwWKcEa5vKnhLwD0Kd6CRckDlr2lWAUtW0rVf2drEZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777034921; c=relaxed/simple; bh=TROVbJzrIa38ArftKGm7M6iYtIDBZWbB0um0eGyg+zU=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=PYx56c55Lck9cnHOCYGbIWrkh0GmHEU5cTGhKHGxYRJrR2Zm6dXW8n0fZYgZWLlOEAZ3LAXbQDXMuDF318d+WnLIyb+M5r7eu+jMFy3VtYqku+7bi120ZJZ67vQHra5s7x7E9gtWvEEHAyUU66VVNodKmzoyOMpneUZ7ain40e4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=cFpBcO2v; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="cFpBcO2v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE1A8C19425; Fri, 24 Apr 2026 12:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1777034921; bh=TROVbJzrIa38ArftKGm7M6iYtIDBZWbB0um0eGyg+zU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cFpBcO2vALXr7md4hid3exLyeME0fHrvBJjlifO6sM51NXzOxK4YlOkMEBQOymJ8l Bfh2flYFFsoEBJftcGNE15m+vewO3VtLyRNpV459DjEydpAmB/VxIg+aeq+MeFV2Y4 6+5v1ltjzw1cQVsfP1HG1TkTQol6eMmalQBLhR50= Date: Fri, 24 Apr 2026 05:48:40 -0700 From: Andrew Morton To: Breno Leitao Cc: Miaohe Lin , Naoya Horiguchi , Jonathan Corbet , Shuah Khan , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Shuah Khan , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH v5 3/4] Documentation: document panic_on_unrecoverable_memory_failure sysctl Message-Id: <20260424054840.a63d80ed01b968caf9d9ef64@linux-foundation.org> In-Reply-To: <20260424-ecc_panic-v5-3-a35f4b50425c@debian.org> References: <20260424-ecc_panic-v5-0-a35f4b50425c@debian.org> <20260424-ecc_panic-v5-3-a35f4b50425c@debian.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-doc@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 Fri, 24 Apr 2026 05:24:01 -0700 Breno Leitao wrote: > Add documentation for the new vm.panic_on_unrecoverable_memory_failure > sysctl, describing the three categories of failures that trigger a > panic and noting which kernel page types are not yet covered. > > > ... > > +When enabled, this sysctl triggers a panic on three categories of > +unrecoverable failures: reserved kernel pages, non-buddy kernel pages > +with zero refcount (e.g. tail pages of high-order allocations), and > +pages whose state cannot be classified as recoverable. Before someone asks, I wonder if we should make this a bitfield thing, so people can select which of the above three should get the panic treatment.