Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932272Ab3CSPKy (ORCPT ); Tue, 19 Mar 2013 11:10:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23159 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932137Ab3CSPKv (ORCPT ); Tue, 19 Mar 2013 11:10:51 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1363548972.25967.137.camel@gandalf.local.home> References: <1363548972.25967.137.camel@gandalf.local.home> <20130317182834.GA22989@redhat.com> <1363546493.25967.129.camel@gandalf.local.home> <20130317190438.GA24582@redhat.com> To: Steven Rostedt Cc: dhowells@redhat.com, Oleg Nesterov , Andrew Morton , Ingo Molnar , Frederic Weisbecker , linux-kernel@vger.kernel.org, "H. Peter Anvin" , linux-arch Subject: Re: [PATCH 2/2] tracing: syscall_regfunc() should not skip kernel threads Date: Tue, 19 Mar 2013 15:10:26 +0000 Message-ID: <32387.1363705826@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 578 Lines: 14 Steven Rostedt wrote: > Why? If we remove the tracepoint from the slowpath and use a table swap, > then we wouldn't need to use the slowpath at all. How are you engineering a table swap? Do you patch the system call code to change the immediate address loaded or do you put in a level of indirection? David -- 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/