From: Michael Tokarev <mjt@tls.msk.ru>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: sam@ravnborg.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: kbuild: install to a single directory
Date: Mon, 19 Jan 2009 00:24:18 +0300 [thread overview]
Message-ID: <49739E02.9060400@msgid.tls.msk.ru> (raw)
In-Reply-To: <alpine.LSU.2.00.0901172055100.15992@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> Hi,
>
> This proposed change will collect all kernel modules in the
> single directory, e.g. /lib/modules/2.6.29-rc2/kernel/, without
> any further directory structure. About 475 inodes (with
> almost-allmodconfig) less are used, which should result
> in faster directory traversal (less seeks).
While I agree that current deep-n-wide directory structure is
not very useful.. It still helps in many situations. For
example, I sometimes need to remember which module name this
particular scsi or network or [s]ata controller needs, and
looking at /lib/modules/$foo/kernel/driver/scsi is usually
sufficient since there isn't many of them in there. Or,
see (old, compat) -t option to modprobe(8).
In the other words, if to change anything at all, something
in-between is needed instead. No current deep-n-wide often
single-driver-in-directory structure, and not everything in
one place either.
Maybe add a make variable to tell kbuild to use specified
directory to install modules in this dir to, or to specify
that "this module should go to the parent dir" (eliminates
many driver-in-a-dir cases).
/mjt
next prev parent reply other threads:[~2009-01-18 21:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-18 21:17 kbuild: install to a single directory Jan Engelhardt
2009-01-18 21:24 ` Michael Tokarev [this message]
2009-01-19 1:24 ` Sam Ravnborg
2009-01-19 11:17 ` Alan Cox
2009-01-19 12:18 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49739E02.9060400@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=jengelh@medozas.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox