[<prev] [next>] [day] [month] [year] [list]
Message-ID: <39a3552f-cbaa-4e29-ac76-95684859787a@web.de>
Date: Mon, 22 Jul 2024 11:44:25 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: linux-perf-users@...r.kernel.org, kernel-janitors@...r.kernel.org,
Adrian Hunter <adrian.hunter@...el.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Athira Rajeev <atrajeev@...ux.vnet.ibm.com>, Ian Rogers
<irogers@...gle.com>, Ingo Molnar <mingo@...hat.com>,
James Clark <james.clark@...aro.org>, Jiri Olsa <jolsa@...nel.org>,
Kan Liang <kan.liang@...ux.intel.com>, Mark Rutland <mark.rutland@....com>,
Namhyung Kim <namhyung@...nel.org>, Peter Zijlstra <peterz@...radead.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [RFC] perf bench: Adjusting concerns around
asynchronous-signal-safety?
Hello,
The functions “gettimeofday” and “timersub” are called within the signal
handler “toggle_done” so far.
https://elixir.bootlin.com/linux/v6.10/source/tools/perf/bench/epoll-ctl.c#L90
Do such implementation details trigger any programming concerns according to
asynchronous-signal-safety?
https://wiki.sei.cmu.edu/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers
Regards,
Markus
Powered by blists - more mailing lists