In message: <20020915203835.GA3497@gallium>
            Dominic Marks <[EMAIL PROTECTED]> writes:
: disadvantages:
:  some drivers need to be able to allocate a large chunk of contiguous
:  memory to operate correctly, this means some drivers cant work when not
:  compiled in to the kernel (because they dont get their request for a
:  block of memory in early enough).

this is false.  If you load the module from the boot loader there is
no difference between that and having it be actually compiled into the
kernel in terms of resource allocation.

However, this is true if you intend to load the drivers at some time
later than boot.

: I was thinking about this recently,
:  perhaps if the kernel allocated a chunk of memory early on in the boot
:  process (amount configurable via sysctl) then this could be chopped up
:  and handed to modules specifically, there is probably a good reason why
:  this isnt possible (?) which has not occured to me, because it seems like
:  the common sense solution.

Actually, this issues get gross in a hurry, which is why no one has
done it. :-(

I have very few drivers actually compiled into my kernel on my
laptop.  I run everything else via loadable drivers.  This works
mostly well, although sometimes I hit the driver issue that you
alluded to above when I load them at run time.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to