From: vbabka@suse.cz (Vlastimil Babka)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mm, page_owner: only track migration if enabled
Date: Fri, 27 Nov 2015 15:06:14 +0100 [thread overview]
Message-ID: <56586356.3030308@suse.cz> (raw)
In-Reply-To: <3209032.Njpu4mxStH@wuerfel>
On 11/27/2015 02:58 PM, Arnd Bergmann wrote:
> The newly added code to print page ownership in dump_page fails
> to link when CONFIG_MIGRATION is disabled:
>
> mm/built-in.o: In function `print_page_owner':
> frame_vector.c:(.text+0x72358): undefined reference to `migrate_reason_names'
>
> This changes the two users of migrate_reason_names to first check
> CONFIG_MIGRATION, which avoids the error.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: cf7ec391dae4 ("mm, page_owner: dump page owner info from dump_page()")
> ---
> Found on yesterday's linux-next with ARM randconfig builds. The patch
> that introduced this is currently in Andrews tree.
>
> If you don't already have a fix, please apply this one on top, or fold
> it into the original commit.
Thanks. I posted a different one yesterday:
http://marc.info/?l=linux-mm&m=144853435200591&w=2
prev parent reply other threads:[~2015-11-27 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 13:58 [PATCH] mm, page_owner: only track migration if enabled Arnd Bergmann
2015-11-27 14:06 ` Vlastimil Babka [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=56586356.3030308@suse.cz \
--to=vbabka@suse.cz \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).