[PATCH] rcu NPTL fix for 1.3.34

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----- 
From: "Klaus Schmidinger" <Klaus.Schmidinger@xxxxxxxxxx>
To: <vdr@xxxxxxxxxxx>
Sent: Friday, November 04, 2005 4:40 PM
Subject: Re: [PATCH] rcu NPTL fix for 1.3.34


> Andreas Share wrote:
>> Hi,
>>
>> attached patch should make the rcu code NPTL compatible. Without the 
>> patch using an RCU will fail (vdr hang during startup) on an NPTL enabled 
>> system.
>>
>> I have only move over L. Nussels lirc NPTL fix to the rcu code.
>>
>> Greetings
>>
>> Andreas
>
> Have you actually tested this?
> I wonder if simply removing all lock calls would work,
> because there _is_ a thread and a foreground function that
> both want to transfer data...
>
> Klaus

Yes, i have tested the patch on my system. With the lock?s the rcu-code 
block vdr completely during startup with NPTL enabled libraries, especialy 
this ones in /lib/tls. LD_ASSUME_KERNEL doesn?t work for this problem, only 
moving the tls-folder away from /lib (and do a ldconfig afters this) have 
let the rcu work again on my suse 9.1.

Removing the lock in the main loop only will resolve this, but IR learning 
will fail, so i have removed the other locks also.

With the patch vdr/rcu (learning included) works without any sideeffect in 
daily use since 21.10. on my system (internal IR-Header, DBox IR Codes).

Greetings

Andreas Share











[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux