From: Valdis.Kletnieks@vt.edu
To: Andrew Morton <akpm@linux-foundation.org>,
Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmotm 2010-04-28-16-53 uploaded
Date: Thu, 29 Apr 2010 17:32:10 -0400 [thread overview]
Message-ID: <18962.1272576730@localhost> (raw)
In-Reply-To: Your message of "Wed, 28 Apr 2010 16:53:32 PDT." <201004290021.o3T0L04Y028017@imap1.linux-foundation.org>
[-- Attachment #1: Type: text/plain, Size: 4884 bytes --]
On Wed, 28 Apr 2010 16:53:32 PDT, akpm@linux-foundation.org said:
> The mm-of-the-moment snapshot 2010-04-28-16-53 has been uploaded to
>
> http://userweb.kernel.org/~akpm/mmotm/
Dies trying to compile mm/slab.c because something screwed the pooch with
the definition of numa_mem_id(). My bets are on
numa-slab-use-numa_mem_id-for-slab-local-memory-node.patch
CC mm/slab.o
mm/slab.c: In function 'kmem_cache_init':
mm/slab.c:1506: error: 'numa_node' undeclared (first use in this function)
mm/slab.c:1506: error: (Each undeclared identifier is reported only once
mm/slab.c:1506: error: for each function it appears in.)
mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pscr_ret__'
mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'type name'
mm/slab.c:1506: warning: cast from pointer to integer of different size
mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c: In function 'setup_cpu_cache':
mm/slab.c:2148: error: 'numa_node' undeclared (first use in this function)
mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pscr_ret__'
mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'type name'
mm/slab.c:2148: warning: cast from pointer to integer of different size
mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c: In function 'do_drain':
mm/slab.c:2506: error: 'numa_node' undeclared (first use in this function)
mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pscr_ret__'
mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'type name'
mm/slab.c:2506: warning: cast from pointer to integer of different size
mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c: In function 'cache_alloc_refill':
mm/slab.c:3039: error: 'numa_node' undeclared (first use in this function)
mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pscr_ret__'
mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'type name'
mm/slab.c:3039: warning: cast from pointer to integer of different size
mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c: In function 'cache_flusharray':
mm/slab.c:3575: error: 'numa_node' undeclared (first use in this function)
mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pscr_ret__'
mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'type name'
mm/slab.c:3575: warning: cast from pointer to integer of different size
mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c: In function 'cache_reap':
mm/slab.c:4139: error: 'numa_node' undeclared (first use in this function)
mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pscr_ret__'
mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'type name'
mm/slab.c:4139: warning: cast from pointer to integer of different size
mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__'
mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__'
make[1]: *** [mm/slab.o] Error 1
make: *** [mm] Error 2
line 1506: node = numa_mem_id();
line 2148: cachep->nodelists[numa_mem_id()]->next_reap =
line 2506: int node = numa_mem_id();
line 3039: node = numa_mem_id();
line 3575: int node = numa_mem_id();
line 3139: int node = numa_mem_id();
Looks like a twisty little maze of cpp macros in each case, probably
related to this:
% grep -i numa .config
# CONFIG_NUMA is not set
[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2010-04-30 19:41 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-28 23:53 mmotm 2010-04-28-16-53 uploaded akpm
2010-04-29 21:32 ` Valdis.Kletnieks [this message]
2010-04-29 21:53 ` Andrew Morton
2010-04-29 22:00 ` Andrew Morton
2010-04-30 12:11 ` Lee Schermerhorn
2010-04-30 18:02 ` Lee Schermerhorn
2010-04-30 18:47 ` Valdis.Kletnieks
2010-04-30 19:05 ` Lee Schermerhorn
2010-05-02 17:38 ` mmotm 2010-04-28 - nouveau driver issues Valdis.Kletnieks
2010-05-02 17:46 ` mmotm 2010-04-28 - RCU whinges Valdis.Kletnieks
2010-05-03 5:38 ` Eric Dumazet
2010-05-03 5:41 ` Eric Dumazet
2010-05-03 5:43 ` Eric Dumazet
2010-05-03 5:55 ` David Miller
2010-05-10 15:40 ` Patrick McHardy
2010-05-10 15:56 ` Eric Dumazet
2010-05-10 15:57 ` Eric Dumazet
2010-05-10 16:03 ` Patrick McHardy
2010-05-10 16:04 ` Patrick McHardy
2010-05-10 15:57 ` Paul E. McKenney
2010-05-10 16:12 ` David Miller
2010-05-10 16:27 ` Patrick McHardy
2010-05-03 14:30 ` Valdis.Kletnieks
2010-05-03 14:48 ` Eric Dumazet
2010-05-03 14:58 ` Eric Dumazet
2010-05-03 15:29 ` Valdis.Kletnieks
2010-05-03 15:43 ` Paul E. McKenney
2010-05-03 16:14 ` Eric Dumazet
2010-05-03 18:16 ` Paul E. McKenney
2010-05-03 19:46 ` [PATCH net-next-2.6] net: if6_get_next() fix Eric Dumazet
2010-05-03 20:09 ` David Miller
2010-05-03 20:13 ` Eric Dumazet
2010-05-03 20:24 ` David Miller
2010-05-03 20:50 ` Eric Dumazet
2010-05-03 22:17 ` David Miller
2010-05-03 22:48 ` Paul E. McKenney
2010-05-03 22:52 ` Paul E. McKenney
2010-05-03 22:54 ` David Miller
2010-05-10 16:53 ` mmotm 2010-04-28 - RCU whinges Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18962.1272576730@localhost \
--to=valdis.kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=lee.schermerhorn@hp.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).