Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

From: Ralf Baechle
Date: Tue Oct 30 2007 - 07:42:45 EST


On Tue, Oct 30, 2007 at 02:37:19AM -0600, Matthew Wilcox wrote:

> On Mon, Oct 29, 2007 at 10:03:16PM -0500, Kumar Gala wrote:
> > The same is true on PPC32. Its a per platform thing. However, I'm
> > not sure if we could hide it from the user. There are cases on the
> > same HW platform that you want to run with just 32-bit phys (for
> > performance).
>
> Have you measured what the performance difference is?

Two identical kernel configs, one with one without CONFIG_RESOURCES_64BIT:

text data bss dec hex filename
3334684 152208 138624 3625516 37522c vmlinux
3340352 152464 138752 3631568 3769d0 vmlinux

So that's 5668, 256 bytes data and 128 bytes of bss for a total of 6052
bytes. Not a whole lot but I still fear some users on the most
claustrophobic systems will mind.

Ralf
-
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/