Re: git: c3707bd3d658 - main - linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Thu, 06 Aug 2026 05:40:08 UTC
  Mateusz,

working on -Werror=assign-enum compilation stumbled on this change:

On Sat, Sep 17, 2022 at 11:55:18PM +0000, Mateusz Guzik wrote:
M> The branch main has been updated by mjg:
M> 
M> URL: https://cgit.FreeBSD.org/src/commit/?id=c3707bd3d658b7a085fde274fb404f61062f2d41
M> 
M> commit c3707bd3d658b7a085fde274fb404f61062f2d41
M> Author:     Mateusz Guzik <mjg@FreeBSD.org>
M> AuthorDate: 2022-09-17 23:41:46 +0000
M> Commit:     Mateusz Guzik <mjg@FreeBSD.org>
M> CommitDate: 2022-09-17 23:52:23 +0000
M> 
M>     linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers
M>     
M>     Otherwise it may try to initialize before eventhandler subsystem.

What was the motivation back then? Did you actually observe the problem?
If so, it is a bug inside SYSINIT(9) that needs to be fixed.

-- 
Gleb Smirnoff