This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Set COMMONPAGESIZE to 4KB on ppc32


On Sat, Jan 17, 2004 at 07:31:52PM +0100, Jakub Jelinek wrote:
> On Sat, Jan 17, 2004 at 07:36:16PM +0100, Thiemo Seufer wrote:
> > > > I've actually been using this one... I'm not entirely sure we should
> > > > add the MIPS part, though, since mips-linux has just started to
> > > > implement larger page sizes.
> > > > 
> > > > 2004-01-15  Daniel Jacobowitz  <drow@mvista.com>
> > > > 
> > > > 	* emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
> > > > 	* emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
> > > 
> > > You may want to undefine it in elf[32,64}btsmip* again, because those
> > > are the ones used by linux.
> > 
> > IRIX allows also larger page sizes, I don't know how it plays out there.
> 
> Unlike MAXPAGESIZE, COMMONPAGESIZE doesn't have to be the largest page size
> ever allowed but the most commonly used one.  It is just an optimization.

Right - my question is whether a COMMONPAGESIZE of 4K would help or
hurt MIPS.  I think it would help, even though the kernel now supports
larger page sizes - because the people who care about the amount of RAM
difference involved are likely to not have very much, and use small
pages for efficiency.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]