On Thu, 29 Jan 2026 22:31:16 -0500
Steven Rostedt <[email protected]> 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

Reply via email to