Re: [PATCH] kcsan: Use tracing-safe version of prandom

2020-08-26 Thread Paul E. McKenney
On Wed, Aug 26, 2020 at 02:17:57PM +0200, Marco Elver wrote: > On Fri, 21 Aug 2020 at 14:31, Marco Elver wrote: > > In the core runtime, we must minimize any calls to external library > > functions to avoid any kind of recursion. This can happen even though > > instrumentation is disabled for call

Re: [PATCH] kcsan: Use tracing-safe version of prandom

2020-08-26 Thread Marco Elver
On Fri, 21 Aug 2020 at 14:31, Marco Elver wrote: > In the core runtime, we must minimize any calls to external library > functions to avoid any kind of recursion. This can happen even though > instrumentation is disabled for called functions, but tracing is > enabled. > > Most recently, prandom_u3

[PATCH] kcsan: Use tracing-safe version of prandom

2020-08-21 Thread Marco Elver
In the core runtime, we must minimize any calls to external library functions to avoid any kind of recursion. This can happen even though instrumentation is disabled for called functions, but tracing is enabled. Most recently, prandom_u32() added a tracepoint, which can cause problems for KCSAN ev