lkml.org 
[lkml]   [2015]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm, page_owner: only track migration if enabled
From
Date
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




\
 
 \ /
  Last update: 2015-11-27 15:41    [W:0.039 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site