linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/3] tools/testing/vma/vma_internal.h: provide fatal_signal_pending
@ 2026-01-04 21:15 Mikulas Patocka
  2026-01-05 12:18 ` Lorenzo Stoakes
  0 siblings, 1 reply; 7+ messages in thread
From: Mikulas Patocka @ 2026-01-04 21:15 UTC (permalink / raw)
  To: Lorenzo Stoakes
  Cc: Alex Deucher, Christian König, Andrew Morton,
	David Hildenbrand, amd-gfx, linux-mm, Liam R. Howlett,
	Vlastimil Babka, Jann Horn, Pedro Falcato

Provide a dummy function fatal_signal_pending, because it will be used in
the following patch in the function mm_take_all_locks.

This commit avoids a test failure when the following patch will be apllied.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org

---
 tools/testing/vma/vma_internal.h |    5 +++++
 1 file changed, 5 insertions(+)

Index: mm/tools/testing/vma/vma_internal.h
===================================================================
--- mm.orig/tools/testing/vma/vma_internal.h	2026-01-04 21:19:10.000000000 +0100
+++ mm/tools/testing/vma/vma_internal.h	2026-01-04 21:19:10.000000000 +0100
@@ -1364,6 +1364,11 @@ static inline bool signal_pending(void *
 	return false;
 }
 
+static inline bool fatal_signal_pending(void *p)
+{
+	return false;
+}
+
 static inline bool is_file_hugepages(struct file *file)
 {
 	return false;



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

end of thread, other threads:[~2026-01-05 23:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-04 21:15 [PATCH v3 1/3] tools/testing/vma/vma_internal.h: provide fatal_signal_pending Mikulas Patocka
2026-01-05 12:18 ` Lorenzo Stoakes
2026-01-05 15:06   ` David Hildenbrand (Red Hat)
2026-01-05 15:36     ` Lorenzo Stoakes
2026-01-05 15:47       ` David Hildenbrand (Red Hat)
2026-01-05 16:07         ` Lorenzo Stoakes
2026-01-05 23:21   ` Andrew Morton

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