Re: [patch] generic-hardirqs.patch, 2.6.9-rc1-bk14
From: Ingo Molnar
Date: Wed Sep 08 2004 - 09:51:58 EST
* Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> > wrt. unused generic functions - why dont we drop them link-time?
>
> make explicit what you can do easily instead of relying on the
> compiler. It allows to get rid of your horrible generic_ hacks, cuts
> down compile time and makes explicit to anyone looking at the code and
> Kconfig which architectures use this.
i disagree. It's the same as the VFS model: we have generic_block_bmap()
which a filesystem might or might not make use of. It's still around
even if no filesystem makes use of it but do we care? I'd prefer fixing
our linking logic to get rid of unused functions than complicating code
and the architecture with conditionals.
is there any architecture that cannot make use of kernel/hardirq.c _at
all_?
Ingo
-
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/