From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Lynch Subject: Re: [PATCH] checkpoint/i386: use task_user_gs to checkpoint gs Date: Thu, 29 Apr 2010 16:13:28 -0500 Message-ID: <1272575608.3134.84.camel@localhost> References: <1270597061-26041-1-git-send-email-ntl@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1270597061-26041-1-git-send-email-ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oren Laadan Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: containers.vger.kernel.org On Tue, 2010-04-06 at 18:37 -0500, Nathan Lynch wrote: > Depending on the setting of CONFIG_X86_32_LAZY_GS, gs may be saved in > the thread_struct or in pt_regs. Use the task_user_gs() accessor to > checkpoint gs appropriately for both cases. This solves post-restart > program crashes when CONFIG_X86_32_LAZY_GS=n. Hey Oren, We noticed this one isn't in ckpt-v21-rc7, so restart is failing on some i386 configurations still.