From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4616C28CBC for ; Mon, 4 May 2020 02:36:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3490E206F0 for ; Mon, 4 May 2020 02:36:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="f0GDrCK7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3490E206F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 095D68E0005; Sun, 3 May 2020 22:36:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 046AC8E0001; Sun, 3 May 2020 22:36:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E9FA08E0005; Sun, 3 May 2020 22:36:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0101.hostedemail.com [216.40.44.101]) by kanga.kvack.org (Postfix) with ESMTP id C4CC08E0001 for ; Sun, 3 May 2020 22:36:52 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 7D37E18F61 for ; Mon, 4 May 2020 02:36:52 +0000 (UTC) X-FDA: 76777473864.10.jam82_7631584263d5e X-HE-Tag: jam82_7631584263d5e X-Filterd-Recvd-Size: 2877 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by imf21.hostedemail.com (Postfix) with ESMTP for ; Mon, 4 May 2020 02:36:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588559811; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wyYrNtyd0qNR/27bbC3vw4qOpKynz0aNHsHz7AO+7T8=; b=f0GDrCK7cP+2NWw/Iqxq4+gez5dkaJy6+MdNF8NmB3gNARkJBTWdd2x74Nb/7I48GHzFKR nxZowOB2nGha+M7QrkLxRDyCvnTiwys5mxXCBXxUUs6hXYLzqqNOD11KnTHaCnZ8EBlxRV Z0+kRxHXazOWqL+dWx0npK8NqKvYEZk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-507-53dzPPjXM1Sc3xJjWpXY4w-1; Sun, 03 May 2020 22:36:49 -0400 X-MC-Unique: 53dzPPjXM1Sc3xJjWpXY4w-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7F03A1005510; Mon, 4 May 2020 02:36:47 +0000 (UTC) Received: from t490s (ovpn-112-64.phx2.redhat.com [10.3.112.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8FE8F1002382; Mon, 4 May 2020 02:36:45 +0000 (UTC) Date: Sun, 3 May 2020 22:36:43 -0400 From: Rafael Aquini To: Qian Cai Cc: Linux-MM , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, iamjoonsoo.kim@lge.com, rientjes@google.com, penberg@kernel.org, cl@linux.com Subject: Re: [PATCH] mm: slub: add panic_on_error to the debug facilities Message-ID: <20200504023643.GA18463@t490s> References: <20200501215441.GE27720@optiplex-lnx> <8CD9EA82-8BE1-47B4-AD35-7D300CAD745C@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8CD9EA82-8BE1-47B4-AD35-7D300CAD745C@lca.pw> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Content-Transfer-Encoding: quoted-printable 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: On Fri, May 01, 2020 at 07:17:24PM -0400, Qian Cai wrote: >=20 >=20 > > On May 1, 2020, at 5:54 PM, Rafael Aquini wrote: > >=20 > > It seems like a good idea which also would required "adding things" > > elsewhere, but doesn't look mutually exclusive with the approach here= . >=20 > Also, what=E2=80=99s so special about these bad pages here that deserve= a crash dump, but not other TAINT_BAD_PAGE places? > In that light, yes they're not as different and we could better leverage a panic_on_taint mechanism (similar to panic_on_warn). I'll get that posted soon. Thanks. -- Rafael=20