lkml.org 
[lkml]   [2012]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Work queue questions
Date

...

> >> So on so forth.
> >> Anyway how can you write chunks of data in parallel when
> >> already some worker
> >> thread is writing i.e. the system is busy.
> >> Analogy: Suppose you are ambidextrous and you are eating.Can
> >> you eat with
> >> both of your hands at a time?So worker thread are like your
> >> hands and keeping
> >> you fed all the time is the concept of concurrency.
> >>
> >> I am not an expert on this but from Tejun's reply I could
> >> make out this.
> >> Please correct me If I have wrongly understood the concept
> >> based on this mail
> >
> > I don't know how many cores are in the CPU Deepawali's
> using, but if I have four,
> Assuming single core,Is my explanation correct about concurrency?

It is possible for his tasks to complete before scheduling occurs
again. Consuming all of the CPU and having no blocking action,
yes, then the tasks will run consecutively.

...

\
 
 \ /
  Last update: 2012-09-22 09:01    [W:0.111 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site