Re: [PATCH] seqlock: mark raw_read_seqcount and read_seqcount_retry as __always_inline

2019-06-05 Thread Will Deacon
On Mon, Jun 03, 2019 at 11:10:08AM +0200, Anders Roxell wrote: > If CONFIG_FUNCTION_GRAPH_TRACER is enabled function sched_clock() in > kernel/time/sched_clock.c is marked as notrace. However, functions > raw_read_seqcount and read_seqcount_retry are marked as inline. If > CONFIG_OPTIMIZE_INLINING

[PATCH] seqlock: mark raw_read_seqcount and read_seqcount_retry as __always_inline

2019-06-03 Thread Anders Roxell
If CONFIG_FUNCTION_GRAPH_TRACER is enabled function sched_clock() in kernel/time/sched_clock.c is marked as notrace. However, functions raw_read_seqcount and read_seqcount_retry are marked as inline. If CONFIG_OPTIMIZE_INLINING is set that will make the two functions tracable which they shouldn't.