public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] binder: mark binder_alloc_exhaustive_test as slow
@ 2025-10-24 16:15 Carlos Llamas
  2025-10-24 20:28 ` Tiffany Yang
  2025-10-27 11:40 ` Alice Ryhl
  0 siblings, 2 replies; 3+ messages in thread
From: Carlos Llamas @ 2025-10-24 16:15 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos,
	Martijn Coenen, Joel Fernandes, Christian Brauner, Carlos Llamas,
	Suren Baghdasaryan, Tiffany Yang, Kees Cook
  Cc: kernel-team, linux-kernel

The binder_alloc_exhaustive_test kunit test takes over 30s to complete
and the kunit framework reports:

  # binder_alloc_exhaustive_test: Test should be marked slow (runtime: 33.842881934s)

Mark the test as suggested to silence the warning.

Cc: Tiffany Yang <ynaffit@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
---
 drivers/android/tests/binder_alloc_kunit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/android/tests/binder_alloc_kunit.c b/drivers/android/tests/binder_alloc_kunit.c
index 9b884d977f76..7f9cc003bbe3 100644
--- a/drivers/android/tests/binder_alloc_kunit.c
+++ b/drivers/android/tests/binder_alloc_kunit.c
@@ -554,7 +554,7 @@ static void binder_alloc_test_exit(struct kunit *test)
 static struct kunit_case binder_alloc_test_cases[] = {
 	KUNIT_CASE(binder_alloc_test_init_freelist),
 	KUNIT_CASE(binder_alloc_test_mmap),
-	KUNIT_CASE(binder_alloc_exhaustive_test),
+	KUNIT_CASE_SLOW(binder_alloc_exhaustive_test),
 	{}
 };
 
-- 
2.51.1.821.gb6fe4d2222-goog


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

* Re: [PATCH] binder: mark binder_alloc_exhaustive_test as slow
  2025-10-24 16:15 [PATCH] binder: mark binder_alloc_exhaustive_test as slow Carlos Llamas
@ 2025-10-24 20:28 ` Tiffany Yang
  2025-10-27 11:40 ` Alice Ryhl
  1 sibling, 0 replies; 3+ messages in thread
From: Tiffany Yang @ 2025-10-24 20:28 UTC (permalink / raw)
  To: Carlos Llamas
  Cc: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos,
	Martijn Coenen, Joel Fernandes, Christian Brauner,
	Suren Baghdasaryan, Kees Cook, kernel-team, linux-kernel

Carlos Llamas <cmllamas@google.com> writes:

> The binder_alloc_exhaustive_test kunit test takes over 30s to complete
> and the kunit framework reports:

>    # binder_alloc_exhaustive_test: Test should be marked slow (runtime:  
> 33.842881934s)

> Mark the test as suggested to silence the warning.

> Cc: Tiffany Yang <ynaffit@google.com>
> Signed-off-by: Carlos Llamas <cmllamas@google.com>
> ---
>   drivers/android/tests/binder_alloc_kunit.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/drivers/android/tests/binder_alloc_kunit.c  
> b/drivers/android/tests/binder_alloc_kunit.c
> index 9b884d977f76..7f9cc003bbe3 100644
> --- a/drivers/android/tests/binder_alloc_kunit.c
> +++ b/drivers/android/tests/binder_alloc_kunit.c
> @@ -554,7 +554,7 @@ static void binder_alloc_test_exit(struct kunit *test)
>   static struct kunit_case binder_alloc_test_cases[] = {
>   	KUNIT_CASE(binder_alloc_test_init_freelist),
>   	KUNIT_CASE(binder_alloc_test_mmap),
> -	KUNIT_CASE(binder_alloc_exhaustive_test),
> +	KUNIT_CASE_SLOW(binder_alloc_exhaustive_test),
>   	{}
>   };

Reviewed-by: Tiffany Yang <ynaffit@google.com>

-- 
Tiffany Y. Yang

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

* Re: [PATCH] binder: mark binder_alloc_exhaustive_test as slow
  2025-10-24 16:15 [PATCH] binder: mark binder_alloc_exhaustive_test as slow Carlos Llamas
  2025-10-24 20:28 ` Tiffany Yang
@ 2025-10-27 11:40 ` Alice Ryhl
  1 sibling, 0 replies; 3+ messages in thread
From: Alice Ryhl @ 2025-10-27 11:40 UTC (permalink / raw)
  To: Carlos Llamas
  Cc: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos,
	Martijn Coenen, Joel Fernandes, Christian Brauner,
	Suren Baghdasaryan, Tiffany Yang, Kees Cook, kernel-team,
	linux-kernel

On Fri, Oct 24, 2025 at 04:15:02PM +0000, Carlos Llamas wrote:
> The binder_alloc_exhaustive_test kunit test takes over 30s to complete
> and the kunit framework reports:
> 
>   # binder_alloc_exhaustive_test: Test should be marked slow (runtime: 33.842881934s)
> 
> Mark the test as suggested to silence the warning.
> 
> Cc: Tiffany Yang <ynaffit@google.com>
> Signed-off-by: Carlos Llamas <cmllamas@google.com>

Reviewed-by: Alice Ryhl <aliceryhl@google.com>

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

end of thread, other threads:[~2025-10-27 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-24 16:15 [PATCH] binder: mark binder_alloc_exhaustive_test as slow Carlos Llamas
2025-10-24 20:28 ` Tiffany Yang
2025-10-27 11:40 ` Alice Ryhl

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