RE: [PATCH] utils: add kernel config check utility

2021-10-12 Thread Chen, Hongzhan via Xenomai
Hi Jan I resent the first version because I had not received your remark email in my outlook so I thought that it may be flooded somehow. I already find that you remarks https://xenomai.org/pipermail/xenomai/2021-October/046559.html now. Regards Hongzhan Chen -Original Message- From: J

Re: [PATCH] utils: add kernel config check utility

2021-10-12 Thread Jan Kiszka via Xenomai
On 13.10.21 02:58, Hongzhan Chen via Xenomai wrote: > To check a kernel configuration for common issues which may increase > latency for dovetail-based linux. > > Signed-off-by: Hongzhan Chen > Is this a v2 or resend? I'm asking as several of my remarks appear to be unaddressed. Jan -- Sieme

[PATCH] utils: add kernel config check utility

2021-10-12 Thread Hongzhan Chen via Xenomai
To check a kernel configuration for common issues which may increase latency for dovetail-based linux. Signed-off-by: Hongzhan Chen diff --git a/configure.ac b/configure.ac index 480a94768..2bf8eece3 100644 --- a/configure.ac +++ b/configure.ac @@ -1017,6 +1017,7 @@ AC_CONFIG_FILES([ \ u

[PATCH 2/4] lib/alchemy/testsuite: Fix pipe-1 test case

2021-10-12 Thread Jan Kiszka via Xenomai
From: Jan Kiszka A missing initialization led to early termination and crashes. Signed-off-by: Jan Kiszka --- lib/alchemy/testsuite/pipe-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/alchemy/testsuite/pipe-1.c b/lib/alchemy/testsuite/pipe-1.c index 7272079eec..3f8

[PATCH 0/4] Alchemy fixes around timeouts

2021-10-12 Thread Jan Kiszka via Xenomai
See patches for details Jan Jan Kiszka (4): lib/alchemy: Fix rt_pipe_read* with timeouts lib/alchemy/testsuite: Fix pipe-1 test case lib/alchemy/testsuite: Extend pipe-1 test by timeout checks lib/alchemy: Fix/clarify documentation of *_timed functions regarding abs_timeout include/

[PATCH 4/4] lib/alchemy: Fix/clarify documentation of *_timed functions regarding abs_timeout

2021-10-12 Thread Jan Kiszka via Xenomai
From: Jan Kiszka abs_timeout is not provided in ticks but actually seconds/nanoseconds. Clarify this and remove the related wrong note from those functions headers. Signed-off-by: Jan Kiszka --- lib/alchemy/buffer.c | 28 ++-- lib/alchemy/cond.c | 14 +- l

[PATCH 1/4] lib/alchemy: Fix rt_pipe_read* with timeouts

2021-10-12 Thread Jan Kiszka via Xenomai
From: Jan Kiszka The underlying IPC driver takes relative timeouts, but rt_pipe_read_timed so far submitted absolute ones. This fixes this function and also adds a non-inline rt_pipe_read to avoid pointless conversions from relative to absolute and then to relative again. Reported-by: Mauro S.

[PATCH 3/4] lib/alchemy/testsuite: Extend pipe-1 test by timeout checks

2021-10-12 Thread Jan Kiszka via Xenomai
From: Jan Kiszka Validates all three rt_pipe_read functions /wrt non-blocking read as well as timeouts. Signed-off-by: Jan Kiszka --- lib/alchemy/testsuite/pipe-1.c | 33 + 1 file changed, 33 insertions(+) diff --git a/lib/alchemy/testsuite/pipe-1.c b/lib/alche

[PATCH] cobalt/sched: Save one cpumask stack variable in affinity_vfile_store

2021-10-12 Thread Jan Kiszka via Xenomai
From: Jan Kiszka This brings us below default CONFIG_FRAME_WARN with CONFIG_MAXSMP=y on x86, avoiding the related compile-time warning. Reported-by: Florian Bezdeka Signed-off-by: Jan Kiszka --- The first idea was to make the vars static, but the handler is actually not running under any loc