From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Ingo Molnar <mingo@elte.hu>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
akpm@linux-foundation.org, cl@linux-foundation.org,
aaro.koskinen@nokia.com, amwang@redhat.com, dfeng@redhat.com,
eric.dumazet@gmail.com, fengguang.wu@intel.com,
Larry.Finger@lwfinger.net, rientjes@google.com,
yanmin_zhang@linux.intel.com, zdenek.kabelac@gmail.com
Subject: Re: [origin tree build failure] [PATCH] slub: Fix build error in kmem_cache_open() with !CONFIG_SLUB_DEBUG
Date: Tue, 15 Sep 2009 13:04:26 +0300 [thread overview]
Message-ID: <84144f020909150304x64bfa6e7m44090c50ddc59212@mail.gmail.com> (raw)
In-Reply-To: <20090915090319.GA25990@elte.hu>
Hi Ingo,
On Tue, Sep 15, 2009 at 12:03 PM, Ingo Molnar <mingo@elte.hu> wrote:
> From 817eb1b8da641984334db46a486ad2f867daa803 Mon Sep 17 00:00:00 2001
> From: Ingo Molnar <mingo@elte.hu>
> Date: Tue, 15 Sep 2009 11:00:26 +0200
> Subject: [PATCH] slub: Fix build error in kmem_cache_open() with !CONFIG_SLUB_DEBUG
>
> This build bug:
>
> mm/slub.c: In function 'kmem_cache_open':
> mm/slub.c:2476: error: 'disable_higher_order_debug' undeclared (first use in this function)
> mm/slub.c:2476: error: (Each undeclared identifier is reported only once
> mm/slub.c:2476: error: for each function it appears in.)
>
> Triggers because there's no !CONFIG_SLUB_DEBUG definition for
> disable_higher_order_debug.
>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
> ---
> mm/slub.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/mm/slub.c b/mm/slub.c
> index 417ed84..be6e1e0 100644
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -1071,6 +1071,8 @@ static inline unsigned long kmem_cache_flags(unsigned long objsize,
> }
> #define slub_debug 0
>
> +#define disable_higher_order_debug 0
> +
> static inline unsigned long slabs_node(struct kmem_cache *s, int node)
> { return 0; }
> static inline unsigned long node_nr_slabs(struct kmem_cache_node *n)
Oh, sorry about that. I'll merge the patch and send it to Linus later
this evening. Thanks!
Pekka
prev parent reply other threads:[~2009-09-15 10:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 17:46 [GIT PULL] SLAB updates for 2.6.32-rc0 Pekka J Enberg
2009-09-15 9:03 ` [origin tree build failure] [PATCH] slub: Fix build error in kmem_cache_open() with !CONFIG_SLUB_DEBUG Ingo Molnar
2009-09-15 10:04 ` Pekka Enberg [this message]
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=84144f020909150304x64bfa6e7m44090c50ddc59212@mail.gmail.com \
--to=penberg@cs.helsinki.fi \
--cc=Larry.Finger@lwfinger.net \
--cc=aaro.koskinen@nokia.com \
--cc=akpm@linux-foundation.org \
--cc=amwang@redhat.com \
--cc=cl@linux-foundation.org \
--cc=dfeng@redhat.com \
--cc=eric.dumazet@gmail.com \
--cc=fengguang.wu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rientjes@google.com \
--cc=torvalds@linux-foundation.org \
--cc=yanmin_zhang@linux.intel.com \
--cc=zdenek.kabelac@gmail.com \
/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
all inboxes | Powered by JetHome®