public inbox for mm-commits@vger.kernel.org
 help / color / mirror / Atom feed
* + selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch added to mm-new branch
@ 2026-03-31  0:17 Andrew Morton
  2026-03-31  0:27 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2026-03-31  0:17 UTC (permalink / raw)
  To: mm-commits, ljs, akpm, akpm


The patch titled
     Subject: selftests-mm-add-merge-test-for-partial-msealed-range-fix
has been added to the -mm mm-new branch.  Its filename is
     selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch

This patch will later appear in the mm-new branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Note, mm-new is a provisional staging ground for work-in-progress
patches, and acceptance into mm-new is a notification for others take
notice and to finish up reviews.  Please do not hesitate to respond to
review feedback and post updated versions to replace or incrementally
fixup patches in mm-new.

The mm-new branch of mm.git is not included in linux-next

If a few days of testing in mm-new is successful, the patch will me moved
into mm.git's mm-unstable branch, which is included in linux-next

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: selftests-mm-add-merge-test-for-partial-msealed-range-fix
Date: Mon Mar 30 05:12:35 PM PDT 2026

fix build

In file included from merge.c:4:
merge.c: In function merge_merge_vmas_with_mseal:
merge.c:1229:27: error: __NR_mseal undeclared (first use in this function)
 1229 |         ASSERT_EQ(syscall(__NR_mseal, 0, 0, ~0UL), -1);
      |                           ^~~~~~~~~~

Cc: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 tools/testing/selftests/mm/merge.c      |    1 +
 tools/testing/selftests/mm/mseal_test.c |    1 +
 2 files changed, 2 insertions(+)

--- a/tools/testing/selftests/mm/mseal_test.c~selftests-mm-add-merge-test-for-partial-msealed-range-fix
+++ a/tools/testing/selftests/mm/mseal_test.c
@@ -8,6 +8,7 @@
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <stdbool.h>
+#include <unistd.h>
 #include "kselftest.h"
 #include <syscall.h>
 #include <errno.h>
--- a/tools/testing/selftests/mm/merge.c~selftests-mm-add-merge-test-for-partial-msealed-range-fix
+++ a/tools/testing/selftests/mm/merge.c
@@ -6,6 +6,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <asm-generic/unistd.h>
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/prctl.h>
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

liveupdate-initialize-incoming-flb-state-before-finish-fix.patch
selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch
lib-list_sort-remove-dummy-cmp-calls-to-speed-up-merge_final-fix.patch


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

* Re: + selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch added to mm-new branch
  2026-03-31  0:17 Andrew Morton
@ 2026-03-31  0:27 ` Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2026-03-31  0:27 UTC (permalink / raw)
  To: mm-commits, ljs

On Mon, 30 Mar 2026 17:17:02 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> ---
> 
>  tools/testing/selftests/mm/merge.c      |    1 +
>  tools/testing/selftests/mm/mseal_test.c |    1 +
>  2 files changed, 2 insertions(+)
> 
> --- a/tools/testing/selftests/mm/mseal_test.c~selftests-mm-add-merge-test-for-partial-msealed-range-fix
> +++ a/tools/testing/selftests/mm/mseal_test.c
> @@ -8,6 +8,7 @@
>  #include <sys/time.h>
>  #include <sys/resource.h>
>  #include <stdbool.h>
> +#include <unistd.h>
>  #include "kselftest.h"
>  #include <syscall.h>
>  #include <errno.h>

oops, that hunk isn't supposed to be there.

> --- a/tools/testing/selftests/mm/merge.c~selftests-mm-add-merge-test-for-partial-msealed-range-fix
> +++ a/tools/testing/selftests/mm/merge.c
> @@ -6,6 +6,7 @@
>  #include <fcntl.h>
>  #include <stdio.h>
>  #include <stdlib.h>
> +#include <asm-generic/unistd.h>
>  #include <unistd.h>
>  #include <sys/mman.h>
>  #include <sys/prctl.h>

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

* + selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch added to mm-new branch
@ 2026-03-31  0:28 Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2026-03-31  0:28 UTC (permalink / raw)
  To: mm-commits, ljs, akpm, akpm


The patch titled
     Subject: selftests-mm-add-merge-test-for-partial-msealed-range-fix
has been added to the -mm mm-new branch.  Its filename is
     selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch

This patch will later appear in the mm-new branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Note, mm-new is a provisional staging ground for work-in-progress
patches, and acceptance into mm-new is a notification for others take
notice and to finish up reviews.  Please do not hesitate to respond to
review feedback and post updated versions to replace or incrementally
fixup patches in mm-new.

The mm-new branch of mm.git is not included in linux-next

If a few days of testing in mm-new is successful, the patch will me moved
into mm.git's mm-unstable branch, which is included in linux-next

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: selftests-mm-add-merge-test-for-partial-msealed-range-fix
Date: Mon Mar 30 05:12:35 PM PDT 2026

fix build

In file included from merge.c:4:
merge.c: In function merge_merge_vmas_with_mseal:
merge.c:1229:27: error: __NR_mseal undeclared (first use in this function)
 1229 |         ASSERT_EQ(syscall(__NR_mseal, 0, 0, ~0UL), -1);
      |                           ^~~~~~~~~~

Cc: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 tools/testing/selftests/mm/merge.c |    1 +
 1 file changed, 1 insertion(+)

--- a/tools/testing/selftests/mm/merge.c~selftests-mm-add-merge-test-for-partial-msealed-range-fix
+++ a/tools/testing/selftests/mm/merge.c
@@ -6,6 +6,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <asm-generic/unistd.h>
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/prctl.h>
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

liveupdate-initialize-incoming-flb-state-before-finish-fix.patch
selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch
lib-list_sort-remove-dummy-cmp-calls-to-speed-up-merge_final-fix.patch


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

end of thread, other threads:[~2026-03-31  0:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31  0:28 + selftests-mm-add-merge-test-for-partial-msealed-range-fix.patch added to mm-new branch Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2026-03-31  0:17 Andrew Morton
2026-03-31  0:27 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox