From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932548AbcA2Puj (ORCPT ); Fri, 29 Jan 2016 10:50:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56014 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932090AbcA2Puh (ORCPT ); Fri, 29 Jan 2016 10:50:37 -0500 Date: Fri, 29 Jan 2016 09:50:35 -0600 From: Josh Poimboeuf To: Steven Rostedt Cc: Jessica Yu , Seth Jennings , Jiri Kosina , Vojtech Pavlik , Miroslav Benes , Ingo Molnar , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] ftrace: Adjust priority of ftrace module notifier Message-ID: <20160129155035.GG4081@treble.redhat.com> References: <1454049827-3726-1-git-send-email-jeyu@redhat.com> <1454049827-3726-3-git-send-email-jeyu@redhat.com> <20160129093800.6c739e40@gandalf.local.home> <20160129154505.GF4081@treble.redhat.com> <20160129104950.041f7522@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160129104950.041f7522@gandalf.local.home> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2016 at 10:49:50AM -0500, Steven Rostedt wrote: > On Fri, 29 Jan 2016 09:45:05 -0600 > Josh Poimboeuf wrote: > > > > If we do that then I still think it would be a good idea to split up the > > livepatch notifiers, with: > > > > - INT_MAX-1 for coming so that relocations are all written before any > > other notifiers (besides ftrace) get a chance to run. > > > > - INT_MIN-1 for going. I don't have a good specific reason, but I think > > Do you mean INT_MIN+1 ? Er, yeah. > > -- Steve > > > the symmetry will create less surprises and possibly fewer bugs if the > > module's patched state as seen by the other notifiers is the same for > > coming and going. > > > -- Josh