public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] keyctl02: Add delay between main loop iterations for RT kernels
Date: Fri, 3 Nov 2023 20:03:53 +0100	[thread overview]
Message-ID: <20231103190353.GA1118339@pevik> (raw)
In-Reply-To: <20231103172335.23787-1-mdoucha@suse.cz>

Hi Martin,

Reviewed-by: Petr Vorel <pvorel@suse.cz>

...
> +++ b/testcases/kernel/syscalls/keyctl/keyctl02.c
> @@ -29,13 +29,17 @@

>  #include "tst_safe_pthread.h"
>  #include "tst_test.h"
> +#include "tst_kconfig.h"
>  #include "lapi/keyctl.h"

>  #define LOOPS	20000
>  #define MAX_WAIT_FOR_GC_MS 5000
>  #define PATH_KEY_COUNT_QUOTA	"/proc/sys/kernel/keys/root_maxkeys"

> +#define KCONFIG_INIT(confname) { .id = confname, .id_len = strlen(confname) }
BTW this could be added (as separate effort) somewhere in the library
(include/tst_common.h) and reused in other tests (well, there are only 3 tests).

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2023-11-03 19:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-03 17:23 [LTP] [PATCH] keyctl02: Add delay between main loop iterations for RT kernels Martin Doucha
2023-11-03 19:03 ` Petr Vorel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231103190353.GA1118339@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=mdoucha@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox