lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131112115633.GA16700@pd.tnic>
Date:	Tue, 12 Nov 2013 12:56:33 +0100
From:	Borislav Petkov <bp@...en8.de>
To:	Naoya Horiguchi <n-horiguchi@...jp.nec.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
	Mel Gorman <mgorman@...e.de>, Hugh Dickins <hughd@...gle.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Andi Kleen <andi@...stfloor.org>,
	Hillf Danton <dhillf@...il.com>, Michal Hocko <mhocko@...e.cz>,
	Rik van Riel <riel@...hat.com>,
	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
	Wanpeng Li <liwanp@...ux.vnet.ibm.com>,
	linux-kernel@...r.kernel.org,
	Naoya Horiguchi <nao.horiguchi@...il.com>
Subject: Re: [PATCH 4/9] migrate: add hugepage migration code to move_pages()

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 <n-horiguchi@...jp.nec.com>
> > > 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 <bp@...en8.de>
> > > Signed-off-by: Naoya Horiguchi <n-horiguchi@...jp.nec.com>
> > 
> > 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.
--

Download attachment "config.gz" of type "application/octet-stream" (20043 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ