On Mon, Sep 30, 2013 at 12:08:44PM -0400, Naoya Horiguchi wrote: > On Mon, Sep 30, 2013 at 06:04:50PM +0200, Borislav Petkov wrote: > > On Mon, Sep 30, 2013 at 11:01:03AM -0400, Naoya Horiguchi wrote: > > > Thanks for reporting. The patch should fix this. > > > > > > Naoya Horiguchi > > > --- > > > From: Naoya Horiguchi <[email protected]> > > > Date: Mon, 30 Sep 2013 10:22:26 -0400 > > > Subject: [PATCH] mm/migrate.c: take returned value of isolate_huge_page() > > > > > > Introduces a cosmetic substitution of the returned value of > > > isolate_huge_page() > > > to suppress a build warning when !CONFIG_HUGETLBFS. No behavioral change. > > > > > > Reported-by: Borislav Petkov <[email protected]> > > > Signed-off-by: Naoya Horiguchi <[email protected]> > > > > Thanks for this. Unfortunately, I cannot trigger it anymore. :\ Maybe it > > is because I pulled latest git and this was triggering only on a older > > repo state, hmmm. > > > > The patch looks obviously correct though so you could send it up or hold > > on to it until someone else reports it. > > > > Anyway, sorry for the trouble. > > OK, no problem :)
Hey Naoya,
I can trigger this issue again.
Kernel is latest Linus: v3.12-4849-g10d0c9705e80
Compiler is: gcc (Debian 4.8.1-10) 4.8.1, config is attached.
And yes, the patch you sent me previously is still good and fixes the
warning so feel free to add my Tested-by: tag.
In file included from mm/migrate.c:35:0:
mm/migrate.c: In function ‘do_move_page_to_node_array’:
include/linux/hugetlb.h:140:33: warning: statement with no effect
[-Wunused-value]
#define isolate_huge_page(p, l) false
^
mm/migrate.c:1181:4: note: in expansion of macro ‘isolate_huge_page’
isolate_huge_page(page, &pagelist);
^
Thanks.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
config.gz
Description: Binary data

