[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130131111823.GA4587@gmail.com>
Date: Thu, 31 Jan 2013 12:18:23 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Don Zickus <dzickus@...hat.com>, Mike Lykov <combr@...dex.ru>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, linux-watchdog@...r.kernel.org,
kirill@...temov.name
Subject: Re: [BUG?] false positive in soft lockup detector while unlzma
initramfs on slow cpu
* Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Tue, 29 Jan 2013 10:33:48 -0500
> Don Zickus <dzickus@...hat.com> wrote:
>
> > --- a/kernel/watchdog.c
> > +++ b/kernel/watchdog.c
> > @@ -79,6 +79,14 @@ static int __init softlockup_panic_setup(char *str)
> > }
> > __setup("softlockup_panic=", softlockup_panic_setup);
> >
> > +static int __init watchdog_thresh_setup(char *str)
> > +{
> > + watchdog_thresh = simple_strtoul(str, NULL, 0);
> > +
> > + return 1;
> > +}
> > +__setup("watchdog_thresh=", watchdog_thresh_setup);
>
> I wonder if there's some magical way in which we can set any
> sysctl from the kernel command line. Add
> sys.vm.min_free_kbytes=42 to the command line, walk the
> hierarchy late in boot...
A facility like that would be totally awesome - we could remove
a lot of duplicated and outright inconsistent (often missing)
__setup() hackery that way.
Single source of information and all that.
Thanks,
Ingo
--
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