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

From: Andi Kleen
Date: Sun Oct 10 2010 - 15:16:46 EST


> 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/