Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: David Daney <ddaney.cavm@gmail.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Markos Chandras <Markos.Chandras@imgtec.com>,
	Ralf Baechle <ralf@linux-mips.org>,
	linux-mips@linux-mips.org, Paul Burton <paul.burton@imgtec.com>
Subject: Re: [PATCH 3/5] MIPS: Set page size to 16KB for malta SMP defconfigs
Date: Mon, 03 Mar 2014 15:03:11 -0800	[thread overview]
Message-ID: <53150A2F.4010408@gmail.com> (raw)
In-Reply-To: <20140303222423.GA573@drone.musicnaut.iki.fi>

On 03/03/2014 02:24 PM, Aaro Koskinen wrote:
> Hi,
>
> On Mon, Mar 03, 2014 at 02:06:18PM +0000, Markos Chandras wrote:
>> Are you referring to programs hard coding the page size to 4k instead of
>> using the getpagesize()? Well yes this could be a problem. But is that a
>> real problem? We are changing the default value so whoever has such an old
>> userland can easily switch to the 4k page size. It may also be a good
>> opportunity to expose such application and get the fixed properly :) But if
>> that's not acceptable, we can drop the patch. Paul what do you think?
> Not so long ago there was an issue with Debian where Iceweasel or
> Spidermonkey failed on MIPS/Loongson because of its 8K page size (the
> userspace assumed 4K). You will get such issues as long as x86 dominates,
> it's not a matter of "old userland".
>
It is not just getpagesize().  People also used to amuse themselves by 
patching ld so that it did Program Header layout in a manner that was 
incompatible with anything other than 4K pages.  This was mostly seen in 
toolchains used by people using uClibc.

  reply	other threads:[~2014-03-03 23:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 14:00 [PATCH 0/5] Update Malta defconfigs Markos Chandras
2014-02-20 14:00 ` Markos Chandras
2014-02-20 14:00 ` [PATCH 1/5] MIPS: regenerate malta defconfigs Markos Chandras
2014-02-20 14:00   ` Markos Chandras
2014-02-20 14:00 ` [PATCH 2/5] MIPS: Malta: Enable DEVTMPFS Markos Chandras
2014-02-20 14:00   ` Markos Chandras
2014-02-20 14:00 ` [PATCH 3/5] MIPS: Set page size to 16KB for malta SMP defconfigs Markos Chandras
2014-02-20 14:00   ` Markos Chandras
2014-02-21 17:38   ` Ralf Baechle
2014-03-03 14:06     ` Markos Chandras
2014-03-03 14:06       ` Markos Chandras
2014-03-03 14:29       ` Paul Burton
2014-03-03 14:29         ` Paul Burton
2014-03-04 17:01         ` Ralf Baechle
2014-03-03 22:24       ` Aaro Koskinen
2014-03-03 23:03         ` David Daney [this message]
2014-03-10 13:55         ` Aurelien Jarno
2014-03-10 17:42           ` David Daney
2014-02-20 14:00 ` [PATCH 4/5] MIPS: Default NR_CPUS=8 " Markos Chandras
2014-02-20 14:00   ` Markos Chandras
2014-02-20 14:00 ` [PATCH 5/5] MIPS: Add defconfig for Malta SMVP with EVA Markos Chandras
2014-02-20 14:00   ` Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53150A2F.4010408@gmail.com \
    --to=ddaney.cavm@gmail.com \
    --cc=Markos.Chandras@imgtec.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=linux-mips@linux-mips.org \
    --cc=paul.burton@imgtec.com \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox