Re: DM-CRYPT: Scale to multiple CPUs v3
From: Mike Snitzer
Date: Sun Oct 10 2010 - 12:23:16 EST
Hi Milan,
I'll help cut through this as best I can. I'm new to this work so I
first need to get up to speed.
I'm just providing my early thoughts below...
On Sun, Oct 10 2010 at 11:34am -0400,
Milan Broz <mbroz@xxxxxxxxxx> wrote:
> On 10/10/2010 03:08 PM, Andi Kleen wrote:
> > I did it intentionally not split up because a split up is unlikely
> > to be bisectable. I think there is no need for any splitups.
>
> Shrug. The main encryption thread and ESSIV per-cpu are two separate
> things from my point of view.
Milan, are your split patches equivalent to Andi's new single v3 patch
here?: https://patchwork.kernel.org/patch/244031/
I'd imagine there may be some differences.
> Anyway, the ball is on DM maintainer's playground now.
If there are differences then seems its not for DM maintainers to sort
this out quite yet. You have 4 patches yet you say conceptually there
are 2 distinct changes.
At a minimum I think your patch 1 and 2 need to be merged if patch 1 on
its own results in "using one tfm is not safe, fixed by foollowing
patch."
If in the end the split patches can be made identical to Andi's v3
patch, then I'm inclined to agree that splitting the single v3 patch
makes sense: if it really is doing multiple distinct changes in one.
But any of Andi's changes in his v3 patch need to be folded back into
your split patchset. And then your (3?) split patches need to be posted
to dm-devel with both Andi's and your Signed-off-by.
If you feel you shouldn't be doing any more to your split patches then
I'll review all of this closer tomorrow.
Thanks,
Mike
--
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/