Received: by 10.213.65.68 with SMTP id h4csp126682imn; Thu, 15 Mar 2018 11:36:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELuvm+qn3yBy6UUBgCTbBqS63Bfmca0s2a+OOl18ij8SZvhGhXhN29WT1KL8ODFwStp5Iv7W X-Received: by 10.101.64.67 with SMTP id h3mr7277596pgp.200.1521139003233; Thu, 15 Mar 2018 11:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521139003; cv=none; d=google.com; s=arc-20160816; b=wzF6XV3/JIVBfOpFhpOJcGrL6dVuf9uzTcvAuVz+VFRDSF6Ee61zFJC9sNskg5xYys 6sVThH33fJzsECw2h1R0CzWEIfobkwrbEH/teofKDQuI2RRVBdMc+QlO2208P2PCyHVQ xCyWzyOXhrtjnhqCu4xzlB2FV3gCX8YZDDDWrOl6muiGqXFJKt4zfY1ZQb8oxknAxFW8 XTk1sGt7+AdMCWhPSybbt/VfDj2Q/XpibDCpFj/aynU7jlt0zwAjnBhUexJ6tqjD9TZj 4uYDLplG3OeyOt32BVP2kZEfwsxWLq2ixxFVZxiLNF3XXeGCnoiHEb2SMQBxDHHd1TDb V5PA== 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:arc-authentication-results; bh=VY+4naux2Xc1UFkaxEz+AtbSdQ3Gdk51cAdqU0dZCIM=; b=wMNRnNdpen+KQ8BRQ7HUvIVdV/yWo9VyhNTexSwtzg6rIX22eHV4/TH+kk4f+QO4lm hNr7e/1k5spfNAEbzPVRFBj9Ta73c+YGL4fBlghLy02EBITlDDFjZ4O6VcrTofSFIheg lFyjXO0nSIfc1oR+MWFcrbjrnnMZM8A8HpaRDgGstowLxrwpiMSkQPfgGX3ObGNGoph+ 0r5gmqT67AH42Ycup4s8wTuYVd27QQixjzqnGOKVY10A+jC0Re9ZEA/mJ3ww6+XWIYhV PnU5Tl5H9lSL7Yb+Hjb/r6lx/7U6DSNu5012Pdad6u229km4dKA/GQ76VcmmsgR4b9Ys QlBw== 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 x11-v6si4410971pll.681.2018.03.15.11.36.28; Thu, 15 Mar 2018 11:36:43 -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 S1752454AbeCOSfL (ORCPT + 99 others); Thu, 15 Mar 2018 14:35:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:42199 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751741AbeCOSfJ (ORCPT ); Thu, 15 Mar 2018 14:35:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A7F76ADC4; Thu, 15 Mar 2018 18:35:08 +0000 (UTC) Date: Thu, 15 Mar 2018 19:35:06 +0100 From: Michal Hocko To: Linus Torvalds Cc: Ard Biesheuvel , Daniel Vacek , linux-arm-kernel , open list , Mark Rutland , Will Deacon , Catalin Marinas , Marc Zyngier , Mel Gorman , Paul Burton , Pavel Tatashin , Vlastimil Babka , Andrew Morton Subject: Re: [PATCH v2] Revert "mm/page_alloc: fix memmap_init_zone pageblock alignment" Message-ID: <20180315183506.GT23100@dhcp22.suse.cz> References: <20180315182110.GR23100@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 15-03-18 11:28:27, Linus Torvalds wrote: > On Thu, Mar 15, 2018 at 11:21 AM, Michal Hocko wrote: > > > > Well, pfn_valid says that a given pfn is backed by a real memory and it > > has a valid struct page backing it. > > No, it really just says the latter. There should be a "struct page" for it. You are right! A simple example could be non volatile memory. That is certainly not RAM but it has pfn_valid memory. Sorry about the confusion. -- Michal Hocko SUSE Labs