Hello, Deepawali.

On Fri, Sep 21, 2012 at 08:35:13PM +0100, Deepawali Verma wrote:
> These three tasks are writing the three chunks of data in parallel. I
> am not getting improvement here otherwise what is difference between
> writing these chunks one by one in single thread instead of trying to
> write the data by scheduling the work on three different workqueues
> means 3 worker threads?

Workqueue is designed to supply sufficient concurrency for such use
cases and it has been doing so for all other in-kernel users for quite
some time now.  If you're not getting concurrency in the above
scenario, either you've found a bug in workqueue or you did something
wrong.  If you have a scenario not working for you, please post the
code.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to