From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by kanga.kvack.org (Postfix) with ESMTP id DF86A6B0005 for ; Sun, 12 Aug 2018 22:23:31 -0400 (EDT) Received: by mail-pf1-f199.google.com with SMTP id n17-v6so9023621pff.17 for ; Sun, 12 Aug 2018 19:23:31 -0700 (PDT) Received: from FZEX3.ruijie.com.cn (mxfz.ruijie.com.cn. [120.35.11.201]) by mx.google.com with ESMTPS id y186-v6si17264726pgb.395.2018.08.12.19.23.29 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Aug 2018 19:23:30 -0700 (PDT) From: Subject: memblock:What is the difference between memory and physmem? Date: Mon, 13 Aug 2018 02:23:26 +0000 Message-ID: <80B78A8B8FEE6145A87579E8435D78C3240515EF@FZEX4.ruijie.com.cn> Content-Language: zh-CN Content-Type: multipart/alternative; boundary="_000_80B78A8B8FEE6145A87579E8435D78C3240515EFFZEX4ruijiecomc_" MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org --_000_80B78A8B8FEE6145A87579E8435D78C3240515EFFZEX4ruijiecomc_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 c3RydWN0IG1lbWJsb2NrIHsNCmJvb2wgYm90dG9tX3VwOyAvKiBpcyBib3R0b20gdXAgZGlyZWN0 aW9uPyAqLw0KcGh5c19hZGRyX3QgY3VycmVudF9saW1pdDsNCnN0cnVjdCBtZW1ibG9ja190eXBl IG1lbW9yeTsNCnN0cnVjdCBtZW1ibG9ja190eXBlIHJlc2VydmVkOw0KI2lmZGVmIENPTkZJR19I QVZFX01FTUJMT0NLX1BIWVNfTUFQDQpzdHJ1Y3QgbWVtYmxvY2tfdHlwZSBwaHlzbWVtOw0KI2Vu ZGlmDQp9Ow0KV2hhdCBpcyB0aGUgZGlmZmVyZW5jZSBiZXR3ZWVuIG1lbW9yeSBhbmQgcGh5c21l bT8NCg== --_000_80B78A8B8FEE6145A87579E8435D78C3240515EFFZEX4ruijiecomc_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

struct memblock {

bool bottom_up; /* is bottom up= direction? */

phys_addr_t current_limit;

struct memblock_type memory;

struct memblock_type reserved; =

#ifdef CONFIG_HAVE_MEMBLOCK_PHY= S_MAP

struct memblock_type physmem; <= o:p>

#endif

};

What is the difference between = memory and physmem?

--_000_80B78A8B8FEE6145A87579E8435D78C3240515EFFZEX4ruijiecomc_--