From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758748Ab3EWRic (ORCPT ); Thu, 23 May 2013 13:38:32 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55982 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758225Ab3EWRib (ORCPT ); Thu, 23 May 2013 13:38:31 -0400 Message-ID: <519E53FB.7060307@zytor.com> Date: Thu, 23 May 2013 10:38:03 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Steven Rostedt CC: Rik van Riel , Stanislav Meduna , Linus Torvalds , "linux-rt-users@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , the arch/x86 maintainers , Hai Huang Subject: Re: [PATCH] mm: fix up a spurious page fault whenever it happens References: <5195ED8B.7060002@meduna.org> <1369183168.6828.168.camel@gandalf.local.home> <519CBB30.3060200@redhat.com> <20130522134111.33a695c5@cuia.bos.redhat.com> <519D08B0.8050707@meduna.org> <1369246316.6828.176.camel@gandalf.local.home> <519D0CAB.7020800@meduna.org> <519D0FF8.5080200@redhat.com> <519D118B.6010306@zytor.com> <519D11BF.5000604@redhat.com> <519DCE2A.4010801@meduna.org> <519E095A.4000105@redhat.com> <1369315769.6828.198.camel@gandalf.local.home> <519E3089.8040701@zytor.com> <1369322836.6828.199.camel@gandalf.local.home> <519E50B6.6070101@zytor.com> <1369330573.6828.200.camel@gandalf.local.home> In-Reply-To: <1369330573.6828.200.camel@gandalf.local.home> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/23/2013 10:36 AM, Steven Rostedt wrote: > On Thu, 2013-05-23 at 10:24 -0700, H. Peter Anvin wrote: >> On 05/23/2013 08:27 AM, Steven Rostedt wrote: >>> On Thu, 2013-05-23 at 08:06 -0700, H. Peter Anvin wrote: >>> >>>> We don't even need the jump_label infrastructure -- we have >>>> static_cpu_has*() which actually predates jump_label although it uses >>>> the same underlying ideas. >>> >>> Ah right. I wonder if it would be worth consolidating a lot of these >>> "modifying of code" infrastructures. Which reminds me, I need to update >>> text_poke() to do things similar to what ftrace does, and get rid of the >>> stop machine code. >>> >> >> Well, static_cpu_has*() just uses the alternatives infrastructure. > > And as it's a boot time change only, it's not quite in the category of > jump_labels and function tracing. > Right. -hpa