lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 14 May 2010 12:58:59 +0200
From:	Steffen Klassert <steffen.klassert@...unet.com>
To:	Jonathan Corbet <corbet@....net>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [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.

Thanks,

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

Powered by blists - more mailing lists