From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755238AbZHYOkE (ORCPT ); Tue, 25 Aug 2009 10:40:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755214AbZHYOkD (ORCPT ); Tue, 25 Aug 2009 10:40:03 -0400 Received: from mtagate8.de.ibm.com ([195.212.29.157]:63673 "EHLO mtagate8.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755213AbZHYOkB (ORCPT ); Tue, 25 Aug 2009 10:40:01 -0400 Date: Tue, 25 Aug 2009 16:39:51 +0200 From: Heiko Carstens To: Frederic Weisbecker Cc: Hendrik Brueckner , Jason Baron , linux-kernel@vger.kernel.org, mingo@elte.hu, laijs@cn.fujitsu.com, rostedt@goodmis.org, peterz@infradead.org, mathieu.desnoyers@polymtl.ca, jiayingz@google.com, mbligh@google.com, lizf@cn.fujitsu.com, Martin Schwidefsky Subject: Re: [PATCH 00/12] add syscall tracepoints V3 - s390 arch update Message-ID: <20090825143951.GA28268@osiris.boeblingen.de.ibm.com> References: <20090825123111.GD4639@cetus.boeblingen.de.ibm.com> <20090825135228.GD6114@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090825135228.GD6114@nowhere> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2009 at 03:52:32PM +0200, Frederic Weisbecker wrote: > On Tue, Aug 25, 2009 at 02:31:11PM +0200, Hendrik Brueckner wrote: > > meta = find_syscall_meta((unsigned long)sys_call_table[i]); > > syscalls_metadata[i] = meta; > > } > We can even probably move most of this code to the core, expect the tiny parts > that rely on the arch syscall table. > > BTW, perhaps a silly question: would it be hard to have a generic syscall table > common to every archs? That would cause a lot of churn. Every architecture initializes the syscall table (two tables if CONFIG_COMPAT is enabled) differently. s390 also only uses 32 bit pointers in the system call table for 64 bit kernels, since we know that the functions are within the first 4GB. I don't think its worth the effort.