[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110518230918.5c03ba68.billfink@mindspring.com>
Date: Wed, 18 May 2011 23:09:18 -0400
From: Bill Fink <billfink@...dspring.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Decotigny <decot@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
Joe Perches <joe@...ches.com>,
Szymon Janc <szymon@...c.net.pl>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-net-upstream@...gle.com
Subject: Re: [PATCH 1/2] forcedeth: make module parameters readable in
/sys/module
On Wed, 18 May 2011, Stephen Hemminger wrote:
> On Wed, 18 May 2011 14:09:59 -0700
> David Decotigny <decot@...gle.com> wrote:
>
> > This change allows to publish the values of the module parameters in
> > /sys/module.
>
> Although this makes more info for developer, it also means more
> stuff in sysfs taking more memory and not providing any real value
> that can't be found by looking at the /etc/modprobe.d for any parameters
> user might have set.
As a user, I find having the module parameter info in
/sys/module/driver/parameters/* extremely useful at times.
In tracking down weird problems I can for example do:
grep . /sys/module/driver/parameters/*
to get a snapshot of module parameters. I can then compare
this with other similar systems to see if there are any
differences of note that might be significant (anything
from differences due to kernel versions to just forgetting
some change I made).
I don't see that it's really much extra significant overhead
on the system either.
-Bill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists