linux-stable/include
Tiffany Yang bdfa89c489 kunit: test: Export kunit_attach_mm()
Tests can allocate from virtual memory using kunit_vm_mmap(), which
transparently creates and attaches an mm_struct to the test runner if
one is not already attached. This is suitable for most cases, except for
when the code under test must access a task's mm before performing an
mmap. Expose kunit_attach_mm() as part of the interface for those
cases. This does not change the existing behavior.

Cc: David Gow <davidgow@google.com>
Signed-off-by: Tiffany Yang <ynaffit@google.com>
Reviewed-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20250714185321.2417234-4-ynaffit@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-16 14:11:58 +02:00
..
acpi
asm-generic
clocksource
crypto crypto: testmgr - reinstate kconfig control over full self-tests 2025-06-13 17:24:21 +08:00
cxl
drm
dt-bindings
hyperv
keys
kunit kunit: test: Export kunit_attach_mm() 2025-07-16 14:11:58 +02:00
kvm
linux pps: fix poll support 2025-07-01 12:29:29 +02:00
math-emu
media
memory
misc
net bluetooth pull request for net: 2025-06-12 08:13:48 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace erofs: remove unused trace event erofs_destroy_inode 2025-06-18 13:41:16 +08:00
uapi ARM: 2025-06-22 09:58:23 -07:00
ufs
vdso
video
xen
Kbuild