Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1197234ybj; Thu, 7 May 2020 17:33:46 -0700 (PDT) X-Google-Smtp-Source: APiQypJu9wbXIFwLP6PIbIKzQ1GlD9fSaVe/Wly+F0NhG6JwNv7/gCC00UkQC4PTonmgbkPREhaw X-Received: by 2002:a05:6402:1cac:: with SMTP id cz12mr25465edb.373.1588898026008; Thu, 07 May 2020 17:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588898026; cv=none; d=google.com; s=arc-20160816; b=DODWsOs0uHEokqxRkrl7KxNxDPuOAxONbOyJdebiqaA322z0LYGgz4XDx6rpgKUT5W jDtdT0dnxLBP2RReoae2TaMtJKmKevLphZsU3mu4Cn0tn7m7XSlr+b0gS8C31Xub9nd/ qmLbvMkz6x37sd4oL/BFh4fe5feRceQj0S2Gh2ulPYEqDCpuryWGhdvigfXlwmwqFiYx SVSZUouKHW3HqJIEVz6qjrZPcMZH/EOkYVUzWl6Pnk3Keh7J/zlkyhjOnA7L9fksY7BT bVPLQUkXkwcEf7GIHePPQ1/HLTO+kuXV5kmhV9N6bCpynnYwcUbHGWN5ciQLdaX7/f8m ulRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=On99XfF55m8LFqRcIrWhYWPWVDnoOhQd+qVw8VWh93k=; b=VEIk0Fm4y6z69aMM6w5lXPz3dfxq0lYIT8/He4BZoZwoPs9OLvYXMg6CKiQnAOXkiC vPfOeF6BbErcNGrOkIWxi3EfxkDs6OJze5RWjRbdxhGlpNG0s4uGnBLVDp+bkBpa84AZ K/tAUGdgHIj62SvnENlIaA0pLcZoNORs/EZ2ncBrBhW9iHyk+CWKgZoniqCIvot/Ti1v xsmTaCZkD8+Ymzih2wCn5Y9eGHjV2X7FZ1LcyKhk3ROzFrMxwe6ECjgPmicdxL4qpYJu q0mC2+E877UajC2sJB/UYX0N9HSVUymFHM9Gy8QfpwyyPgEWem0rVdvnu1dDnN2JAYXX rdDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=Bm0Ppbjf; 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 e21si19531ejd.196.2020.05.07.17.33.21; Thu, 07 May 2020 17:33:45 -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=@lca.pw header.s=google header.b=Bm0Ppbjf; 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 S1727795AbgEHA2p (ORCPT + 99 others); Thu, 7 May 2020 20:28:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726638AbgEHA2p (ORCPT ); Thu, 7 May 2020 20:28:45 -0400 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73B44C05BD09 for ; Thu, 7 May 2020 17:28:43 -0700 (PDT) Received: by mail-qk1-x742.google.com with SMTP id f83so619568qke.13 for ; Thu, 07 May 2020 17:28:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=On99XfF55m8LFqRcIrWhYWPWVDnoOhQd+qVw8VWh93k=; b=Bm0Ppbjf22QhOZtzauYqSHzmXAQRBARh868f/Yxl/bO4oft1SEVgTov77GepKoI9Q0 hI5LUBZCfC4hSVvSKpZWsxqC7kVl4MJ1ESI8nQwWfy0CuKRi/zkSIiGMJf0edNdbDa9G G2cYo88LBODiFBzpIGq2Q+4Yf4Hi4EwbGhF0y86zj5cIr7j/VuT2F2cqU0pOzrXSNxUP pqYp7PQnKC/4kXXPSoSz3m3xIACA3nfruXTtgCMFGGefAvOUuLGHNJDGnbWpMie0BJ2s v2vKU2Ej20Bixshu6ciOiVNaMA0QiCBTCPMrP6NyF6wbxCHVRcs2jMfo8ERIMODr4R3w DTLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=On99XfF55m8LFqRcIrWhYWPWVDnoOhQd+qVw8VWh93k=; b=n81Inbzbyd1zqTTD1RzDvT65ndw5+eZLZCkIp9hTNN9Zro6S1xY6Cv492UvWPbMQx0 yueD0blnvuf6aAqhCdTvT+jfEM1F2UaGqIgBtLcKs2XUi435XkHJjegqOh3cjGddOfrh IbMmwlrdWx9voDrqilpXBMYcY1SmLfasdNzAdXLnponZvlghnkAq1a4gufa/goJk8C3M l1EH8atLvKWF2V2hM+q7IX5qAKmEk7SLtNJLRjn9bm436Q5AFvTWAMMqzHpQu8Yn/AO0 nhl0BTC/IKTLqSONICBtjHFQajFGH9lOSBqI2tRQppTu7vuK+m0gsEaIiZ1YYKd6Vcst LT0A== X-Gm-Message-State: AGi0PuZbvoI/RKiRvJIiDy6MbQogBp7F6MbY7kO3IaVUxaVjQrakG2ya IjW3w//GC11H7unOl16dzMBLXA== X-Received: by 2002:a37:a603:: with SMTP id p3mr124023qke.133.1588897722617; Thu, 07 May 2020 17:28:42 -0700 (PDT) Received: from [192.168.1.153] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id p10sm123350qtu.14.2020.05.07.17.28.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2020 17:28:41 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH] kernel: add panic_on_taint From: Qian Cai In-Reply-To: <20200507233634.GA367616@optiplex-lnx> Date: Thu, 7 May 2020 20:28:40 -0400 Cc: Andrew Morton , LKML , linux-doc@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, dyoung@redhat.com, Baoquan He , Jonathan Corbet , Luis Chamberlain , Kees Cook Content-Transfer-Encoding: quoted-printable Message-Id: <438575BA-00CA-44BF-8C4C-693DCC00FDD1@lca.pw> References: <20200507221503.GL205881@optiplex-lnx> <6B423101-ACF4-49A3-AD53-ACBF87F1ABE0@lca.pw> <20200507233634.GA367616@optiplex-lnx> To: Rafael Aquini X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On May 7, 2020, at 7:36 PM, Rafael Aquini wrote: >=20 > On Thu, May 07, 2020 at 07:07:20PM -0400, Qian Cai wrote: >>=20 >>=20 >>> On May 7, 2020, at 6:15 PM, Rafael Aquini wrote: >>>=20 >>> It's a reasonable and self-contained feature that we have a valid = use for.=20 >>> I honestly fail to see it causing that amount of annoyance as you = are=20 >>> suggesting here. >>=20 >> It is not a big trouble yet, but keeping an obsolete patch that not = very straightforward to figure out that it will be superseded by the = panic_on_taint patch will only cause more confusion the longer it has = stayed in linux-next. >>=20 >> The thing is that even if you can=E2=80=99t get this panic_on_taint = (the superior solution) patch accepted for some reasons, someone else = could still work on it until it get merged. >>=20 >> Thus, I failed to see any possibility we will go back to the inferior = solution (mm-slub-add-panic_on_error-to-the-debug-facilities.patch) by = all means. >>=20 >=20 > There are plenty of examples of things being added, changed, and > removed in -next. IOW, living in a transient state. I think it's=20 > a reasonable compromise to keep it while the other one is beind=20 > ironed out. >=20 > The fact that you prefer one solution to another doesn't > invalidate the one you dislike.=20 As far I can tell, the bar of the other core subsystems are quite high = even for linux-next. People have been voiced over and over again to urge = Andrew not picking up patches so eagerly, but I will save that = discussion for the next time. Anyway, thanks for working for the panic_on_taint patch. I believe it = could be useful for all testing agents to catch those bad pages earlier.=