From: BlaisorBlade <bla...@ya...> - 2004-09-09 18:05:54
|
On Wednesday 08 September 2004 20:12, Chris Wright wrote: > * bla...@ya... (bla...@ya...) wrote: > > Trivial: don't lock the queue spinlock when called from the request > > function. Since the faulty function must use spinlock in another case, > > double-case it. And since we will never use both functions together, let > > no object code be shared between them. > > Why not add a helper which locks around the core function. Then either > call helper or core function directly depending on locking needs? I'm happy with whatever is nicer. -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 |