[RFC] shipping kernels with default modules?

K. Macy kmacy at freebsd.org
Sat Jun 11 23:51:02 UTC 2011


>> Although I imagine that many drivers silently benefit from being
>> loaded serially, to the best of my knowledge there is nothing
>> architecturally requiring this apart from the fact that the scheduler
>> isn't started until everything else tied to initialization happens.
>> The absence of any sort of preemption was a bit of a thorn in my side
>> back when I was working on "xenbus", as the linux implementation
>> relies on the use of multiple thread contexts. I don't know how much
>> effort to date has been put in to making boot fast.
>
> Right now newbus uses Giant for all its locking.  That's the biggest problem preventing parallel probe/attach.  Also, each and every bus calls probe, then calls attach for each device in sequence.  Fixing that would require changing all the bus drivers.


Fair enough. That would only be worthwhile in the presence of a
coordinated push to shorten boot / reset times.

Thanks


More information about the freebsd-arch mailing list