linux kernel - one tasklet used by different drivers -


is possible define single tasklet in 1 module, , "export" use others? wonder if theoretically possible, synchronization , ordered access tasklet? or such idea stupid?

thanks.

sure. no reason why not so. can't see why idea so, there's nothing stopping you. tasklet framework makes guarantees, 1 of tasklet not run on more 1 cpu @ time. there's no real synchronization issue.

however, there no "ordered access" tasklet in sense can queue work it. if call tasklet_schedule while tasklet running, tasklet executed again, execution may deferred ksoftirqd thread.

you should read ldd3 section on tasklets @ http://www.makelinux.net/ldd3/chp-7-sect-5.shtml


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -