From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932702Ab2LNWnR (ORCPT ); Fri, 14 Dec 2012 17:43:17 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:33645 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932151Ab2LNWnN (ORCPT ); Fri, 14 Dec 2012 17:43:13 -0500 Date: Sat, 15 Dec 2012 02:43:07 +0400 From: Cyrill Gorcunov To: "H. Peter Anvin" Cc: Andy Lutomirski , aarcange@redhat.com, ak@linux.intel.com, Pavel Emelyanov , Stefani Seibold , x86@kernel.org, linux-kernel@vger.kernel.org, criu@openvz.org, mingo@redhat.com, john.stultz@linaro.org, tglx@linutronix.de Subject: Re: [CRIU] [PATCH] Add VDSO time function support for x86 32-bit kernel Message-ID: <20121214224307.GH6582@moon> References: <50CAE485.5020608@parallels.com> <50CB716D.6020501@zytor.com> <50CB7459.7010107@zytor.com> <20121214201217.GE6582@moon> <50CB9553.7050808@zytor.com> <50CBA171.4080403@zytor.com> <20121214222517.GG6582@moon> <50CBA7BC.4020001@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50CBA7BC.4020001@zytor.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, Dec 14, 2012 at 02:27:08PM -0800, H. Peter Anvin wrote: > On 12/14/2012 02:25 PM, Cyrill Gorcunov wrote: > > > > this would allow us to defer checkpoint until task finish vdso code. Peter, > > if I understand you correctly you propose we provide some own proxy-vdso > > which would redirect calls to real ones, right? But the main problem > > is that is exactly the idea to be able to c/r existing programs without > > recompiling and such (or I miss something here?). > > No, I'm proposing that you use a proxy-vdso which does nothing but > system calls, and therefore can be stable indefinitely. This won't help in case of scenario you've been pointing in previous email (where c/r happens in a middle of vdso), would it? Because we still need somehow to be sure we're not checkpointing in a middle of signal handler which will return to some vdso place.