mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* module programming smp-safety howto?
@ 2002-04-10 10:03 Emmanuel Michon
  2002-04-10 10:49 ` Erik Mouw
  2002-04-10 13:33 ` Anton Altaparmakov
  0 siblings, 2 replies; 5+ messages in thread
From: Emmanuel Michon @ 2002-04-10 10:03 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm responsible for the development of a kernel module for Sigma
Designs EM84xx PCI chips (MPEG2 and MPEG4 hardware decoder
boards). It's working properly now, irq sharing and multiple board
support is ok.

I would like to make it smp-safe.

For instance, I use at a place cli()/restore to implement something that
looks like a critical section (first code path is in a ioctl, second
in a irq top half). I guess this approach is wrong with smp.

Is there some documentation or howto about what changes compared
to non-smp computers?

Maybe a specific kernel module can be considered as a good model?

Sincerely yours,

-- 
Emmanuel Michon
Chef de projet
REALmagic France SAS
Mobile: 0614372733 GPGkeyID: D2997E42  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-14 13:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-10 10:03 module programming smp-safety howto? Emmanuel Michon
2002-04-10 10:49 ` Erik Mouw
2002-04-10 13:33 ` Anton Altaparmakov
2002-04-10 16:42   ` Emmanuel Michon
2002-04-14 13:11     ` pjd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®