public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@us.ibm.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@linutronix.de>,
	John Stultz <johnstul@us.ibm.com>,
	Dipankar Sarma <dipankar@in.ibm.com>,
	Arjan van de Ven <arjan@infradead.org>,
	Mike Galbraith <efault@gmx.de>,
	Daniel Walker <dwalker@mvista.com>,
	Manish Lachwani <mlachwani@mvista.com>,
	bastien.dugue@bull.net, Lee Revell <rlrevell@joe-job.com>
Subject: Re: 2.6.18-rt6
Date: Wed, 18 Oct 2006 07:53:21 -0700	[thread overview]
Message-ID: <20061018145321.GD1902@us.ibm.com> (raw)
In-Reply-To: <20061018083921.GA10993@elte.hu>

On Wed, Oct 18, 2006 at 10:39:21AM +0200, Ingo Molnar wrote:
> 
> i've released the 2.6.18-rt6 tree, which can be downloaded from the 
> usual place:
> 
>   http://redhat.com/~mingo/realtime-preempt/
> 
> this is a fixes-mostly release. Changes since -rt4:
> 
>  - fix for module loading / symbol table crash (John Stultz)
>  - scheduler fix (Mike Galbraith)
>  - fix x86_64 NMI watchdog & preempt-rcu interaction
>  - fix time-warp false positives
>  - jiffies_to_timespec export fix (Steven Rostedt)
>  - ll_rw_block.c warning fix (Mike Galbraith)
>  - PPC updates (Daniel Walker)
>  - MIPS updates (Manish Lachwani)
>  - ARM oprofile fix (Kevin Hilman)
>  - traditional futexes queued via plists (Séstien Duguése)
>  - (various other smaller fixes)
> 
> to build a 2.6.18-rt6 tree, the following patches should be applied:
> 
>   http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2
>   http://redhat.com/~mingo/realtime-preempt/patch-2.6.18-rt6
> 
> as usual, bugreports, fixes and suggestions are welcome,

A nit from IPv6, since I happened by chance to run this on an IPv6
machine -- there are a couple of smp_processor_id() calls that need
to be raw_smp_processor_id() to suppress warnings.  I believe that this
is the correct change, as it seems to me that the locking protects
things so that preemption is not a problem.  That said, I cannot claim
to be an IPv6 expert.  Tested on x86.

Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com>
---

 ip6_tables.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -urpNa -X dontdiff linux-2.6.18-rt3/net/ipv6/netfilter/ip6_tables.c linux-2.6.18-rt3-ip6t_do_table/net/ipv6/netfilter/ip6_tables.c
--- linux-2.6.18-rt3/net/ipv6/netfilter/ip6_tables.c	2006-09-19 20:42:06.000000000 -0700
+++ linux-2.6.18-rt3-ip6t_do_table/net/ipv6/netfilter/ip6_tables.c	2006-10-17 17:44:55.000000000 -0700
@@ -285,7 +285,7 @@ ip6t_do_table(struct sk_buff **pskb,
 	read_lock_bh(&table->lock);
 	private = table->private;
 	IP_NF_ASSERT(table->valid_hooks & (1 << hook));
-	table_base = (void *)private->entries[smp_processor_id()];
+	table_base = (void *)private->entries[raw_smp_processor_id()];
 	e = get_entry(table_base, private->hook_entry[hook]);
 
 	/* For return from builtin chain */
@@ -1110,7 +1110,7 @@ do_add_counters(void __user *user, unsig
 
 	i = 0;
 	/* Choose the copy that is on our node */
-	loc_cpu_entry = private->entries[smp_processor_id()];
+	loc_cpu_entry = private->entries[raw_smp_processor_id()];
 	IP6T_ENTRY_ITERATE(loc_cpu_entry,
 			  private->size,
 			  add_counter_to_entry,

  parent reply	other threads:[~2006-10-18 14:52 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18  8:39 2.6.18-rt6 Ingo Molnar
2006-10-18  9:14 ` 2.6.18-rt6 Sébastien Dugué
2006-10-18 10:05   ` 2.6.18-rt6 Ingo Molnar
2006-10-18 14:53 ` Paul E. McKenney [this message]
2006-10-18 21:07 ` 2.6.18-rt6 Esben Nielsen
2006-10-20  0:23 ` 2.6.18-rt6 Sergio Monteiro Basto
2006-10-20  0:59   ` 2.6.18-rt6 john stultz
2006-10-23 20:33     ` 2.6.18-rt6 and compile fail with rt7 on x86_64 Sergio Monteiro Basto
2006-10-20 15:00 ` 2.6.18-rt6 Lee Revell
2006-10-20 15:53   ` 2.6.18-rt6 Mark Knecht
2006-10-23 16:34   ` -rt7 announcement? (was Re: 2.6.18-rt6) Lee Revell
2006-10-23 18:29     ` Mark Knecht
2006-10-23 18:35     ` Thomas Gleixner
2006-10-23 18:44       ` Mark Knecht
2006-10-23 18:59         ` Thomas Gleixner
2006-10-23 20:09           ` Mark Knecht
2006-10-23 18:49       ` Lee Revell
2006-10-23 18:58         ` Thomas Gleixner
2006-10-23 20:26       ` Sergio Monteiro Basto
2006-10-23 20:40         ` Lee Revell
2006-10-24  1:26           ` -rt7 announcement? (was Re: 2.6.18-rt6) and more info about a compile error Sergio Monteiro Basto
2006-10-24  4:38             ` Thomas Gleixner
2006-10-24 16:48               ` Daniel Walker

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=20061018145321.GD1902@us.ibm.com \
    --to=paulmck@us.ibm.com \
    --cc=arjan@infradead.org \
    --cc=bastien.dugue@bull.net \
    --cc=dipankar@in.ibm.com \
    --cc=dwalker@mvista.com \
    --cc=efault@gmx.de \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mlachwani@mvista.com \
    --cc=rlrevell@joe-job.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox