Hi Arun,

> Have a look here,
> http://lwn.net/Articles/211279/

Thanks a lot for the link.  However, I am still confused how one would
go about doing something like this using workqueues:

  performance critical path:  (this is like a producer)
     queue(work on a *particular data* D)

  worker thread:  (this is like a consumer of queued work)
     while(1) {
       wait for work+data D on queue
       perform work on data D
       remove data D from queue
     }

It is unclear how to do the above using workqueues.  Are there some
examples for this new API?

Thanks,
-- 
Vimal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to