[lkml]   [2011]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [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 <> 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.


     \ /
      Last update: 2011-05-19 05:11    [W:0.019 / U:10.524 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site