lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5ed67309a14e9971fa46bdaf2ae2cd3f5db60fe5.camel@redhat.com>
Date: Wed, 12 Mar 2025 07:57:14 +0100
From: Gabriele Monaco <gmonaco@...hat.com>
To: Nam Cao <namcao@...utronix.de>
Cc: Steven Rostedt <rostedt@...dmis.org>, john.ogness@...utronix.de, 
	linux-trace-kernel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 10/10] rv: raise the number of per-task monitor to 2

On Tue, 2025-03-11 at 18:05 +0100, Nam Cao wrote:
> There are 2 monitors to check realtime applications. Users may want
> to
> enable them both.
> 
> Signed-off-by: Nam Cao <namcao@...utronix.de>
> ---
>  include/linux/rv.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/rv.h b/include/linux/rv.h
> index 6de4f93b390e..224c2194f582 100644
> --- a/include/linux/rv.h
> +++ b/include/linux/rv.h
> @@ -44,7 +44,7 @@ struct ltl_monitor {
>   * adding more or developing a dynamic method. So far, none of
>   * these are justified.
>   */
> -#define RV_PER_TASK_MONITORS		1
> +#define RV_PER_TASK_MONITORS		2
>  #define RV_PER_TASK_MONITOR_INIT	(RV_PER_TASK_MONITORS)
>  
>  union rv_task_monitor {

I was thinking this value could be defined in Kconfig. Here you are
adding two monitors that belong with each other, that would fit nicely
with nested monitors [1] (patch waiting for final Ack).

Your monitor (let's call it rtapp) would require 2 slots and you could
enforce that in Kconfig.

Of course you don't have to add it to this series, but just as a heads up.

Cheers,
Gabriele

[1] - https://lore.kernel.org/lkml/20250218123121.253551-5-gmonaco@redhat.com/


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ