From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751964Ab1JUSxu (ORCPT ); Fri, 21 Oct 2011 14:53:50 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:43193 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626Ab1JUSxt (ORCPT ); Fri, 21 Oct 2011 14:53:49 -0400 Date: Fri, 21 Oct 2011 22:53:42 +0400 From: Cyrill Gorcunov To: Tejun Heo Cc: Pavel Emelyanov , "linux-kernel@vger.kernel.org" , Andrey Vagin , James Bottomley , Glauber Costa , "H. Peter Anvin" , Ingo Molnar , Dave Hansen , "Eric W. Biederman" , Daniel Lezcano , Alexey Dobriyan , Linus Torvalds , Oleg Nesterov Subject: Re: [patch 5/5] elf: Add support for loading ET_CKPT files Message-ID: <20111021185342.GJ31508@moon> References: <20111014110511.670174429@openvz.org> <20111014171033.GC4294@google.com> <20111014173304.GD4294@google.com> <4E9E9255.7090601@parallels.com> <20111019182228.GJ25124@google.com> <20111019195632.GB14464@moon> <20111021182610.GB28670@google.com> <20111021183628.GH31508@moon> <20111021184239.GI31508@moon> <20111021184817.GC28670@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111021184817.GC28670@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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