[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56586356.3030308@suse.cz>
Date: Fri, 27 Nov 2015 15:06:14 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Arnd Bergmann <arnd@...db.de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@....com>,
Minchan Kim <minchan@...nel.org>,
Sasha Levin <sasha.levin@...cle.com>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Mel Gorman <mgorman@...e.de>, Michal Hocko <mhocko@...e.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] mm, page_owner: only track migration if enabled
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@...db.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists