Re: [PATCH] Generic dead function optimisation

From: David Lang (dlang@diginsite.com)
Date: Wed Apr 26 2000 - 11:45:28 EST


-----BEGIN PGP SIGNED MESSAGE-----

Any chance that the machine that was so much slower ran into memory
swapping problems to make it take so much longer?

David Lang

On Wed, 26 Apr 2000, Alan Modra wrote:

> Date: Wed, 26 Apr 2000 11:16:49 +1000 (EST)
> From: Alan Modra <alan@linuxcare.com.au>
> To: Graham Stoney <greyham@research.canon.com.au>
> Cc: Andrew Morton <andrewm@uow.edu.au>,
> Linux kernel mailing list <linux-kernel@vger.rutgers.edu>
> Subject: Re: [PATCH] Generic dead function optimisation
>
> On Wed, 26 Apr 2000, Graham Stoney wrote:
>
> > Yes; makes it backwards compatible, but harder to ensure that it's kicking in.
> > Mind you, since I have to use KEEP in the .lds files, which was introduced to
> > help with --gc-sections, I don't know if the patch will work for folks with
> > very old (i.e. pre --gc-sections) binutils.
>
> Richard Henderson added KEEP mid 1998.
>
> > > Interesting that 'ld --gc-sections' takes about 15x longer than normal.
> >
> > I haven't delved into this, but on PowerPC it takes no longer than normal, and
> > links in under a second. I think what you're seeing is platform specific.
> > Certainly we'd need to keep the x86 folks happy though, so we'd need to sort
> > this out.
>
> I'm really curious about this. ppc uses the same orphan processing as
> x86, ie. ld/emultemp/elf32.em, so both architectures should show the same
> slowdown. I wonder what's different.
>
> --
> Linuxcare. Support for the Revolution.
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2

iQEVAwUBOQcdKz7msCGEppcbAQERrggAw1OXmUTBwT1iycHfo3DJKvGqfFflKbc4
OZIiXojCu6L3EKkWRuMvK6VbMoY06KFeAF74ZnEkgzgbSRaoAneEBN6QhN6WdZMV
K4qGkv2BPmTAh5k6vfeq9OFw4+hPK0oSlzkma7pTz2fcvycdndQ/gmyFN1gGqtS3
iX4JeTN1B8Rglb0Wwp3jr4Uq9CKhh5jWhH6+4MMceDj52881G3X5UPTAXs9C5rF5
fF9D2Q8Ck4jdpD6DyTcEPHqiazWHi9B6dCdqnzEBXt7RAagW+54a2hf0UGURBo7l
txuDTbCsjlmTa86rOSX1mub3pmbdbYn01F6RbvaDAQo5ct8k/g6tgw==
=gmz6
-----END PGP SIGNATURE-----

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:11 EST