From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755348AbaEFM0O (ORCPT ); Tue, 6 May 2014 08:26:14 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.225]:59222 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752419AbaEFM0I (ORCPT ); Tue, 6 May 2014 08:26:08 -0400 Date: Tue, 6 May 2014 08:26:04 -0400 From: Steven Rostedt To: Masami Hiramatsu Cc: Ingo Molnar , Frederic Weisbecker , Josh Poimboeuf , Seth Jennings , Ingo Molnar , Jiri Slaby , linux-kernel@vger.kernel.org, Peter Zijlstra , Andrew Morton , Linus Torvalds , Thomas Gleixner Subject: Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching Message-ID: <20140506082604.31928cb9@gandalf.local.home> In-Reply-To: <5368CB6E.3090105@hitachi.com> References: <20140505085537.GA32196@gmail.com> <20140505132638.GA14432@treble.redhat.com> <20140505141038.GA27403@localhost.localdomain> <20140505184304.GA15137@gmail.com> <5368CB6E.3090105@hitachi.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 06 May 2014 20:45:50 +0900 Masami Hiramatsu wrote: > However, I also think if users can accept such freezing wait-time, > it means they can also accept kexec based "checkpoint-restart" patching. > So, I think the final goal of the kpatch will be live patching without > stopping the machine. I'm discussing the issue on github #138, but that is > off-topic. :) > I agree with Ingo too. Being conservative at first is the right approach here. We should start out with a stop_machine making sure that everything is sane before we continue. Sure, that's not much different than a kexec, but lets take things one step at a time. ftrace did the stop_machine (and still does for some archs), and slowly moved to a more efficient method. kpatch/kgraft should follow suit. -- Steve