1 May 2007 02:53
Re: [irda-users] [BUG] 2.6.20.1-rt8 irnet + pppd recursive spinlock...
Samuel Ortiz <samuel <at> sortiz.org>
2007-05-01 00:53:23 GMT
2007-05-01 00:53:23 GMT
On Mon, Apr 30, 2007 at 03:24:05PM +0200, Guennadi Liakhovetski wrote: > On Tue, 10 Apr 2007, Samuel Ortiz wrote: > > > Hi Guennadi, > > > > The patch below schedules irnet_flow_indication() asynchronously. Could > > you please give it a try (it builds, but I couldn't test it...) ? : > > Ok, your patch (still below) works too (now that I fixed that state > machine race, btw, we still have to decide on the final form how it goes > in the mainline) __after__ you also add the line > > + INIT_WORK(&new->irnet_flow_work, irttp_flow_restart); > > in irttp_dup() (remember spinlock_init()?(Continue reading)), otherwise it oopses. good catch, again...Yes, I do remember the irttp_dup bug
> Generally, I like your patch better than mine to ppp_generic.c, where I > explicitly check if a recursion is occurring. Still, I am a bit concerned > about introducing yet another execution context into irda... We have seen > a couple of locking issues there already in the last 2-3 months especially > under rt-preempt... Would you be able to run some tests too? I think I can run some tests here as well, but probably not as many as you: I'm not doing IrDA stuff full time while it seems you currently are. But I will definitely spend some time this week running my IrDA stack with this patch applied. I didn't bother to do that earlier as you first reported some oops with this patch applied. > I will be
), otherwise it oopses.
good catch, again...Yes, I do remember the irttp_dup bug
> Generally, I like your patch better than mine to ppp_generic.c, where I
> explicitly check if a recursion is occurring. Still, I am a bit concerned
> about introducing yet another execution context into irda... We have seen
> a couple of locking issues there already in the last 2-3 months especially
> under rt-preempt... Would you be able to run some tests too?
I think I can run some tests here as well, but probably not as many as you:
I'm not doing IrDA stuff full time while it seems you currently are.
But I will definitely spend some time this week running my IrDA stack with this
patch applied. I didn't bother to do that earlier as you first reported some
oops with this patch applied.
> I will be
-- Steve
On Wed, 2007-05-02 at 11:59 +0200, Alessio Igor Bogani wrote:
> Hi,
>
> What is the reason for declare pagefault_enable and pagefault_disable
> as only GPL symbols in mm/memory.c (obviously with Ingo's
> realtime patch applied)?
>
> I violate license if i change those two EXPORT_SYMBOL_GPL in EXPORT_SYMBOL?
>
> Thanks in advance!
RSS Feed