kdb
[Top] [All Lists]

Re: suggestion: kdb modules to be static.

To: Tigran Aivazian <tigran@xxxxxxxxxxx>
Subject: Re: suggestion: kdb modules to be static.
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>
Date: Thu, 21 Dec 2000 18:15:43 +1100
Cc: kdb@xxxxxxxxxxx
In-reply-to: Your message of "Mon, 18 Dec 2000 08:01:58 -0000." <Pine.LNX.4.21.0012180756180.1006-100000@penguin.homenet>
Sender: owner-kdb@xxxxxxxxxxx
On Mon, 18 Dec 2000 08:01:58 +0000 (GMT), 
Tigran Aivazian <tigran@xxxxxxxxxxx> wrote:
>How about changing things so that the kdbm_vm/kdbm_pg (and any future
>modules) be compiled statically into the kernel?

Sorry for the late reply, snowed under with Makefile changes.

The aim of kdb/modules is to debug specific areas of the kernel, it is
assumed that not everyone is interested in these areas.  As such it
would be wasteful to include every kdbm object in the kernel when the
majority of people are not interested.

Having a separate selection for each kdbm object would be messy.  Turn
on kdb and get multiple "do you want to debug this area of the kernel"
options, no thanks.  The choice is between

(1) Compile everything in.  kdb gets bigger and bigger, embedded people
    start complaining.

(2) Config option for every kdbm object.  Config option gets longer and
    longer.

(3) Make them modules.  Users who need these features can load the
    objects that they need.

kdb currently does (3), the less evil option.


<Prev in Thread] Current Thread [Next in Thread>