[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260129224520.7f043338@robin>
Date: Thu, 29 Jan 2026 22:45:20 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Yaxiong Tian <tianyaxiong@...inos.cn>
Cc: Jens Axboe <axboe@...nel.dk>, mhiramat@...nel.org,
mathieu.desnoyers@...icios.com, corbet@....net, skhan@...uxfoundation.org,
linux-trace-kernel@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH v4 5/5] blktrace: Make init_blk_tracer() asynchronous
when trace_async_init set
On Thu, 29 Jan 2026 22:31:16 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
> I added the below patch and have this result:
>
> kworker/u33:1-79 [002] ..... 1.840855: trace_event_update_all: Start syncing
> swapper/0-1 [005] ..... 6.045742: trace_eval_sync: sync maps
> kworker/u33:1-79 [002] ..... 12.289296: trace_event_update_all: Finish syncing
> swapper/0-1 [005] ..... 12.289387: trace_eval_sync: sync maps complete
>
> Which shows that the final initcall waited for the work queue to complete:
Switching to printk() gives me the same results:
# dmesg |grep sync
[ 1.117856] Start syncing
[ 4.498360] sync maps
[ 11.173304] Finish syncing
[ 11.175660] sync maps complete
-- Steve
Powered by blists - more mailing lists