Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755880AbbBLNQe (ORCPT ); Thu, 12 Feb 2015 08:16:34 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:64066 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755839AbbBLNQd (ORCPT ); Thu, 12 Feb 2015 08:16:33 -0500 Message-ID: <54DCA7AC.3080602@suse.cz> Date: Thu, 12 Feb 2015 14:16:28 +0100 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Peter Zijlstra , Josh Poimboeuf CC: Ingo Molnar , Masami Hiramatsu , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Seth Jennings , Jiri Kosina , Vojtech Pavlik Subject: Re: [RFC PATCH 6/9] livepatch: create per-task consistency model References: <2c3d1e685dae5cccc2dfdb1b24c241b2f1c89348.1423499826.git.jpoimboe@redhat.com> <20150212032121.GA18578@treble.redhat.com> <20150212115628.GL2896@worktop.programming.kicks-ass.net> <20150212125149.GB18578@treble.redhat.com> <20150212130817.GV23123@twins.programming.kicks-ass.net> In-Reply-To: <20150212130817.GV23123@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 731 Lines: 25 Hi, On 02/12/2015, 02:08 PM, Peter Zijlstra wrote: > How can one task run new and another task old functions? because this is how it is designed to work in one of the consistency models. > Once you patch > any indirect function pointer any task will see the new call. It does not patch any pointers. Callees' fentrys are "patched" using ftrace. > And what's wrong with using known good spots like the freezer? This was already discussed too. Please STA. thanks, -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/