From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751652AbeCOSVP (ORCPT ); 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 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 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