Received: by 10.192.165.148 with SMTP id m20csp2227843imm; Thu, 26 Apr 2018 07:47:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx491hpcPgr9R7jdYuX89+NR1c+mJWcm0x4I4P2AABSZwPZEqsReE9Idm9B7Z6B3z5HTPhCyx X-Received: by 2002:a17:902:a50f:: with SMTP id s15-v6mr35174470plq.175.1524754031449; Thu, 26 Apr 2018 07:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524754031; cv=none; d=google.com; s=arc-20160816; b=jMi5XvnBJ16o1n1vEkS0gY5Wy+QBLcE0aiMocPvcXEeMiUIng/bTh18jKSZgQw55Fs NUfIT11gQLQRTzjvUUY69um3uXzY9amXtKfBOfykSMOq8DLC6U8ron7XLXgvpVYGOLVh OewwVAvewufnojBsV8QIGdnUVv6cOGgKUD+uo5Fq2slj6fRRMAG5OP6GYxqlr43Od8jY UQFIVEFp/SWJgEVCDbPTZOvxqA0uCvRTd8XN4phkuf4Ri7NYd6KF5wA/i7+oe7IDGlaE YcPL5IQDkcS9ru0u1TBqnITzSigF/JTzjy4F7aoKRcL7wL5zEP5OrtRQH7rNjtb268P4 RAXw== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:arc-authentication-results; bh=0g5Z1vUALpr19F2nuggzJwNl2FxE/zRBBamVZoFJDX4=; b=Ui8BHJYsFEreGFLqbzDoupCETj5HWcasEOqy/JcUwV35Pow6bcynfMAewRkhfPQNi2 qWJIowSQ5T3OOqDnEgS4aC7YHlXeQKDjPN8K6luhNPcL8EzW/mOO8vt6VR6OrM9nWYdY Oo9/ge4TqW57nRwgXzoWhjmNAMGn8MpdIf7CMlhBqpxbEu7nx8AkyT/A2Qh1igOrSstj Wsim1VORlIlSNM3RisuywrU6ADLHO4rspn+qwLmCToyBcec7REq1oGoGmdQzmKOjKPWa BnLgdIMyS5QiBQ6NdUEEN/UeMJbfWfiXqIhAQXmLXYUlKOSp797IT0o42+GObf9MYt8c kyvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=xct0xdoy; 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=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a33-v6si15737378pli.275.2018.04.26.07.46.57; Thu, 26 Apr 2018 07:47:11 -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; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=xct0xdoy; 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=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756608AbeDZOpj (ORCPT + 99 others); Thu, 26 Apr 2018 10:45:39 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:50010 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756319AbeDZOpg (ORCPT ); Thu, 26 Apr 2018 10:45:36 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 97BFD8EE264; Thu, 26 Apr 2018 07:45:34 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zGio2ZgYuvJ7; Thu, 26 Apr 2018 07:45:34 -0700 (PDT) Received: from [153.66.254.194] (unknown [50.35.65.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 973708EE0DC; Thu, 26 Apr 2018 07:45:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1524753934; bh=lMcLlWFck8aRdjiKLGJ6NwmQ1zfsyHjfaSLa0pIhCM0=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=xct0xdoyMTrdEE1Cr70l+Kt4G47QF2HzZ7PkRBHdK09FBoP3i+wqbswa/FmyYIle5 itWyrOrVKtgH2JmA+dRW8mlxyTqieV/vRkjrgArtnPgfQu7MTdmR2GRS4B+0tTVSw6 qj6g3EMM7VT7cDhSUM49vMKXO/k2h3x0AXzn5C58= Message-ID: <1524753932.3226.5.camel@HansenPartnership.com> Subject: Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options From: James Bottomley To: Mikulas Patocka , Michal Hocko Cc: 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 Date: Thu, 26 Apr 2018 07:45:32 -0700 In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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