From: Wim Van Sebroeck <wim@iguana.be>
To: Jean Delvare <jdelvare@suse.de>
Cc: linux-watchdog@vger.kernel.org,
Stephen Warren <swarren@wwwdotorg.org>,
Mike Frysinger <vapier.adi@gmail.com>,
Wan ZongShun <mcuos.com@gmail.com>,
Ben Dooks <ben-linux@fluff.org>,
Kukjin Kim <kgene.kim@samsung.com>,
Zwane Mwaikambo <zwane@arm.linux.org.uk>,
Jim Cromie <jim.cromie@gmail.com>,
Guenter Roeck <linux@roeck-us.net>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] watchdog: Get rid of MODULE_ALIAS_MISCDEV statements
Date: Tue, 29 Oct 2013 08:54:42 +0100 [thread overview]
Message-ID: <20131029075442.GH19704@spo001.leaseweb.com> (raw)
In-Reply-To: <20131021173849.2d8be882@endymion.delvare>
Hi Jean,
> I just can't find any value in MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR)
> and MODULE_ALIAS_MISCDEV(TEMP_MINOR) statements.
>
> Either the device is enumerated and the driver already has a module
> alias (e.g. PCI, USB etc.) that will get the right driver loaded
> automatically.
>
> Or the device is not enumerated and loading its driver will lead to
> more or less intrusive hardware poking. Such hardware poking should be
> limited to a bare minimum, so the user should really decide which
> drivers should be tried and in what order. Trying them all in
> arbitrary order can't do any good.
>
> On top of that, loading that many drivers at once bloats the kernel
> log. Also many drivers will stay loaded afterward, bloating the output
> of "lsmod" and wasting memory. Some modules (cs5535_mfgpt which gets
> loaded as a dependency) can't even be unloaded!
>
> If defining char-major-10-130 is needed then it should happen in
> user-space.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Wim Van Sebroeck <wim@iguana.be>
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Mike Frysinger <vapier.adi@gmail.com>
> Cc: Wan ZongShun <mcuos.com@gmail.com>
> Cc: Ben Dooks <ben-linux@fluff.org>
> Cc: Kukjin Kim <kgene.kim@samsung.com>
> Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>
> Cc: Jim Cromie <jim.cromie@gmail.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
This patch has been added to linux-watchdog-next.
I also added the removal part for the new rt2880_wdt.c driver to it.
Kind regards,
Wim.
prev parent reply other threads:[~2013-10-29 7:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 15:38 Jean Delvare
2013-10-21 19:06 ` Guenter Roeck
2013-10-29 7:54 ` Wim Van Sebroeck [this message]
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=20131029075442.GH19704@spo001.leaseweb.com \
--to=wim@iguana.be \
--cc=ben-linux@fluff.org \
--cc=jdelvare@suse.de \
--cc=jim.cromie@gmail.com \
--cc=kgene.kim@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mcuos.com@gmail.com \
--cc=swarren@wwwdotorg.org \
--cc=vapier.adi@gmail.com \
--cc=zwane@arm.linux.org.uk \
/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
all inboxes | Powered by JetHome®