Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2008 16:47:30 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_module.c
Message-ID:  <200812051647.mB5GlajU011041@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2008-12-05 16:47:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_module.c 
  Log:
  SVN rev 185642 on 2008-12-05 16:47:30Z by jhb
  
  When the SYSINIT() to load a module invokes the MOD_LOAD event successfully,
  move that module to the head of the associated linker file's list of modules.
  The end result is that once all the modules are loaded, they are sorted in
  the reverse of their load order.  This causes the kernel linker to invoke
  the MOD_QUIESCE and MOD_UNLOAD events in the reverse of the order that
  MOD_LOAD was invoked.  This means that the ordering of MOD_LOAD events that
  is set by the SI_* paramters to DECLARE_MODULE() are now honored in the same
  order they would be for SYSUNINIT() for the MOD_QUIESCE and MOD_UNLOAD
  events.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.57      +15 -0     src/sys/kern/kern_module.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812051647.mB5GlajU011041>