[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1622589753-9206-1-git-send-email-mlin@kernel.org>
Date: Tue, 1 Jun 2021 16:22:31 -0700
From: Ming Lin <mlin@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Hugh Dickins <hughd@...gle.com>,
Simon Ser <contact@...rsion.fr>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Ming Lin <mlin@...nel.org>
Subject: [PATCH 0/2] mm: adds MAP_NOSIGBUS extension for shmem read
These 2 patches are based on the discussion of "Sealed memfd & no-fault mmap"
at https://bit.ly/3pdwOGR
patch 1: make "vm_flags" be an u64, so we can have enough bits on 32-bit
architectures. Then we can add VM_NOSIGBUS which is bit 38.
patch 2: support no-fault mmap for shmem read
Ming Lin (2):
mm: make "vm_flags" be an u64
mm: adds NOSIGBUS extension for out-of-band shmem read
arch/arm64/Kconfig | 1 -
arch/powerpc/Kconfig | 1 -
arch/x86/Kconfig | 1 -
include/linux/mm.h | 102 ++++++++++++++++-----------------
include/linux/mm_types.h | 4 +-
include/linux/mman.h | 5 +-
include/uapi/asm-generic/mman-common.h | 1 +
mm/Kconfig | 2 -
mm/memory.c | 2 +-
mm/mmap.c | 5 +-
mm/shmem.c | 17 +++++-
11 files changed, 76 insertions(+), 65 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists