[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmodule programming smp-safety howto?

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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.033 / U:3.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site