From: Cyril Hrubis <chrubis@suse.cz>
To: linuxtestproject.agent@gmail.com
Cc: ltp@lists.linux.it
Subject: Re: [LTP] syscalls: Add epoll_ctl07
Date: Wed, 15 Jul 2026 13:07:51 +0200 [thread overview]
Message-ID: <aldqB8mG2VkCkcEG@yuki.lan> (raw)
In-Reply-To: <20260715110223.4165-1-linuxtestproject.agent@gmail.com>
Hi!
> A fallback definition belongs in lapi/epoll.h:
>
> #ifndef EPOLLEXCLUSIVE
> #define EPOLLEXCLUSIVE (1u << 28)
> #endif
Indeed it fails to compile on older distros, I will add the fallback.
> > + if (round == NWAITERS)
> > + tst_res(TPASS, "each event woke exactly one waiter");
> > +
> > + SAFE_CLOSE(fds[0]);
> > + SAFE_CLOSE(fds[1]);
> > +}
>
> run() forks NWAITERS children but never calls tst_reap_children().
> Each child calls exit(0) after the checkpoint wake, so they are all
> finished by the time the loop exits, but the parent leaves them as
> zombies. The structurally identical epoll_wait15.c calls
> tst_reap_children() after its equivalent loop. Should tst_reap_children()
> be called here before or after the result is reported?
Children that exit(0) are autocollected by the test library.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-07-15 11:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 9:41 [LTP] [PATCH 0/5] Even more epoll tests Cyril Hrubis
2026-07-15 9:41 ` [LTP] [PATCH 1/5] syscalls: Add epoll_ctl07 Cyril Hrubis
2026-07-15 11:02 ` [LTP] " linuxtestproject.agent
2026-07-15 11:07 ` Cyril Hrubis [this message]
2026-07-15 9:41 ` [LTP] [PATCH 2/5] syscalls: Add epoll_wait13 Cyril Hrubis
2026-07-15 9:41 ` [LTP] [PATCH 3/5] syscalls: Add epoll_wait14 Cyril Hrubis
2026-07-15 9:41 ` [LTP] [PATCH 4/5] syscalls: Add epoll_wait15 Cyril Hrubis
2026-07-15 9:41 ` [LTP] [PATCH 5/5] syscalls/epoll_wait15: Add EPOLLEXCLUSIVE test Cyril Hrubis
2026-07-15 11:25 ` [LTP] [PATCH 0/5] Even more epoll tests Andrea Cervesato via ltp
2026-07-15 11:30 ` Cyril Hrubis
-- strict thread matches above, loose matches on Subject: below --
2026-07-15 12:36 [LTP] [PATCH v2 1/5] syscalls: Add epoll_ctl07 Cyril Hrubis
2026-07-15 12:59 ` [LTP] " linuxtestproject.agent
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=aldqB8mG2VkCkcEG@yuki.lan \
--to=chrubis@suse.cz \
--cc=linuxtestproject.agent@gmail.com \
--cc=ltp@lists.linux.it \
/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.