Re: [PATCH 3/5] MIPS: Set page size to 16KB for malta SMP defconfigs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux