[dm-devel] DM-CRYPT: Scale to multiple CPUs v3

Andi Kleen andi at firstfloor.org
Sun Oct 10 19:16:40 UTC 2010


> Not if in_interrupt is set though?
> +       if (per_cpu(io_wq_cpu, cpu) == current && !in_interrupt()) {
> 
> What I am missing here?

The interrupt doesn't block on the task.

Actually most likely that check isn't needed anyways because
that should not happen, was just pure paranoia from my side.

> 
> (And assume there is only 1 CPU too for worst case behaviour, presumably.)

One per process, previously it was always one per CPU.

-Andi
-- 
ak at linux.intel.com -- Speaking for myself only.




More information about the dm-devel mailing list