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] [day] [month] [year] [list]
Date:	Fri, 7 Mar 2014 11:42:25 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Davidlohr Bueso <davidlohr@...com>,
	Rik van Riel <riel@...hat.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Michel Lespinasse <walken@...gle.com>
Subject: Re: linux-next: build failure after merge of the akpm-current tree

Hi Andrew,

On Thu, 6 Mar 2014 14:58:26 -0800 Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> On Thu, 6 Mar 2014 18:08:52 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> 
> > After merging the akpm-current tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> > 
> > ...
> >
> > and on and on ...
> > 
> > Caused by commit 0d9ad4220e6d ("mm: per-thread vma caching") which adds
> > the include of linux/vmacache.h (which includes linux/mm.h) into
> > linux/sched.h ... There is a reason that we did not include linux/mm.h
> > into sched.h.
> 
> Yeah.
> 
> > --- /dev/null
> > +++ b/include/linux/vmacachedefs.h
> > @@ -0,0 +1,9 @@
> > +
> > +#ifndef __LINUX_VMACACHEDEFS_H
> > +#define __LINUX_VMACACHEDEFS_H
> > +
> > +#define VMACACHE_BITS 2
> > +#define VMACACHE_SIZE (1U << VMACACHE_BITS)
> > +#define VMACACHE_MASK (VMACACHE_SIZE - 1)
> > +
> > +#endif /* __LINUX_VMACACHEDEFS_H */
> 
> I just did pretty much the same thing:
> 
> 
> From: Andrew Morton <akpm@...ux-foundation.org>
> Subject: mm-per-thread-vma-caching-fix-3

I will replace my patch with this today.

-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ