Re: [PATCH 00/12] add syscall tracepoints V3 - s390 arch update

From: Heiko Carstens
Date: Tue Aug 25 2009 - 10:40:13 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/