Received: by 10.192.165.148 with SMTP id m20csp2251412imm; Thu, 26 Apr 2018 08:06:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/GoZqGKxCLVHFSHeFfiNJ4oIu03Sij1wxZql9el6CE2+FNqDolR8yWZBbN4xML5xBFqpLn X-Received: by 10.98.131.69 with SMTP id h66mr23117815pfe.0.1524755202358; Thu, 26 Apr 2018 08:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524755202; cv=none; d=google.com; s=arc-20160816; b=qiOJfKBWtlGhHMvnjRwGm3DU0PZOnF5Ci2iMIK1gA6HrBZgMJ8dHo0ialh65nysTaN JKPZlqh0Qyuls5IcG0B2U4adiEcW4BWsGHf8Fmjqjq4Bn1Q609PveH1zZR2tJsaC3HwL w3Iyi7U5c7xRfVcB754cIVFZq0m2d2xgWNV/h5WAQbIrKUv6NuP62ctonds6LL/wVNIl QuUh0VuOmEBK5Lm1QYoHmO0Df3g8U/NJYr3n8x8KFn2Dg3qQvdx7/5AVzMxZ6+GOe6OY SdXY3ro8Krv6ckUXSnGqJQqJEwHo4O7i9AGCV45GJCSW11uoQxFJbnK4hdWxHWmrusuf 5umg== 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 :arc-authentication-results; bh=VJsaOMNNaCfHuf+gBtrThkqmX4Xza9DVM/DO2loIHlE=; b=fb+QZXbruI+M6322QmaL5uns4+YH9KgjGyu6MU8mbwDIoviJSKb1Awn6be/PYgyzr9 jMgV2HX+U9Z4VRLwTCQmLrnkNq8bwqCWtQMI1mQeUOa/F+OqoL4ToB5ngznJIZ3+909W GWVH83AdIPdDT07ryuT5LYVXFDOu9jgpiAbhOqC/42JIQ5nf1LFhZV+B0hhPYI+hxHca vfoPi/lEv+bcjzB/1xqZIjOOINTR4M1UWogRL1cF+QdOLHJJV8qYhYILPpQ53ao9wdGD rgISecxyEDHwOzYn9DR6O/dpThOgoSrY1qnGRAOro11XsaeuNQo4ydCa329c6phxpzKr coqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si7192660pli.0.2018.04.26.08.06.27; Thu, 26 Apr 2018 08:06:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756528AbeDZPFX (ORCPT + 99 others); Thu, 26 Apr 2018 11:05:23 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56420 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754847AbeDZPFT (ORCPT ); Thu, 26 Apr 2018 11:05:19 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 316B9EC00F; Thu, 26 Apr 2018 15:05:19 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CB2411134CCD; Thu, 26 Apr 2018 15:05:13 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id w3QF5DeB013073; Thu, 26 Apr 2018 11:05:13 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w3QF5Dr2013069; Thu, 26 Apr 2018 11:05:13 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Thu, 26 Apr 2018 11:05:13 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: James Bottomley cc: Michal Hocko , David Rientjes , dm-devel@redhat.com, eric.dumazet@gmail.com, mst@redhat.com, netdev@vger.kernel.org, jasowang@redhat.com, Randy Dunlap , linux-kernel@vger.kernel.org, Matthew Wilcox , linux-mm@kvack.org, edumazet@google.com, Andrew Morton , virtualization@lists.linux-foundation.org, David Miller , Vlastimil Babka Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options In-Reply-To: <1524753932.3226.5.camel@HansenPartnership.com> Message-ID: References: <20180424170349.GQ17484@dhcp22.suse.cz> <20180424173836.GR17484@dhcp22.suse.cz> <1114eda5-9b1f-4db8-2090-556b4a37c532@infradead.org> <1524694663.4100.21.camel@HansenPartnership.com> <20180426125817.GO17484@dhcp22.suse.cz> <1524753932.3226.5.camel@HansenPartnership.com> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="185206533-1285601647-1524755113=:12157" X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 26 Apr 2018 15:05:19 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Thu, 26 Apr 2018 15:05:19 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mpatocka@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --185206533-1285601647-1524755113=:12157 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Thu, 26 Apr 2018, James Bottomley wrote: > On Thu, 2018-04-26 at 10:28 -0400, Mikulas Patocka wrote: > > > > On Thu, 26 Apr 2018, Michal Hocko wrote: > > > > > On Wed 25-04-18 18:42:57, Mikulas Patocka wrote: > > > >  > > > >  > > > > On Wed, 25 Apr 2018, James Bottomley wrote: > > > [...] > > > > > Kconfig proliferation, conversely, is a bit of a nightmare from > > both > > > > > the user and the tester's point of view, so we're trying to > > avoid it > > > > > unless absolutely necessary. > > > > >  > > > > > James > > > >  > > > > I already offered that we don't need to introduce a new kernel > > option and  > > > > we can bind this feature to any other kernel option, that is > > enabled in  > > > > the debug kernel, for example CONFIG_DEBUG_SG. Michal said no and > > he said  > > > > that he wants a new kernel option instead. > > >  > > > Just for the record. I didn't say I _want_ a config option. Do not > > > misinterpret my words. I've said that a config option would be > > > acceptable if there is no way to deliver the functionality via > > kernel > > > package automatically. You haven't provided any argument that would > > > explain why the kernel package cannot add a boot option. Maybe > > there are > > > some but I do not see them right now. > > > > AFAIK Grub doesn't load per-kernel options from a per-kernel file. > > Even if we hacked grub scripts to add this option, other > > distributions won't. > > Perhaps find out beforehand instead of insisting on an approach without > knowing. On openSUSE the grub config is built from the files in > /etc/grub.d/ so any package can add a kernel option (and various > conditions around activating it) simply by adding a new file. And then, different versions of the debug kernel will clash when attempting to create the same file. And what about other distributions? What about people who the RHEL kernel from source with "make"? The problem with this approach that you are trying to bother more and more people with this little silly feature. > The config files are quite sophisticated, so you can add what looks to > be a new kernel, but is really an existing kernel with different options > this way. > > James Mikulas --185206533-1285601647-1524755113=:12157--