[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080108155119.GA26114@elte.hu>
Date: Tue, 8 Jan 2008 16:51:19 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: Kyle McMartin <kyle@...artin.ca>, linux-kernel@...r.kernel.org,
tglx@...utronix.de, mingo@...hat.com,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] call sysrq_timer_list_show from a workqueue
* Rusty Russell <rusty@...tcorp.com.au> wrote:
> On Tuesday 08 January 2008 22:33:23 Ingo Molnar wrote:
> > * Rusty Russell <rusty@...tcorp.com.au> wrote:
> > > +/* FIXME: Risky: returns a pointer into a module w/o lock */
> >
> > stupid question: since module unloads are so rare, why isnt this via
> > the same mechanism that CPU hotplug uses to securely unregister
> > CPUs? I.e. quiet all CPUs, disable irqs on all of them, then unlink
> > the module.
>
> That's what we do. This old locking stuff is legacy.
oh, wonderful :-)
> And here's the patch for the FIXME (which I put in to remind myself):
>
> Make module_address_lookup safe
cool :-)
finally we have a _really_ sane symbols subsystem. Kudos :)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists