Received: by 10.192.165.148 with SMTP id m20csp2540829imm; Thu, 26 Apr 2018 12:47:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+lsTHdt99L28a5GgFp/z2ZOnmhGyP87HeXCmBrufUM8dqzAzHZkD8oolLUP0axkGKCmx3k X-Received: by 10.99.103.6 with SMTP id b6mr28629773pgc.214.1524772078237; Thu, 26 Apr 2018 12:47:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524772078; cv=none; d=google.com; s=arc-20160816; b=kHV6YfyeWMMmSyYc0oaIjzO875GZbTZ5ukKrq0cJtg+T4Lg/aKQJ3XAgLhB2PxJhaQ oThN9qKyeM4F076cg4+49jv16QNDw14VjOPSEQ3s+2HdUCOREsPw+cw6Ho7KXgKnpQ+K xkC/d6EvVYHOPn+kLK9nqnVi/4QvvZPXaO49Xac+U6H6DWOdzz4Vy+DP2aS5Z49BfyRx ZP4s/VwhARR4+tk08RoQCcSKR170HE2Fo+5rUGhnQeK318C0jxTiAdWprgG8Q8vPRHgE FKLr4EYOL02RrZd28kh0oqn+sEJvFqfFogiu+f2rUUCjbrg68W7dLG9cEGmjD7OS/LSp V73w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=k0pdYZ0p77CtJEcqwMX2BL83xr7LtkKur8Hjb1Kyu0o=; b=koApPJp30dgkgHJt3eafCRDfVDHm+asVgMF5JospM73W3hzAuZhdytl9dWSwoYFoej ChmQIJlbcPkVRW+si/1L5ETPXdW8pISwHsSqvMQCy2SBTC/8kHcNslZJ8ORtYkNU8MT8 V1Apr49AKQQ14aWYyMQyFVuTTUlHdcXAbaMOfjMBYvGE6/13jt6Ip65AqXuCBpaSSwCm 9eo3AKyZ6u+Jj3dppimjIng1dvs/Lu1bIGDdnROmn+RZmmOfDzsDl2+L+ZgO2Z5n+75/ rmb6cXT7QKSl8fmNS+2QlutPb9EBSqZF+rlYn3wIE+3btFpLlIcn6g3/p6wCWf9u1JHU ryVQ== 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 h3-v6si7756807plh.224.2018.04.26.12.47.40; Thu, 26 Apr 2018 12:47:58 -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 S1754017AbeDZTqP (ORCPT + 99 others); Thu, 26 Apr 2018 15:46:15 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39052 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751933AbeDZTqB (ORCPT ); Thu, 26 Apr 2018 15:46:01 -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 1BDBA406E973; Thu, 26 Apr 2018 19:46:01 +0000 (UTC) Received: from redhat.com (ovpn-123-156.rdu2.redhat.com [10.10.123.156]) by smtp.corp.redhat.com (Postfix) with SMTP id F232C10EE6D2; Thu, 26 Apr 2018 19:45:57 +0000 (UTC) Date: Thu, 26 Apr 2018 22:45:57 +0300 From: "Michael S. Tsirkin" To: Mikulas Patocka Cc: James Bottomley , Michal Hocko , David Rientjes , dm-devel@redhat.com, eric.dumazet@gmail.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 Message-ID: <20180426223925-mutt-send-email-mst@kernel.org> References: <1524753932.3226.5.camel@HansenPartnership.com> <1524756256.3226.7.camel@HansenPartnership.com> <20180426184845-mutt-send-email-mst@kernel.org> <20180426214011-mutt-send-email-mst@kernel.org> <20180426220523-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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.7]); Thu, 26 Apr 2018 19:46:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 26 Apr 2018 19:46:01 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2018 at 03:36:14PM -0400, Mikulas Patocka wrote: > People on this list argue "this should be a kernel parameter". How about making it a writeable attribute, so it's easy to turn on/off after boot. Then you can keep it deterministic, userspace can play with the attribute at random if it wants to. -- MST