lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 30 Oct 2007 14:14:01 +0000
From:	Ralf Baechle <ralf@...ux-mips.org>
To:	Matthew Wilcox <matthew@....cx>
Cc:	Kumar Gala <galak@...nel.crashing.org>,
	Kyle McMartin <kyle@...artin.ca>, linux-arch@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

On Tue, Oct 30, 2007 at 06:13:16AM -0600, Matthew Wilcox wrote:

> > 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:
> > > > same HW platform that you want to run with just 32-bit phys (for  
> > > > performance).
> > > 
> > > Have you measured what the performance difference is?
> > 
> > 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.
> 
> Oh, sure, I'm not saying I thought there would be no size difference; I
> was just bemused at the suggestion there was a performance difference.
> 
> Unless "won't fit in ROM any more" is considered a performance problem ;-)

Linux has traditionally had a paranoid fear of 64-bit datatypes just
because GCC doesn't generate terribly efficient code for i386.  I think
that may be the primary reason why CONFIG_RESOURCES_64BIT ever became a
build option.  I doubt resource_size_t is being used in any critical
path so the bloat factor will matter much more than the performance
difference it makes.  Unless you're terribly impatient waiting for your
PCI bus to complete scan or so ;-)

  Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ