From: Ingo Molnar <mingo@elte.hu>
To: Bill Huey <billh@gnuppy.monkey.org>
Cc: linux-kernel@vger.kernel.org, Esben Nielsen <simlo@phys.au.dk>,
Thomas Gleixner <tglx@linutronix.de>,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: 2.6.15-rt17
Date: Thu, 23 Feb 2006 14:53:50 +0100 [thread overview]
Message-ID: <20060223135350.GA20638@elte.hu> (raw)
In-Reply-To: <20060223134928.GA30170@gnuppy.monkey.org>
* Bill Huey <billh@gnuppy.monkey.org> wrote:
> On Tue, Feb 21, 2006 at 04:55:48PM +0100, Ingo Molnar wrote:
> > another change is the reworking of the SLAB code: it now closely matches
> > the upstream SLAB code, and it should now work on NUMA systems too
> > (untested though).
>
> SLAB you say ? What's going on with this error ?
>
> ----
> mm/built-in.o: In function `drain_alien_cache':slab.c:(.text+0x1fb2c):
> undefined reference to `slab_spin_unlock_irqrestore'
> make: *** [.tmp_vmlinux1] Error 1
> ----
find the fix from S�bastien Dugu� below.
Ingo
Index: linux-2.6.15-rt17-numa/mm/slab.c
===================================================================
--- linux-2.6.15-rt17-numa.orig/mm/slab.c 2006-02-22 10:38:26.000000000 +0100
+++ linux-2.6.15-rt17-numa/mm/slab.c 2006-02-22 11:12:42.000000000 +0100
@@ -163,8 +163,8 @@
spin_unlock_irq(lock)
# define slab_spin_lock_irqsave(lock, flags, cpu) \
do { spin_lock_irqsave(lock, flags); (cpu) = smp_processor_id(); } while (0)
-# define slab_spin_lock_irqrestore(lock, flags, cpu) \
- do { spin_lock_irqrestore(lock, flags); } while (0)
+# define slab_spin_unlock_irqrestore(lock, flags, cpu) \
+ do { spin_unlock_irqrestore(lock, flags); } while (0)
#else
DEFINE_PER_CPU_LOCKED(int, slab_locks) = { 0, };
# define slab_irq_disable(cpu) get_cpu_var_locked(slab_locks, &(cpu))
@@ -183,8 +183,8 @@
do { spin_unlock(lock); slab_irq_enable(cpu); } while (0)
# define slab_spin_lock_irqsave(lock, flags, cpu) \
do { slab_irq_disable(cpu); spin_lock_irqsave(lock, flags); } while (0)
-# define slab_spin_lock_irqrestore(lock, flags, cpu) \
- do { spin_lock_irqrestore(lock, flags); slab_irq_enable(cpu); } while (0)
+# define slab_spin_unlock_irqrestore(lock, flags, cpu) \
+ do { spin_unlock_irqrestore(lock, flags); slab_irq_enable(cpu); } while (0)
#endif
/* Shouldn't this be in a header file somewhere? */
next prev parent reply other threads:[~2006-02-23 13:55 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 15:55 2.6.15-rt17 Ingo Molnar
2006-02-21 16:11 ` 2.6.15-rt17 K.R. Foley
2006-02-21 16:21 ` 2.6.15-rt17 K.R. Foley
2006-02-22 7:51 ` 2.6.15-rt17 Ingo Molnar
2006-02-21 17:16 ` 2.6.15-rt17 Michal Piotrowski
2006-02-21 18:53 ` 2.6.15-rt17 Michal Piotrowski
2006-02-21 20:37 ` 2.6.15-rt17 Thomas Gleixner
2006-02-21 21:15 ` 2.6.15-rt17 Michal Piotrowski
2006-02-22 12:22 ` 2.6.15-rt17 Steven Rostedt
2006-02-22 13:47 ` 2.6.15-rt17 Michal Piotrowski
2006-02-24 6:38 ` 2.6.15-rt17 Ingo Molnar
2006-02-24 7:09 ` 2.6.15-rt17 Steven Rostedt
2006-02-21 17:23 ` 2.6.15-rt17 Timothy R. Chavez
2006-02-21 18:24 ` 2.6.15-rt17 Daniel Walker
2006-02-21 18:46 ` 2.6.15-rt17 Thomas Gleixner
2006-02-22 16:50 ` 2.6.15-rt17 Esben Nielsen
2006-02-22 23:17 ` 2.6.15-rt17 Thomas Gleixner
2006-02-25 17:11 ` 2.6.15-rt17 Esben Nielsen
2006-02-25 17:32 ` 2.6.15-rt17 Steven Rostedt
2006-02-25 21:29 ` 2.6.15-rt17 Esben Nielsen
2006-02-25 22:25 ` 2.6.15-rt17 Esben Nielsen
2006-02-26 15:14 ` 2.6.15-rt17 Steven Rostedt
2006-02-26 22:38 ` 2.6.15-rt17 Esben Nielsen
2006-02-27 7:15 ` 2.6.15-rt17 Steven Rostedt
2006-02-23 13:49 ` 2.6.15-rt17 Bill Huey
2006-02-23 13:53 ` Ingo Molnar [this message]
2006-02-23 14:05 ` 2.6.15-rt17 Bill Huey
-- strict thread matches above, loose matches on Subject: below --
2006-02-28 19:21 2.6.15-rt17 Karsten Wiese
2006-02-28 19:43 ` 2.6.15-rt17 Ingo Molnar
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=20060223135350.GA20638@elte.hu \
--to=mingo@elte.hu \
--cc=billh@gnuppy.monkey.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=simlo@phys.au.dk \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.