From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755419AbaCCWbd (ORCPT ); Mon, 3 Mar 2014 17:31:33 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.232]:19941 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754919AbaCCWba (ORCPT ); Mon, 3 Mar 2014 17:31:30 -0500 Date: Mon, 3 Mar 2014 17:31:08 -0500 From: Steven Rostedt To: "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Peter Zijlstra , Frederic Weisbecker , Mathieu Desnoyers , Petr Mladek , stable@vger.kernel.org Subject: Re: [RFA][PATCH 1/5] ftrace/x86: Run a sync after fixup on failure Message-ID: <20140303173108.0601e7b9@gandalf.local.home> In-Reply-To: <531501BD.4070300@zytor.com> References: <20140227154616.703252665@goodmis.org> <20140227154922.957070805@goodmis.org> <5314FE46.3060003@zytor.com> <20140303171816.176ca337@gandalf.local.home> <531501BD.4070300@zytor.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 Mon, 03 Mar 2014 14:27:09 -0800 "H. Peter Anvin" wrote: > On 03/03/2014 02:18 PM, Steven Rostedt wrote: > > > > How's this sound: > > > > The second bug was that the removal of the breakpoints required the > > "within()" logic updates instead of accessing the ip address directly. > > As kernel text is mapped read-only when CONFIG_DEBUG_RODATA is set, and > > the removal of the breakpoint is a modification of kernel text. > > > > I'd add: > > "ftrace_write() includes this, but probe_kernel_write() does not." > OK, thanks, -- Steve