linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Increased address space for 64 bit
@ 2024-06-12 14:10 benjamin
  2024-06-12 14:10 ` [PATCH v3 1/5] um: Fix stub_start address calculation benjamin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: benjamin @ 2024-06-12 14:10 UTC (permalink / raw)
  To: linux-um; +Cc: Benjamin Berg

From: Benjamin Berg <benjamin.berg@intel.com>

This patchset fixes a few bugs, adds a new method of discovering the
host task size and finally adds four level page table support. All of
this means the userspace TASK_SIZE is much larger and in turns permits
userspace applications that need a lot of virtual addresses to work
fine.

One such application is ASAN which uses a fixed address in memory that
would otherwise not be addressable.

v2:
* Improved double clone logic using CLONE_VFORK
* Kconfig fixes pointed out by Tiwei Bie

v3:
* Undo incorrect change in child wait loop

Benjamin Berg (5):
  um: Fix stub_start address calculation
  um: Limit TASK_SIZE to the addressable range
  um: Do a double clone to disable rseq
  um: Discover host_task_size from envp
  um: Add 4 level page table support

 arch/um/Kconfig                      |   1 +
 arch/um/include/asm/page.h           |  14 +++-
 arch/um/include/asm/pgalloc.h        |  11 ++-
 arch/um/include/asm/pgtable-4level.h | 119 +++++++++++++++++++++++++++
 arch/um/include/asm/pgtable.h        |   6 +-
 arch/um/include/shared/as-layout.h   |   2 +-
 arch/um/include/shared/os.h          |   2 +-
 arch/um/kernel/mem.c                 |  17 +++-
 arch/um/kernel/um_arch.c             |  14 +++-
 arch/um/os-Linux/main.c              |   9 +-
 arch/um/os-Linux/skas/process.c      |  53 +++++++++++-
 arch/x86/um/Kconfig                  |  38 ++++++---
 arch/x86/um/os-Linux/task_size.c     |  19 ++++-
 13 files changed, 273 insertions(+), 32 deletions(-)
 create mode 100644 arch/um/include/asm/pgtable-4level.h

-- 
2.45.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-12 14:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 14:10 [PATCH v3 0/5] Increased address space for 64 bit benjamin
2024-06-12 14:10 ` [PATCH v3 1/5] um: Fix stub_start address calculation benjamin
2024-06-12 14:10 ` [PATCH v3 2/5] um: Limit TASK_SIZE to the addressable range benjamin
2024-06-12 14:10 ` [PATCH v3 3/5] um: Do a double clone to disable rseq benjamin
2024-06-12 14:10 ` [PATCH v3 4/5] um: Discover host_task_size from envp benjamin
2024-06-12 14:10 ` [PATCH v3 5/5] um: Add 4 level page table support benjamin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).