aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc.c
diff options
context:
space:
mode:
authorTiffany Yang <[email protected]>2025-07-14 18:53:16 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-16 12:11:58 +0000
commitbdfa89c489296f092751fcee23b5d171c9fdc7f5 (patch)
tree2012bf089adf1bad32eca1bc9453fd5e4bc545e5 /drivers/android/binder_alloc.c
parentbinder: Store lru freelist in binder_alloc (diff)
downloadkernel-bdfa89c489296f092751fcee23b5d171c9fdc7f5.tar.gz
kernel-bdfa89c489296f092751fcee23b5d171c9fdc7f5.zip
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 <[email protected]> Signed-off-by: Tiffany Yang <[email protected]> Reviewed-by: Carlos Llamas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/android/binder_alloc.c')
0 files changed, 0 insertions, 0 deletions