Re: [patch 0/4] Resending, c/r series v2

From: Cyrill Gorcunov
Date: Wed Feb 15 2012 - 02:42:33 EST


On Wed, Feb 15, 2012 at 08:52:36AM +0400, Pavel Emelyanov wrote:
> On 02/15/2012 02:51 AM, Andrew Morton wrote:
> > On Mon, 13 Feb 2012 20:48:22 +0400
> > Cyrill Gorcunov <gorcunov@xxxxxxxxxx> wrote:
> >
> >> Hi, this series hopefully in a good shape
> >>
> >> - sys_kcmp now depends on CONFIG_CHECKPOINT_RESTORE
> >>
> >> - the extension of /proc/pid/stat now done against
> >> linux-next/master
> >>
> >> Please letme know if I've missed something.
> >
> > Thus far our (my) approach has been to trickle the c/r support code
> > into mainline as it is developed. Under the assumption that the end
> > result will be acceptable and useful kernel code.
> >
> > I'm afraid that I'm losing confidence in that approach. We have this
> > patchset, we have Stanislav's "IPC: checkpoint/restore in userspace
> > enhancements" (which apparently needs to get more complex to support
> > LSM context c/r). I simply *don't know* what additional patchsets are
> > expected. And from what you told me it sounds like networking support
> > is at a very early stage and I fear for what the end result of that
> > will look like.
>
> I understand. But there was a confidence that nobody wanted the c/r stuff to
> be the "one big kernel subsystem", but it should rather be "a bunch of small
> API-s for what is required". The amount of code for the initial C/R attempt was
> ~100 patches. The amount of code to support our user-space C/R implementation
> *only* is ~10 and the feature-set of both is already comparable.
>

Andrew, I hope Pavel has addressed all your concerns? What I personally
trying to achieve mostly -- the patches should be as minimum as possible,
still usable. I believe the patches which are already in tree are useful for
other projects as well (for example -- /proc/pid/task/tid/"children" to find
all children and build process topology fast). prctl extension look a bit
redundant for kernel in general, but they are easily turnable off via Kconfig
option. /proc/pid/map_files/ might be redundant too but it could be eliminated
via Kconfig as well. So I think the both series actually do not bring much noise
into kernel itself.

Cyrill
--
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/