From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: "cobalt/vfile: seq_file seek index must progress"
Date: Fri, 21 May 2021 16:20:08 +0200 [thread overview]
Message-ID: <8735ugdv8n.fsf@xenomai.org> (raw)
In-Reply-To: <f31cf9eb-1bbe-f4ea-cf7e-ba10f3969236@siemens.com>
Jan Kiszka <jan.kiszka@siemens.com> writes:
> Hi Philippe,
>
> https://source.denx.de/Xenomai/xenomai/-/commit/dd9a5ee0ed6f734f40d3733f9fff23394c8647bd
>
> Bug fix unrelated to dovetail? There is no description, so I cannot
> easily asses this.
>
Yeah, not good. The idea is that the offset field we receive from the
kernel must progress in order for the loop to stop properly,
independently from our own tracking of the end-of-list condition.
AFAIR, this was very easily reproducible by running a test app creating
a few tenths of threads (10-20 would suffice) which would exit shortly
after, while running a cat loop on /proc/xenomai/sched/next. At some
point, the cat loop would cause the vfile handler to crash.
--
Philippe.
next prev parent reply other threads:[~2021-05-21 14:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 16:13 "cobalt/vfile: seq_file seek index must progress" Jan Kiszka
2021-05-21 9:48 ` Jan Kiszka
2021-05-21 14:20 ` Philippe Gerum [this message]
2021-05-21 14:39 ` Jan Kiszka
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=8735ugdv8n.fsf@xenomai.org \
--to=rpm@xenomai.org \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.