All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: adds MAP_NOSIGBUS extension for shmem read
@ 2021-06-01 23:22 Ming Lin
  2021-06-01 23:22 ` [PATCH 1/2] mm: make "vm_flags" be an u64 Ming Lin
  2021-06-01 23:22 ` [PATCH 2/2] mm: adds NOSIGBUS extension for out-of-band shmem read Ming Lin
  0 siblings, 2 replies; 34+ messages in thread
From: Ming Lin @ 2021-06-01 23:22 UTC (permalink / raw)
  To: Linus Torvalds, Hugh Dickins, Simon Ser; +Cc: linux-mm, linux-kernel, Ming Lin

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


^ permalink raw reply	[flat|nested] 34+ messages in thread
* Re: [PATCH 2/2] mm: adds NOSIGBUS extension for out-of-band shmem read
@ 2021-06-02  0:16 kernel test robot
  0 siblings, 0 replies; 34+ messages in thread
From: kernel test robot @ 2021-06-02  0:16 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 1832 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <1622589753-9206-3-git-send-email-mlin@kernel.org>
References: <1622589753-9206-3-git-send-email-mlin@kernel.org>
TO: "Ming Lin-SSI" <mlin@kernel.org>
TO: Linus Torvalds <torvalds@linux-foundation.org>
CC: LKML <linux-kernel@vger.kernel.org>
TO: Hugh Dickins <hughd@google.com>
TO: Simon Ser <contact@emersion.fr>
CC: linux-mm(a)kvack.org
CC: "Ming Lin-SSI" <mlin@kernel.org>

Hi Ming,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linux/master]
[also build test WARNING on arm64/for-next/core powerpc/next asm-generic/master linus/master v5.13-rc4]
[cannot apply to hnaz-linux-mm/master tip/x86/core next-20210601]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Ming-Lin/mm-adds-MAP_NOSIGBUS-extension-for-shmem-read/20210602-072403
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git dd860052c99b1e088352bdd4fb7aef46f8d2ef47
:::::: branch date: 52 minutes ago
:::::: commit date: 52 minutes ago
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
cd tools/perf && ./check-headers.sh

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


perfheadercheck warnings: (new ones prefixed by >>)
>> Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/mman-common.h' differs from latest version at 'include/uapi/asm-generic/mman-common.h':   32> #define MAP_NOSIGBUS		0x200000	/* do not SIGBUS on out-of-band shmem read */

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

end of thread, other threads:[~2021-06-03 19:57 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 23:22 [PATCH 0/2] mm: adds MAP_NOSIGBUS extension for shmem read Ming Lin
2021-06-01 23:22 ` [PATCH 1/2] mm: make "vm_flags" be an u64 Ming Lin
2021-06-02  1:58   ` kernel test robot
2021-06-02  1:58     ` kernel test robot
2021-06-02  2:06   ` kernel test robot
2021-06-02  2:06     ` kernel test robot
2021-06-01 23:22 ` [PATCH 2/2] mm: adds NOSIGBUS extension for out-of-band shmem read Ming Lin
2021-06-02  0:16   ` Linus Torvalds
2021-06-02  0:16     ` Linus Torvalds
2021-06-02  1:06     ` Ming Lin
2021-06-02  1:06       ` Ming Lin
2021-06-02  2:13     ` Hugh Dickins
2021-06-02  2:13       ` Hugh Dickins
2021-06-02  2:02   ` kernel test robot
2021-06-02  2:02     ` kernel test robot
2021-06-02  3:49   ` Hugh Dickins
2021-06-02  3:49     ` Hugh Dickins
2021-06-03  0:05     ` Ming Lin
2021-06-03  0:46       ` Hugh Dickins
2021-06-03  0:46         ` Hugh Dickins
2021-06-03 18:25         ` Linus Torvalds
2021-06-03 18:25           ` Linus Torvalds
2021-06-03 19:07           ` Hugh Dickins
2021-06-03 19:07             ` Hugh Dickins
2021-06-03 19:12             ` Linus Torvalds
2021-06-03 19:12               ` Linus Torvalds
2021-06-03 19:15               ` Linus Torvalds
2021-06-03 19:15                 ` Linus Torvalds
2021-06-03 19:24               ` Andy Lutomirski
2021-06-03 19:35                 ` Simon Ser
2021-06-03 19:57         ` Ming Lin
2021-06-02  9:30   ` kernel test robot
2021-06-02  9:30     ` kernel test robot
2021-06-02  0:16 kernel test robot

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.