Re: [patch 5/5] elf: Add support for loading ET_CKPT files

From: Cyrill Gorcunov
Date: Fri Oct 21 2011 - 14:53:51 EST


On Fri, Oct 21, 2011 at 11:48:17AM -0700, Tejun Heo wrote:
...
> >
> > Don't claim such things, Tejun. Yes, I'm missing a number of things
> > (the same applies to you as well), but this patch was not 'just a
> > fast way to achieve what we need'. It's rather an attempt to gather
> > all things I've missed and provide more robust/solid version at the
> > next iteration (regargless which form this patch appeared, complete
> > user-space solution, some kernel api extension of whatever).
>
> Hmmm... my point was that single lumpy implementation allows for such
> mistakes to go unnoticed && makes it difficult to recover and thus is

Agreed, big code chunks are hard to even simply review, not talking about
notice of some deeper mistakes (espec in code logic and so on).

> a bad approach to the problem. For example, unlikely but, let's say
> we missed this vdso thing and it went into upstream, now what would we
> do? We'll need to somehow allow userland supply vdso symtab to kernel
> and let the kernel do the bridging and then probably bump the version
> number for elf format and so on. IMHO, that just isn't a good way to
> approach the problem, so let's please do it piece by piece.
>

Yes, I'll reduce code next time, for sure, thanks!

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/