On Fri, 5 Nov 1999, Vincent Cunniffe wrote:
>ilug-admin at linux.ie wrote:
> >
> > Yay, I'm happy.. just mooched around their bugzilla site, and found
> > that someone has patched it to work with 2.3.*... which means
> > I can now have USB and sound _at the same time!_...
> >
> > Kudos to creative, in 4 days I've gone from not having any possibility of
> > sound under 2.3 to having a patch to do it...
>> Tell me it's been SMPified? :-)
>
right. This is one for you budding kernel ppl. My understanding of the
kernel is minimal at best but if I remember correctly, there is a kernel
wide spin lock available for SMP. The use of it is seriously evil becuase
it forces the kernel uni-processor for short periods. but it's sometimes
used as a start to making something SMP IIRC. As a starting cludge for SMP
systems, could the spinlock not be used around each of the SBLive calls
until finer locks were implemented?
If not - why not?
I'm presuming of course that not having these spinlocks leads to race
conditions and corrupted data structures which is where the current
problem presumably is. Why else might something not be SMP safe?
Mel
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!