Received: by 10.213.65.68 with SMTP id h4csp123986imn; Thu, 15 Mar 2018 11:30:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELto0VzWb3via5kAOfZd54ZiiiGeAV1wMTo0VX3FmdUlRfgbUbUpZZAvKYvnN8x7rQRSwTso X-Received: by 2002:a17:902:43a4:: with SMTP id j33-v6mr9056471pld.247.1521138655485; Thu, 15 Mar 2018 11:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521138655; cv=none; d=google.com; s=arc-20160816; b=M7ct/lfgsQ0Pi5RPucEFu6MDgn9ESOhMJZixrgXHbSoNO1Ptl45XZFXokhJIfAGTA2 Yil6/Cy8+mapT5TdK5iYiuvBQ3UWWI6watJ5VjkL6QHVuQpHYBkmehjFjpY6I0wrOnuO zXjiLAnRLE1G0w1/D+LgLHrxxUoWzGU1Uyv51v76iC30gNs5INmTHTS3vioFyMJda3i1 TKSSFUBfw1QKzP6LWlG3B4MqzbpPo3nvhvwkcr3JT2kBFrIGy9nAH9vpuxiDYRlW6CA/ Kcl808s4SKObJHuWlq82BtkkvznhTAQ8YkJk480Sex3qKDiy7ozKtidx7hCGgwzd61P6 6RNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=sMJoV7HqImhoCgjm4IIhDFm85LhQ8biZ/0M8uS3OuCk=; b=dAjuLUJpM57vYfayfUlpRiBmp9epCXg1StaSVJvRjCb2M33DXoVn7lf8k96ZMnaill 3jB4S8LRsFPyBCypPpYaCAGlXBbz3e893FyUjeQaQzHmVQ4PvLkXDtg8va8wFA0bnzaS fqOf57MJOoaJkZdGI6ftUI2UxurDD4lIxq3ZvfIo6m9Qg+bK+9q2wTZ47VMZkWPOL7Zg 7RlUOjRcvOsaNfnebrBip/dF8Lnkf0EdkKfawzXv3dy//6STz/FDM3ZifwF4djp7/+3C 4h+gwz42Wy4vqgP1mRYhUetda7LRQsn2e4/UldUXagZeQyTZkmLj3up0co5gsQbeAct3 E26g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pcV53R3z; dkim=fail header.i=@linux-foundation.org header.s=google header.b=KZ3PJwnj; 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 184si4175902pfd.345.2018.03.15.11.30.40; Thu, 15 Mar 2018 11:30:55 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pcV53R3z; dkim=fail header.i=@linux-foundation.org header.s=google header.b=KZ3PJwnj; 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 S1752052AbeCOS2a (ORCPT + 99 others); Thu, 15 Mar 2018 14:28:30 -0400 Received: from mail-it0-f46.google.com ([209.85.214.46]:33473 "EHLO mail-it0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbeCOS22 (ORCPT ); Thu, 15 Mar 2018 14:28:28 -0400 Received: by mail-it0-f46.google.com with SMTP id z143-v6so7286062itc.0 for ; Thu, 15 Mar 2018 11:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sMJoV7HqImhoCgjm4IIhDFm85LhQ8biZ/0M8uS3OuCk=; b=pcV53R3z2s+y+5oRYjLXrKz8uvLKKWsBi4K5djjKPeNM4HW2qq4OyelYA/c6KXqu8w LsXawoXz+wgi3G1nI8H9FQSBAMYErCwUy34S+daA1FKPRRzQEZ6K07Ye8FmVDRuD0uJ8 HW1EBTJxL1oTcW8rtd59kupplD+E0qiExCD3xHOg2+91JOi73PjOjly2pyMYuYbD5TJs T8+A0Agd4Bw0c2Fi0HIW/ofHNJiM/lVO2Qu9JdsQ9zowey31xQmwEYe/vU5DpYdiDOGA btoVeckc5czb9JdKoHgJ52RmLa/6NqEqHjLzHkMP6PYIWtX2s52mI8o4jy6HYHw0CWyQ etjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sMJoV7HqImhoCgjm4IIhDFm85LhQ8biZ/0M8uS3OuCk=; b=KZ3PJwnj9Zgnezs6imKaL/XnmNZ1nOiP6cGZJZTt7t3t2WpjzMtiklvYAKJGjQBU7w veosMkFXTn/Dsi+wM01nYjXKkBNLU1a8dfIzB5KkLfSQq7CkgtCUSd8N2WN7NChRaUfZ 4vBd80sMdFhxqnp5CavRXHmm4i4gKdDVYPOYs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=sMJoV7HqImhoCgjm4IIhDFm85LhQ8biZ/0M8uS3OuCk=; b=StuU6ImuLUssk6CAVw2DlAc72IM2NvFdV+oe8ruHAppYh9o/LS03gXbP0WEfjRGDSv S0e7Yk+zVrbx1f/AQ10rGhC1QkfWzCxdSmxXhqFxIYUSb3wMm4jxB5AY+CuL6T8cPoIX onosEiEhMzf+qFP7eK8Y0upaR5mQLr3WOZNV8uWA7Ad63ESFiWPyhmvou3NuvvIqEFo7 tRTIfsLaCoonDlOtrAdExcH5Uoe/mqpjNmk1IIizxH80aIPSkL7bkJHLqdNAgjZZZtgL nTsikZelwZFw623YGdraD+VkU0veb209XMOU4rjmtbxyadWSxjfnZv8S5rdfDyrGOGXA DcLQ== X-Gm-Message-State: AElRT7EfECvpYMtjq1Kw7q06j/dv4PtMdZvk6nG5uOtnfl+J7oLPinTu 5+0cD3yiBu8NN91jIR9ROMEunzxvSdP2T2MnDtk= X-Received: by 2002:a24:fec7:: with SMTP id w190-v6mr7515764ith.108.1521138507820; Thu, 15 Mar 2018 11:28:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Thu, 15 Mar 2018 11:28:27 -0700 (PDT) In-Reply-To: <20180315182110.GR23100@dhcp22.suse.cz> References: <20180314192937.12888-1-ard.biesheuvel@linaro.org> <20180315182110.GR23100@dhcp22.suse.cz> From: Linus Torvalds Date: Thu, 15 Mar 2018 11:28:27 -0700 X-Google-Sender-Auth: t4QJz4HrBk4hrC9pWTWJ3svS9Eg Message-ID: Subject: Re: [PATCH v2] Revert "mm/page_alloc: fix memmap_init_zone pageblock alignment" To: Michal Hocko 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. It may not be "real memory". The struct page might have it marked reserved or something. But at least you should be able to get to the "struct page" and look at it. Linus