Received: by 10.192.165.148 with SMTP id m20csp3977389imm; Mon, 23 Apr 2018 16:21:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/6pYHxt7u7WB/kjb8atopMBmnLUsMC08xji7ys6M6RhAl3pOvy6brOAkSgRPwM8oATktxy X-Received: by 10.98.89.70 with SMTP id n67mr21734786pfb.150.1524525698613; Mon, 23 Apr 2018 16:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524525698; cv=none; d=google.com; s=arc-20160816; b=bmrGqNn/knDH4wTrRkKbFlc3hGpQR8Va9JXZH+AJrAPZD3AucjscDa2b/yHOBxMqqv vdzpGytxgcBQmTEUaUclqkEr4JD1lVu/hNNNc9Pi8s2WBHOCLx0a7wb2f3fnbRh3Zodd LiJ1lUfOfGNrinSJdjLAGPB926msteVWApRKhFQFrJTxZG1dfKmhS2/8D/ivv46WhNNX xoI4IlIfl+GmIqcWtxBf95vl5fp6QXoqEo3oB4MrWHQaNwKQKFcwGucLJEEmdrHarKeO 8x/n3qT6/srAKodTqNX92c6c+WJaX+7qCEN5dsae6uxRGbJIsTWfsdZJ4E95cogQoyog qknA== 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=5umVA2WZy4jNRp/UmywMsTVH85QWqEA6zPbSRut1iyo=; b=UjhOgJoU0KFKn2IQLe78fJnokavMZ1ZKi1m0WuHxc87WpRFrHKhukkdUNHyNZ5JOuT C3Iy6yjtuB0C4Vm838UDsnLiGdTjceJk1Vex0kNZMaNCxiC881ZV+cHdeH4luhXzylgC ahxqytvBrWAGNCVknOmGQ/n5AvGlWDxAOT0pHHHcAQI2lzkgLS/2awPLh/E0X+p/T8Qx Y2pZF/3PaK9HMToqZ846AqhiHQyVQiGwsJbvRqSjEg+q1I5ZHau3WC4f62F8sgxWMo/G zarVpRjq3lXRx4hV7XhsgutXogDDyxyCY3hkYhrbB3idZEjP5i1VxjYK4GPdgj1ji5/j BmAw== 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 k64si6703297pge.448.2018.04.23.16.21.23; Mon, 23 Apr 2018 16:21:38 -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 S932624AbeDWXUP (ORCPT + 99 others); Mon, 23 Apr 2018 19:20:15 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38208 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932558AbeDWXUN (ORCPT ); Mon, 23 Apr 2018 19:20:13 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D8374406AE2C; Mon, 23 Apr 2018 23:20:12 +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 99B022023227; Mon, 23 Apr 2018 23:20:12 +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 w3NNKCnQ001621; Mon, 23 Apr 2018 19:20:12 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w3NNKBWF001617; Mon, 23 Apr 2018 19:20:11 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Mon, 23 Apr 2018 19:20:11 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Michal Hocko cc: Matthew Wilcox , David Miller , Andrew Morton , linux-mm@kvack.org, eric.dumazet@gmail.com, edumazet@google.com, bhutchings@solarflare.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, jasowang@redhat.com, virtualization@lists.linux-foundation.org, dm-devel@redhat.com, Vlastimil Babka Subject: Re: [PATCH] kvmalloc: always use vmalloc if CONFIG_DEBUG_VM In-Reply-To: <20180423151015.GT17484@dhcp22.suse.cz> Message-ID: References: <20180418.134651.2225112489265654270.davem@davemloft.net> <20180420130852.GC16083@dhcp22.suse.cz> <20180420210200.GH10788@bombadil.infradead.org> <20180421144757.GC14610@bombadil.infradead.org> <20180422130356.GG17484@dhcp22.suse.cz> <20180423151015.GT17484@dhcp22.suse.cz> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 23 Apr 2018 23:20:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 23 Apr 2018 23:20:12 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.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 On Mon, 23 Apr 2018, Michal Hocko wrote: > On Mon 23-04-18 10:24:02, Mikulas Patocka wrote: > > > > Really, we have a fault injection framework and this sounds like > > > something to hook in there. > > > > The testing people won't set it up. They install the "kernel-debug" > > package and run the tests in it. > > > > If you introduce a hidden option that no one knows about, no one will use > > it. > > then make sure people know about it. Fuzzers already do test fault > injections. I think that in the long term we can introduce a kernel parameter like "debug_level=1", "debug_level=2", "debug_level=3" that will turn on debugging features across all kernel subsystems and we can teach users to use it to diagnose problems. But it won't work if every subsystem has different debug parameters. There are 192 distinct filenames in debugfs, if we add 193rd one, harly anyone notices it. Mikulas