Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3186740ybz; Sun, 3 May 2020 19:53:01 -0700 (PDT) X-Google-Smtp-Source: APiQypKJjgMvs1c2TPRjuxXTq2s7Vn07gKKpGpHLFdgMxjT17GFP5eJ+EPYr53AmzEuTvhlsWy1f X-Received: by 2002:a17:906:4c46:: with SMTP id d6mr12904421ejw.257.1588560781399; Sun, 03 May 2020 19:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588560781; cv=none; d=google.com; s=arc-20160816; b=IONAHpU0FVbCt5AtoyiBMb1W7JfMuIQxWzF5a1weqMhCCzpiRGatZxvJu9ryTMuxBE q0o+dq9dcrcxbERDUs6ZIl4M1w34iAeJ+4+LWXF/uEr+PBJo9kX41ohpW1yRt6tE6mKJ boGXqhLCIzL0IhVfZhXfLVvFyBPq6ySPPTQ7HYOO3S6SCSVydFOge71v0DvS0GxIkrI5 zFLKiPHoLJ8RuM5VGSyZuEhsgwyvy56iMasAHsfT6b9YOY5oisOrNYWE4uCUwwCHfMT5 88TNYYIX4iCGRas36yQviiRgdft1n5zCv38nqN2m4dAF8KE/SLEglnvYy0P6su5VZsA4 wCdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wyYrNtyd0qNR/27bbC3vw4qOpKynz0aNHsHz7AO+7T8=; b=TTW0GKol94KsJuTKQzr1rPNj1oKaN2Vlcnf3HOgCe0ijfUDlPvByz7mqVvCk2YgL9m A1Vbq08sOb/kN2dIRKDX2R1UYQN/Ab2a73thLVcc+8rKupWzVZCnm6HeaVoP9/OP1ZWA 2EX2iNjPOGTSy/A+bMj9ye912Z1+5K/tcTj698V0IQPE7EUyX5OcyqK6PVcRF8PtihDL EpIdjindekv7IRws6WuVf7FLx9k9th51cg8jKmDoQF6U7OW5dfVJeqgnXq4vp4vF9RZm fO5EwrAol/O0+moUiO7CUFyCbmmBg08sTKorQtBdXj3QgTwkmsyoqqbp7H34TepsNoQ7 R/AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gg3GExlD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si5990765ejz.509.2020.05.03.19.52.21; Sun, 03 May 2020 19:53:01 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gg3GExlD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726550AbgEDCgy (ORCPT + 99 others); Sun, 3 May 2020 22:36:54 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:29381 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726377AbgEDCgy (ORCPT ); Sun, 3 May 2020 22:36:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588559813; 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=gg3GExlDiq9dFfXZnITPpuyAh69H8CtkbFFamLCbn1xKDTjn9pAQOcUIahPZ2dOswepOpZ GD2rOLQuL06g8B5AHubh7xN5rM1NcjOrZJTB9bItNpDkRRQkoUhL/TiR+Yl+dNqHXrKa+H JvDuYOXW0XN/E/mzYNGPS8MeJrTWbQM= 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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