Received: by 10.213.65.68 with SMTP id h4csp120303imn; Thu, 15 Mar 2018 11:23:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELur4klKItivNF+nsBLeQOoNSOLKMXthdFmNxG5AkzbUF3QCBLsKJ0bdfdnr8rp+Ti1rDuJT X-Received: by 10.99.97.130 with SMTP id v124mr7406350pgb.351.1521138223796; Thu, 15 Mar 2018 11:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521138223; cv=none; d=google.com; s=arc-20160816; b=hseA/6oImbkiiZZqh9uxgTkldhtGAYkJuJN7+Txt+jSiNcY6dSaXwHdqDBL7C5b0TD srQdY1g+vdu/ekudZXeOuXkgwwAzvXpWINjqtVcp9n3Uu3peMJ3OO7PaseAEcrzETKPy HQiqy5z52v7AEfozPw+bgqGaGiKYn758Pu1WtAzUaTCaI7keUiSWasG86fkpC1VI3thC MqYytC5/k7YiPrYL9DItvF75rbHQM8HneCH7DcvlQ1rq9BD8v/boI1mbSoIyTggzWQoB XZ7xVjbAl84q7lR5L9ireIaB0p5zA3Q4EfgQZOwz+gL1K8Kx6i79cXUNIjmEDVA4x1aj tDAQ== 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=DnYtOKGYVeSfayH+4k6a5E5ZrBercgU41K1oZ/fJfXM=; b=qx5AcTRhmCeXkJjC8+t4R6QLrYbZcP3thdEB+2GAvv7k0gWNRKG0cyjjCavyXXBloa 13JTYwgkopPOCINGikBVFqIhoaDSstkeGvHCuPLUFvojymlOFno019jpauH8uDuwn5Fh vadxTvI9IgVJXSwcA3X8PA8ZLlrD9R8fE6ELAVXvMG7VhbjzNhwj852mrVH/GUdoSYaZ q2uN0DST6A4atfhIqZSMImlTMJ7QiEdBl4VygAzLaXB2PgrntnALaXqxhTV73LcDDVbk RxqQ1rR0z2fZrR/Af3O8iRWMeWd4V1UAW93Dfz2lmIsseoWdZJHJd2LMOyJ4dkGbBjgp FDdA== 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 h7si3734310pgc.663.2018.03.15.11.23.28; Thu, 15 Mar 2018 11:23: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 S1751624AbeCOSVP (ORCPT + 99 others); Thu, 15 Mar 2018 14:21:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:41040 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbeCOSVO (ORCPT ); Thu, 15 Mar 2018 14:21:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D358EAF8D; Thu, 15 Mar 2018 18:21:12 +0000 (UTC) Date: Thu, 15 Mar 2018 19:21:10 +0100 From: Michal Hocko To: Ard Biesheuvel Cc: 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 , Linus Torvalds Subject: Re: [PATCH v2] Revert "mm/page_alloc: fix memmap_init_zone pageblock alignment" Message-ID: <20180315182110.GR23100@dhcp22.suse.cz> References: <20180314192937.12888-1-ard.biesheuvel@linaro.org> 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 15:48:47, Ard Biesheuvel wrote: > On 15 March 2018 at 15:34, Daniel Vacek wrote: [...] > > Hence I was asking what is the abstract meaning > > of it. As I see two *way_different* implementations so I am not sure > > how I should understand that. > > > > My interpretation is that it has a struct page associated with it, but > it seems the semantics of pfn_valid() aren't well defined. Well, pfn_valid says that a given pfn is backed by a real memory and it has a valid struct page backing it. -- Michal Hocko SUSE Labs