From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland McGrath Subject: Re: Fwd: arch/ && tracehook_report_syscall_xxx() Date: Wed, 29 Apr 2009 12:17:44 -0700 (PDT) Message-ID: <20090429191744.DA422FC3BF@magilla.sf.frob.com> References: <20090427180455.GA32509@redhat.com> <20090427182919.B923DFC3BF@magilla.sf.frob.com> <20090427183218.GA31596@lst.de> <20090429190852.GA14515@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([66.187.233.31]:46070 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbZD2T2I (ORCPT ); Wed, 29 Apr 2009 15:28:08 -0400 In-Reply-To: Oleg Nesterov's message of Wednesday, 29 April 2009 21:08:52 +0200 <20090429190852.GA14515@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Oleg Nesterov Cc: Christoph Hellwig , chris@zankel.net, cooloney@kernel.org, deller@gmx.de, geert@linux-m68k.org, gerg@uclinux.org, hskinnemoen@atmel.com, jdike@addtoit.com, jesper.nilsson@axis.com, kyle@mcmartin.ca, linux@arm.linux.org.uk, ralf@linux-mips.org, rth@twiddle.net, starvik@axis.com, takata@linux-m32r.org, ysato@users.sourceforge.jp, zippel@linux-m68k.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Christoph has already poked everyone, I believe. > it would be really nice to turn it into something like > > asmlinkage void > syscall_trace(int entryexit) We recommend replacing this with separate entry/exit paths from the assembly code, if you are changing arch code anyway. Thanks, Roland