linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: slab tree build failure
@ 2009-06-19  4:16 Stephen Rothwell
  2009-06-19 10:40 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 17+ messages in thread
From: Stephen Rothwell @ 2009-06-19  4:16 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter
  Cc: linux-next, linux-kernel, Benjamin Herrenschmidt

Hi all,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

mm/slqb.c:75: error: 'SLAB_GFP_BOOT_MASK' undeclared here (not in a function)

Caused by commit df548b0bbaf2d4d16ce52d2f5ccdc1cfded70e06 ("SLQB: Fix
early boot allocations") from the slab tree interacting with commit
dcce284a259373f9e5570f2e33f79eca84fcf565 ("mm: Extend gfp masking to the
page allocator") that entered Linus' tree today.

I have applied this patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 19 Jun 2009 14:13:21 +1000
Subject: [PATCH] slqb: fix for macro name change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 mm/slqb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mm/slqb.c b/mm/slqb.c
index b61ad01..4c9051d 100644
--- a/mm/slqb.c
+++ b/mm/slqb.c
@@ -72,7 +72,7 @@ static int slqb_min_objects = 1;
  * The slab allocator is initialized with interrupts disabled. Therefore, make
  * sure early boot allocations don't accidentally enable interrupts.
  */
-static gfp_t slab_gfp_mask __read_mostly = SLAB_GFP_BOOT_MASK;
+static gfp_t slab_gfp_mask __read_mostly = GFP_BOOT_MASK;
 
 #ifdef CONFIG_NUMA
 static inline int slab_numa(struct kmem_cache *s)
-- 
1.6.3.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 17+ messages in thread
* linux-next: slab tree build failure
@ 2009-12-08  3:44 Stephen Rothwell
  0 siblings, 0 replies; 17+ messages in thread
From: Stephen Rothwell @ 2009-12-08  3:44 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

Hi all,

Today's linux-next build (x86_64 allmodconfig) failed like this:

scripts/Makefile.headersinst:15: include/tests/Kbuild: No such file or directory

Caused by commit 1c999557258d251e2e5790de4b723d5996c06d5d ("Add slab
performance tests").

I have used the slab tree from next-20091204 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread
* linux-next: slab tree build failure
@ 2009-12-07  4:11 Stephen Rothwell
  0 siblings, 0 replies; 17+ messages in thread
From: Stephen Rothwell @ 2009-12-07  4:11 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

Hi all,

Today's linux-next build (x86_64 allmodconfig) failed like this:

tests/slab_test.c: In function 'test_func':
tests/slab_test.c:176: error: implicit declaration of function 'set_cpus_allowed'

Caused by commit 1c999557258d251e2e5790de4b723d5996c06d5d ("Add slab
performance tests").

set_cpus_allowed it now only defined if CONFIG_CPUMASK_OFFSTACK is not
set.  This was changed by commit e0ad955680878998ff7dc51ce06ddad12260423a
("cpumask: don't define set_cpus_allowed() if CONFIG_CPUMASK_OFFSTACK=y")
which entered Linus' tree before 2.6.32-rc1.

I have used the version of the slab tree from next-20091204 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread
* linux-next: slab tree build failure
@ 2009-09-07  5:37 Stephen Rothwell
  2009-09-07  6:10 ` Pekka Enberg
  0 siblings, 1 reply; 17+ messages in thread
From: Stephen Rothwell @ 2009-09-07  5:37 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter
  Cc: linux-next, linux-kernel, Luis R. Rodriguez, John W. Linville

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

Hi all,

Today's linux-next build (x86_64 allmodconfig) failed like this:

net/wireless/scan.c: In function 'cfg80211_inform_bss':
net/wireless/scan.c:499: error: implicit declaration of function 'kmemleak_ignore'

Caused by commit 74ce35c0d2261896ed4d49799311a894520f7a94 ("cfg80211:
clear cfg80211_inform_bss() from kmemleak reports") from the wireless
tree (which should have included linux/kmemleak.h into
net/wireless/scan.c).  Some interaction with the slab tree has exposed
this.

I have reverted the above commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread
* linux-next: slab tree build failure
@ 2008-11-03  4:42 Stephen Rothwell
  2008-11-03  5:14 ` Dave Chinner
  0 siblings, 1 reply; 17+ messages in thread
From: Stephen Rothwell @ 2008-11-03  4:42 UTC (permalink / raw)
  To: Pekka Enberg, Christoph Lameter
  Cc: linux-next, Rik van Riel, David Chinner, Lachlan McIlroy,
	Christoph Hellwig

Hi all,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

fs/xfs/linux-2.6/xfs_super.c: In function 'xfs_init_zones':
fs/xfs/linux-2.6/xfs_super.c:1714: error: 'xfs_vnode_zone' undeclared (first use in this function)

It is a mismerge (in the linux-next tree) between commits
7836dda725873a5ce05d216295a452f16ccaab72 ("[XFS] Combine the XFS and
Linux inodes") form the xfs tree and
200d770048651d9a03266dc1bf031bb6f9e1363a ("Filesystem: XFS slab
defragmentation") from the slab tree.

I guess the latter patch needs to be dropped since its target is going
away.

I fixed up the merge (see below) and can carry the fix for a few days.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 23e0afb..6bd3e2a 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -1711,8 +1711,6 @@ STATIC int __init
 xfs_init_zones(void)
 {
 
-	kmem_cache_setup_defrag(xfs_vnode_zone, get_inodes, kick_inodes);
-
 	xfs_ioend_zone = kmem_zone_init(sizeof(xfs_ioend_t), "xfs_ioend");
 	if (!xfs_ioend_zone)
 		goto out;

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-12-08  3:44 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19  4:16 linux-next: slab tree build failure Stephen Rothwell
2009-06-19 10:40 ` Benjamin Herrenschmidt
2009-06-22  9:09   ` Pekka Enberg
  -- strict thread matches above, loose matches on Subject: below --
2009-12-08  3:44 Stephen Rothwell
2009-12-07  4:11 Stephen Rothwell
2009-09-07  5:37 Stephen Rothwell
2009-09-07  6:10 ` Pekka Enberg
2009-09-07  7:31   ` Stephen Rothwell
2009-09-07  7:43     ` Pekka Enberg
2009-09-07  8:29       ` Stephen Rothwell
2009-09-07  9:04       ` Heiko Carstens
2009-09-07  9:22         ` Pekka Enberg
2009-09-07  8:35   ` Catalin Marinas
2009-09-08 16:32     ` Luis R. Rodriguez
2008-11-03  4:42 Stephen Rothwell
2008-11-03  5:14 ` Dave Chinner
2008-11-03  9:38   ` Pekka Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).