[lkml]   [2010]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Add a document for the padata interface
On Wed, May 12, 2010 at 02:29:17PM -0600, Jonathan Corbet wrote:
> +
> +Each task submitted to padata_do_parallel() will, in turn, be passed to
> +exactly one call to the above-mentioned parallel() function, on one CPU, so
> +true parallelism is achieved by submitting multiple tasks. The workqueue
> +is used to actually make these calls, so parallel() runs in process context
> +and is allowed to sleep.

We disable the BHs before we call parallel(), so sleeping is not allowed.
This is necessary to keep up with the networking softirq if padata is used
for doing IPsec.

Everything else reads pretty good.



 \ /
  Last update: 2010-05-14 13:03    [W:0.042 / U:5.844 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site