From: Mike Rapoport <rppt@linux.ibm.com>
To: Heiner Kallweit <hkallweit1@gmail.com>
Cc: linux-mm@kvack.org
Subject: Re: Warning after "enforce overlap of memory.memblock and memory.reserved"
Date: Mon, 14 Dec 2020 10:06:07 +0200 [thread overview]
Message-ID: <20201214080607.GB211568@linux.ibm.com> (raw)
In-Reply-To: <de5c9f65-fe9c-f201-c9df-fa437d7d6d3e@gmail.com>
On Sat, Dec 12, 2020 at 08:37:49PM +0100, Heiner Kallweit wrote:
> Since 950c37691925 ("mm: memblock: enforce overlap of memory.memblock
> and memory.reserved") I get the following warning (on x86).
>
> memblock: reserved range [0x0000000000000000-0x0000000000001000] is not in memory
> memblock: reserved range [0x000000000009f000-0x0000000000100000] is not in memory
>
> According to comment "Some architectures (e.g. x86) have reserved pages
> outside of memblock.memory." it seems there's nothing wrong with it,
> then why a warning? Wouldn't debug level be better suited?
I think that this is wrong to consider memory reserved by firmware as
"not memory", hence the warning.
Anyway, this patch needs an update as it breaks arm [1] and maybe other
machines. During the update I'll reconsider the printk level.
[1] https://lore.kernel.org/lkml/127999c4-7d56-0c36-7f88-8e1a5c934cae@collabora.com/
--
Sincerely yours,
Mike.
prev parent reply other threads:[~2020-12-14 8:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-12 19:37 Warning after "enforce overlap of memory.memblock and memory.reserved" Heiner Kallweit
2020-12-14 8:06 ` Mike Rapoport [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201214080607.GB211568@linux.ibm.com \
--to=rppt@linux.ibm.com \
--cc=hkallweit1@gmail.com \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.