Re: [BUG?] false positive in soft lockup detector while unlzma initramfs on slow cpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 29 Jan 2013 10:33:48 -0500
> Don Zickus <dzickus@xxxxxxxxxx> 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-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux