mbox series

[0/4] MIPS: support 47-bit userland VM space

Message ID 20190224071355.14488-1-wangxuerui@qiniu.com (mailing list archive)
Headers show
Series MIPS: support 47-bit userland VM space | expand

Message

Wang Xuerui Feb. 24, 2019, 7:13 a.m. UTC
Hi,

This is my patchset to support 47-bit userland virtual memory space on
MIPS, for better application compatibility with x86_64.  The
implementation is entirely shared with the previous 48-bit virtual
memory space work.

The existing mechanism is first refactored to accommodate extensions,
then 47-bit support is added as an additional case of the
now-generalized large VA support.  I have been running an earlier
uncleaned version of this code for over 2 years, on Loongson 3A2000 and
3A3000, without any problem so far.  This is my first patchset to
Linux/MIPS, so any review or comment is greatly appreciated!

Wang Xuerui (4):
  MIPS: simplify definition of TASK_SIZE64
  MIPS: refactor virtual address size selection
  MIPS: define virtual address size in Kconfig
  MIPS: support 47-bit userland VM space

 arch/mips/Kconfig                  | 59 +++++++++++++++++++++++++++++++++++---
 arch/mips/include/asm/pgtable-64.h | 10 +++----
 arch/mips/include/asm/processor.h  |  5 ++--
 3 files changed, 63 insertions(+), 11 deletions(-)