From nobody Sat Sep 17 23:55:18 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MVSVb0KP8z4cDKx; Sat, 17 Sep 2022 23:55:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MVSVZ6h5Qz4GQp; Sat, 17 Sep 2022 23:55:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663458918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+nAwea0hOy16oJm4uGmFtSbqtffDGEd6ZvnUHMVtisg=; b=lSn9kznJqPNype04yUeDrR/ZH4dWzAN8jaUNImM+yantCqviWAPjlb4LB+EI67QzskBE7a cH7JOcSPVxXDHFVsovXo19k4oYdN/snKodtpQt7cUJq+aG5b3hNWZU7lEhTWsreUJL8vby NYEbfu7iDqjjV9WDg8XJP62EdE0qqpioTz4CuHQTD8BJq58OkNU4HiTbbPFPSm8SuTzfDK ECnbmbXnf6YYB+F+wICSXCLJZeY6ojAKcVJRDhF/I/59PO2EejlqeOjI0smb/nLt4kMeSX 7vUYxLgxab6arouxroKxHcJuhs1TIMAwu00MW58JDx90U1nv2HT/o0XDb1MKtg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MVSVZ5kLXzrnN; Sat, 17 Sep 2022 23:55:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28HNtInd084149; Sat, 17 Sep 2022 23:55:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28HNtIKK084148; Sat, 17 Sep 2022 23:55:18 GMT (envelope-from git) Date: Sat, 17 Sep 2022 23:55:18 GMT Message-Id: <202209172355.28HNtIKK084148@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: c3707bd3d658 - main - linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3707bd3d658b7a085fde274fb404f61062f2d41 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663458918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+nAwea0hOy16oJm4uGmFtSbqtffDGEd6ZvnUHMVtisg=; b=AdDi8LWH195oBAkiD4X2GazgI3WricfG5dY6muYmLGr4XptEHcZYEz5XqWy8LSD2TW9vnt Qwo18tmsv7cMFOsrDGch9rKKw+Ku0byTBv+1ldT+tNRLj0vbh/bkZzw76kMlBuGwsE8+y7 9NFscSWJnKfhiWRtjQohAsfLVrM8CUXu8ARedoCGS5pdLy5Qi9mUVIQqhclBa2pLtPak55 CnPmFzhVa/+RqdvESqppbfQ/aexxgI7h8mq8Lb1YJXcxNEtT8TNDz344lQTFFmPbIaJDZE YvOrBkmcXq51wRqm0CJ9eDye1/7WLGduzt9o+xippAaYcktR5zvrup27cT1lQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663458918; a=rsa-sha256; cv=none; b=bJ+BgTM/mpdssQKYpWjeH2RnkkdZY19uS3pnTkYJonRnBABsCfWMtBZfldEomt214FV4D6 dJrMc06Bjb8Mw/PQYpWdZIC9tPnZiHPuQLqV8edAtU/K6OdxuE0eBCoihFpyUXMeSUvWBm ksDnaPMKm2zTekTMzIGaVOJUi8rIrZakc5hYRBe1fR8FDUN1d6L5WDElV/btv0JD3zKn+A 8A1JzEUTkPrKnUkm0VWZAj0vX0o/yzzvoipLMIZdfTsJXnrjjiCkT0SEwf+dCCReSfoaj+ Mb603T8ONfnRxo1GuA/AVZnQedey6IkDCFJ08rsIUWDtLsMRclMFGkIG8r8+0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=c3707bd3d658b7a085fde274fb404f61062f2d41 commit c3707bd3d658b7a085fde274fb404f61062f2d41 Author: Mateusz Guzik AuthorDate: 2022-09-17 23:41:46 +0000 Commit: Mateusz Guzik CommitDate: 2022-09-17 23:52:23 +0000 linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers Otherwise it may try to initialize before eventhandler subsystem. --- sys/compat/linuxkpi/common/src/linux_current.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/linuxkpi/common/src/linux_current.c b/sys/compat/linuxkpi/common/src/linux_current.c index bfebbcb81d90..e84b8bde2ada 100644 --- a/sys/compat/linuxkpi/common/src/linux_current.c +++ b/sys/compat/linuxkpi/common/src/linux_current.c @@ -307,7 +307,7 @@ linux_current_init(void *arg __unused) linuxkpi_thread_dtor, NULL, EVENTHANDLER_PRI_ANY); lkpi_alloc_current = linux_alloc_current; } -SYSINIT(linux_current, SI_SUB_EVENTHANDLER, SI_ORDER_SECOND, +SYSINIT(linux_current, SI_SUB_EVENTHANDLER + 1, SI_ORDER_SECOND, linux_current_init, NULL); static void @@ -341,5 +341,5 @@ linux_current_uninit(void *arg __unused) uma_zdestroy(linux_current_zone); uma_zdestroy(linux_mm_zone); } -SYSUNINIT(linux_current, SI_SUB_EVENTHANDLER, SI_ORDER_SECOND, +SYSUNINIT(linux_current, SI_SUB_EVENTHANDLER + 1, SI_ORDER_SECOND, linux_current_uninit, NULL);