All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney.cavm@gmail.com>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>,
	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, 10 Mar 2014 10:42:55 -0700	[thread overview]
Message-ID: <531DF99F.3040403@gmail.com> (raw)
In-Reply-To: <20140310135506.GA28583@hall.aurel32.net>

On 03/10/2014 06:55 AM, Aurelien Jarno wrote:
> On Tue, Mar 04, 2014 at 12:24:23AM +0200, 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".
>
> In Debian I am aware of the problem on at least all mozilla based
> products (the problem is jemalloc) and GCL.
>
> The problem is not that the page size is hardcoded to 4K, but that it is
> detected at build time instead of run time.

Of course that is incorrect, pagesize must be detected at runtime.  Any 
package that does otherwise is defective and should be fixed.

If they need an upper bound, we can supply that.  It is 64K.


> This is only a problem for
> distributions where a package could be built on one machine and run on
> another, but it should not affect people building such packages
> themselves, or using the same set of machines.
>
> The fact that the page size is not 4K is usually correctly handled, as
> other architectures like alpha and itanium were using 8K or 16K pages.
>

  reply	other threads:[~2014-03-10 17:43 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
2014-03-10 13:55         ` Aurelien Jarno
2014-03-10 17:42           ` David Daney [this message]
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=531DF99F.3040403@gmail.com \
    --to=ddaney.cavm@gmail.com \
    --cc=Markos.Chandras@imgtec.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=aurelien@aurel32.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.