Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp956188imm; Wed, 26 Sep 2018 09:19:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV60g7RR8cEmBnqQvYGyCGr3cn8si19IyeDPTyKWE+TAkh4K5k72JIdTfFQXNbX1DOKp0AVaK X-Received: by 2002:a17:902:981:: with SMTP id 1-v6mr6814028pln.60.1537978778810; Wed, 26 Sep 2018 09:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537978778; cv=none; d=google.com; s=arc-20160816; b=FnmlFUXRODmBA9pLk47qQIsED5pTi1DdLQrdoBfzQG0z18DCfeiNiaBaH55f53t2PF i5oQstfyJrWZ1TdHQl+rXoRvOEPkXNJaMR4LEbFLmtiEGhNH+odG3RKf5i3h4XzTSrup eC7D5RoCsCeTDb+E/3JSyU95U3oThDAGyZYmeKT3T5SX49tXfmemR5F1PJJhlJFO7xNG Rqf6cWg2HfJJXSHodNyYKktd057caUtuQfSPuz2MYLxI0FIhj1trclz5zTUutDhl5Oke yQ76uUaULXqQaQ7eY+W22TY8azZ9iQ89qFG0zLPMBs+nERfuxOV1y4f4lF0oNawzSMiC CDSQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=pd65/bs3NgF9OfH3ntlhNK4nIKLLptDtqEY+82KsBrY=; b=fy1tRIQeh5VRMFf2vICOKBmlStm8zqK7z8Sx+dgcuCrWVvUWavvb+TxNMnMDOug3yB 2jN6hOf/3C01/6feBHd7cNN4AA1WVamUbo3eIVOpMtHT0ReKWXk7iHxKVuWZgxjCQgvy 8+jSCZyH9lbv/QXKE64Y69ULo7CYDJL1+m6mVLweU5HDWrdZyRTesmA6fgSrFNnOLMdJ FYQI+X5UTS/YNHp0OxcbysN/6eY7k8K7J3Dx13sd5xt86h9lNcnVWldkTtBkZnVjGMjy 5vZPM2dI1JDLbfRpiAJ+RAdaYKQdG2x7ctkbFyNuhYR5OaRwZXr2xsJjt4NnEy016aLM 9u8A== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16-v6si4606560pgv.75.2018.09.26.09.19.20; Wed, 26 Sep 2018 09:19: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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728488AbeIZWct (ORCPT + 99 others); Wed, 26 Sep 2018 18:32:49 -0400 Received: from mga18.intel.com ([134.134.136.126]:26260 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727285AbeIZWct (ORCPT ); Wed, 26 Sep 2018 18:32:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 09:19:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,306,1534834800"; d="scan'208";a="76115327" Received: from ahduyck-mobl.amr.corp.intel.com (HELO [10.7.198.154]) ([10.7.198.154]) by orsmga007.jf.intel.com with ESMTP; 26 Sep 2018 09:18:16 -0700 Subject: Re: [PATCH v5 2/4] mm: Provide kernel parameter to allow disabling page init poisoning To: Dave Hansen , Michal Hocko Cc: linux-mm@kvack.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, pavel.tatashin@microsoft.com, dave.jiang@intel.com, jglisse@redhat.com, rppt@linux.vnet.ibm.com, dan.j.williams@intel.com, logang@deltatee.com, mingo@kernel.org, kirill.shutemov@linux.intel.com References: <20180925200551.3576.18755.stgit@localhost.localdomain> <20180925201921.3576.84239.stgit@localhost.localdomain> <20180926073831.GC6278@dhcp22.suse.cz> <98411844-19b7-a75b-d52c-6e2c46b40d57@intel.com> From: Alexander Duyck Message-ID: <0845f5c1-5737-3749-69dd-e7fb5d1b75c6@linux.intel.com> Date: Wed, 26 Sep 2018 09:18:16 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <98411844-19b7-a75b-d52c-6e2c46b40d57@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/26/2018 8:41 AM, Dave Hansen wrote: > On 09/26/2018 08:24 AM, Alexander Duyck wrote: >> With no options it works just like slub_debug and enables all >> available options. So in our case it is a NOP since we wanted the >> debugging enabled by default. > > Yeah, but slub_debug is different. > > First, nobody uses the slub_debug=- option because *that* is only used > when you have SLUB_DEBUG=y *and* CONFIG_SLUB_DEBUG_ON=y, which not even > Fedora does. > > slub_debug is *primarily* for *adding* debug features. For this, we > need to turn them off. > > It sounds like following slub_debug was a bad idea, especially following > its semantics too closely when it doesn't make sense. I actually like the idea of using slub_debug style semantics. It makes sense when you start thinking about future features being added. Then we might actually have scenarios where vm_debug=P will make sense, but for right now it is probably not going to be used. Basically this all makes room for future expansion. It is just ugly to read right now while we only have one feature controlled by this bit.