[PATCH] rcu NPTL fix for 1.3.34

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

 



Andreas Share wrote:
>> [ ... rcu.c vs. NPTL ... ]
> no problem for me, and because i think most other user uses lirc or the 
> remote plugin to control vdr it is only a minor problem. So i still use 
> rcu without the locks and wait until you use a NPTL enabled linux;)

Ok, so I finally switched to kernel 2.6 and the dvb-kernel driver
for good, and now I get the problems with rcu.c, too.

I have modified rcu.c so that it now does all actual data
transmission in the Action() function, so no more locking
is necessary. Simply dropping the locking caused lots of
errors like

  ERROR (rcu.c,188): Invalid argument

when background and foreground thread tried to access the
interface at the same time.

Maybe you'd like to take a look at the attached patch.

Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.3.37-rcu-nptl.diff
Type: text/x-patch
Size: 5586 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20051216/91b18784/vdr-1.3.37-rcu-nptl.bin

[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