svn commit: r287934 - head/sys/boot/efi/loader

Konstantin Belousov kostikbel at gmail.com
Mon Sep 21 23:04:56 UTC 2015


On Mon, Sep 21, 2015 at 03:31:11PM -0700, John Baldwin wrote:
> (I'm of the opinion we should inline atomics and locks, etc. in modules
> built as part of a kernel to match that kernel's config and only use shims
> for modules built standalone.  Most of this can probably be accomplished by
> having modules built as part of a kernel not define KLD_MODULE during their
> build but only use that for standalone modules.  However, I haven't audited
> all the uses of KLD_MODULE to see if we might want some of them to be on
> for "bundled" modules in which case we'd need to add a new #define that
> gets defined for "bundled" modules but not standalone modules (or gets
> defined for both?) and fixup the code appropriately.)
At least one use of KLD_MODULE outside the atomics and locks category is
the definition of MAKEDEV_ETERNAL_KLD in sys/conf.h.


More information about the svn-src-head mailing list