Re: [PATCH] ip_fw.c not SMP safe

Brian Ristuccia (brianr@osiris.ml.org)
Mon, 7 Dec 1998 10:27:44 -0500


On Mon, Dec 07, 1998 at 05:51:32PM +1130, Paul Rusty Russell wrote:
> In message <199812061022.CAA17204@dm.cobaltmicro.com> you write:
> > Why? Just do what the scheduler does, by using asking
> > cpu_number_map[smp_processor_id()], that returns the kind of number
> > you believed smp_processor_id() to be. (grep for "idle_task" in
> > kernel/sched.c)
>
> Thanks Dave. Please apply (compiles for both SMP and non-SMP).
>
> Thanks for the persistence, Brian: sorry it was such a tail chase!
>
> Rusty.

Looks like it's fixed! I've been masquarading over 5 minutes now without so
much as an oops. I'll let you know if I have any problems before the end of
the day.

Thanks for everyone's help.

-- 
Brian Ristuccia
brianr@osiris.ml.org
bristucc@baynetworks.com
bristucc@cs.uml.edu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/