Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5947245ybp; Tue, 15 Oct 2019 07:24:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrsXuPwvmX+gACWFLRnLNFflZocebFkJPZe/TvaRF7X+27GkY8ARXCITl5bpLOh5Ssx8rI X-Received: by 2002:a17:906:fad7:: with SMTP id lu23mr35321727ejb.211.1571149468596; Tue, 15 Oct 2019 07:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571149468; cv=none; d=google.com; s=arc-20160816; b=OHJTCG6i5lTVWHt3yur6DR6Mx2qjmrCRr2yfXqm9dndM+Ob4IX3f+LlIlItyR7ffSI XwyjTPo0UYrL6yJbB+XHenCaNB8KoNMsNJN0sgAO2CKUbGKUVuYEf63oFgOrahVrBMdX qZP3ap/pB/oLuhbunsM9yX9GS/UT691liSn+mf1jztJenNZZPQgBt3T3ICR/fD/CjVW+ YwekSdZw6wPfQmqkzGiigUcio3ILrwMO+8wGJoadelqPFLYUiozpHJ6TUHXywWTpf7Y+ L1SpmC/zGUEferLsNk9KeZqlguBaxhRLU0qwP2C1zptzSC+xSPc3x3pr04c4fSGERZYE ykWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LoUkpPFjTQYsxvFbIeN8ElFdDJBbm/fLRsYXnwB4oYE=; b=CxBwgVHDQQA+0B5L5Vd+0rY+aHINP8xgMlRtEsEIuG8wND6Etu1He+a1OAhzwSFyby jECngGBY+ou8UtdffxnYUUi43ApLdw/ZZDmXSEgogz5QDYWPp2rckZ/IORMa9ZvExm8O 3CWGt8EcA9LVlTJOOvQW9k4JtpZo/fYDhOX7eMdpCFrgyG8pOKmkhTYOEtiyxFD+pM+i +UZ+KWOZvgxfGiAps478jKMlfL3L5byqncGcfalRq0tBoGdbFWpVWf1W17XZZh+ZHPHL jLsvhcPpiggfZ9N7kgYVGsHQ4aZqbstDvhoYAXKm4UjIor6AzYOaFM7xuZAqQKwcTdmm rlWg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si12306014eju.156.2019.10.15.07.24.04; Tue, 15 Oct 2019 07:24:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732616AbfJOOXt (ORCPT + 99 others); Tue, 15 Oct 2019 10:23:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:50528 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732050AbfJOOXs (ORCPT ); Tue, 15 Oct 2019 10:23:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6D9BBB2EA; Tue, 15 Oct 2019 14:23:47 +0000 (UTC) Date: Tue, 15 Oct 2019 16:23:44 +0200 From: Oscar Salvador To: Michal Hocko Cc: David Hildenbrand , Naoya Horiguchi , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Andrew Morton , Oscar Salvador Subject: Re: [PATCH v2 2/2] mm/memory-failure.c: Don't access uninitialized memmaps in memory_failure() Message-ID: <20191015142340.GA5686@linux> References: <20191009142435.3975-1-david@redhat.com> <20191009142435.3975-3-david@redhat.com> <20191009144323.GH6681@dhcp22.suse.cz> <5a626821-77e9-e26b-c2ee-219670283bf0@redhat.com> <20191010073526.GC18412@dhcp22.suse.cz> <18383432-c74a-9ce5-a3c6-1e57d54cb629@redhat.com> <52e81b85-c460-5b99-a297-e065caab3a16@redhat.com> <20191011060249.GA30500@hori.linux.bs1.fc.nec.co.jp> <3706d642-6c29-41b8-a676-1b5541af3169@redhat.com> <20191014133617.GJ317@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191014133617.GJ317@dhcp22.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 14, 2019 at 03:36:17PM +0200, Michal Hocko wrote: > I do agree. The two should be really using the same code. My > understanding was that MADV_HWPOISON was there to test the actual MCE > behavior (and the man page seems to agree with that). > > Oscar is working on a rewrite. Not sure he has considered this as well. Yeah, I came across hwpoison-inject module when doing my re-write, and I felt like this is begging for a clean up. Since unpoison_memory needs some adjustments after my re-write, I will go ahead and clean that up, otherwise it will be inconsistent. I expect to be ready fo send the v2 by the end of this week. Thanks -- Oscar Salvador SUSE L3