Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2138436ybz; Sat, 2 May 2020 16:20:36 -0700 (PDT) X-Google-Smtp-Source: APiQypK4FMFTwVyUWawvhIV0fKc1IxGpUg0nmNdCVLvR2NYJZGb3uPHBDvlwKJ6UqFZuSkF3DJ15 X-Received: by 2002:a17:906:8282:: with SMTP id h2mr9565296ejx.250.1588461636573; Sat, 02 May 2020 16:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588461636; cv=none; d=google.com; s=arc-20160816; b=DVz/a3UhlzZJkags4WKl2+tJMpE1k7P/9Ki3g89GvyzMssSz/UOUT6wBja4t6njDvB bDt3/W7orU8KZeGRTOxVfwFhAooKfnnStSKyXFBVHb+l32lvyZKuhDBF3idyCL8Bkrss qQtP/Xnl6HeVUzcPxtsGOxllh++75orMwqaAvJ4WaOEQIbKLzlw0gf5hr1LQOYE5X3KJ 01Y4E/1SEVnFGC7eg/1tuQWAKpaGJWfyPcpe46CzXle/TB1Uwvn3rb5f3f4F8iDqFdN0 eJfxd7dqkPuTX9ZdVJUkwJ58n3xSLWYU2lNj/aMU2mSAFbwWVb1r95zfYNfdcxYOwdVb u/BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=5QDl4xKDQvTV91amlltiztlijak+Q3nUWVfqw7iBH7E=; b=BX6b0+v1keuGla9MSibuVqbhuWcbgVt+WoxMaJsWl0uaqiVsN3FeTgoAL6/rUJZg+W FzZu60v1uDI59GlsoPhreS9EM9XTNM3s0Uko7s1H9Gp99BXbvGYGINSyRE1fF9JgaGBp Km3N3aOMKeVhutjBjqCkRjkIrppRyIVu5aE/FlfnQlA8ML6Fcl8NREPz3ALwgU4oO+6x 55q9QIeMWWiH5E4eBrzmyBD9ZdLUiBjweLyI0ZZS06Lfgfj0KWRyUkaCfZBPErm+tX9C ddp8AjpTi1yEdIhuMwNrFGwVW2ETbT9Ququwd/M2Xndi4EBbwy2WVCyKhIkgrRKO960k 5ySQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si4228179ejo.108.2020.05.02.16.20.13; Sat, 02 May 2020 16:20:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726519AbgEBXQc (ORCPT + 99 others); Sat, 2 May 2020 19:16:32 -0400 Received: from gentwo.org ([3.19.106.255]:33436 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbgEBXQc (ORCPT ); Sat, 2 May 2020 19:16:32 -0400 Received: by gentwo.org (Postfix, from userid 1002) id E5D683EBBD; Sat, 2 May 2020 23:16:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id E4E523EBB9; Sat, 2 May 2020 23:16:30 +0000 (UTC) Date: Sat, 2 May 2020 23:16:30 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: Rafael Aquini cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, iamjoonsoo.kim@lge.com, rientjes@google.com, penberg@kernel.org Subject: Re: [PATCH] mm: slub: add panic_on_error to the debug facilities In-Reply-To: <20200501211540.71216-1-aquini@redhat.com> Message-ID: References: <20200501211540.71216-1-aquini@redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 May 2020, Rafael Aquini wrote: > Sometimes it is desirable to override SLUB's debug facilities > default behavior upon stumbling on a cache or object error > and just stop the execution in order to grab a coredump, at > the error-spotting time, instead of trying to fix the issue > and report in an attempt to keep the system rolling. The stopping of execution on an error is the default behavior. Usually you get some OOPS somewhere when data is corrupted and that causes a core dump. SLUB can fix the issue and continue if enabled by specifying special options on boot. That is *not* the default.