fastcalls, was Re: [patch] generic rwsems

From: Christoph Hellwig
Date: Fri Apr 13 2007 - 06:19:49 EST


On Fri, Apr 13, 2007 at 12:04:16PM +0200, Nick Piggin wrote:
> Remove one level of indirection (kernel/rwsem.c -> lib/rwsem.c), and
> give a bit of a cleanup (eg remove the fastcall junk) to make the
> code a bit easier to read.

Arpopos fastcalls, now that -mregparam=3 is the defaul on i386 and
FASTCALL/fastcall is a noop everywhere else can we please get rid
of this attribute entirely? If any other architecture provides
a more optimal non-standard calling convention we can just use
it by default in kernelspace as a few architectures already do.
-
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/